docs.go 558 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessJsEx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryBusinessKx": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "description": "用户ID",
  968. "name": "UserId",
  969. "in": "query",
  970. "required": true
  971. },
  972. {
  973. "type": "string",
  974. "description": "现货合同ID, 不填则查所有",
  975. "name": "relatedid",
  976. "in": "query"
  977. }
  978. ],
  979. "responses": {
  980. "200": {
  981. "description": "OK",
  982. "schema": {
  983. "type": "array",
  984. "items": {
  985. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  986. }
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryChangeLog": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询变更记录",
  1012. "parameters": [
  1013. {
  1014. "type": "string",
  1015. "description": "用户ID",
  1016. "name": "RelatedId",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryContract": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询合同(采购和销售)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userId",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "合同类型 1-采购, -1-销售",
  1065. "name": "contracttype",
  1066. "in": "query",
  1067. "required": true
  1068. },
  1069. {
  1070. "type": "integer",
  1071. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1072. "name": "querytype",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryExposureDetail": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询敞口现货明细",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "所属机构ID",
  1114. "name": "areaUserId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "integer",
  1120. "description": "套保商品",
  1121. "name": "middleGoodsId",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryExposureHedgePosition": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "areaUserId",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QueryExposureHedgePositionDetail": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "所属机构ID",
  1205. "name": "areaUserId",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "商品id",
  1212. "name": "goodsId",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryExposureSpot": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构ID",
  1254. "name": "areaUserId",
  1255. "in": "query",
  1256. "required": true
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryExposureSpotDetail": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "所属机构ID",
  1296. "name": "areaUserId",
  1297. "in": "query",
  1298. "required": true
  1299. },
  1300. {
  1301. "type": "integer",
  1302. "description": "现货品种ID",
  1303. "name": "wrstandardId",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Ermcp/QueryGGConvertConfig": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "企业风险管理(app)"
  1339. ],
  1340. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "品种id(不填则查所有)",
  1345. "name": "goodsgroupid",
  1346. "in": "query"
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "type": "array",
  1354. "items": {
  1355. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1356. }
  1357. }
  1358. },
  1359. "500": {
  1360. "description": "Internal Server Error",
  1361. "schema": {
  1362. "$ref": "#/definitions/app.Response"
  1363. }
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "/Ermcp/QueryHedgePlan": {
  1369. "get": {
  1370. "security": [
  1371. {
  1372. "ApiKeyAuth": []
  1373. }
  1374. ],
  1375. "produces": [
  1376. "application/json"
  1377. ],
  1378. "tags": [
  1379. "企业风险管理(app)"
  1380. ],
  1381. "summary": "查询套保计划",
  1382. "parameters": [
  1383. {
  1384. "type": "integer",
  1385. "description": "用户ID",
  1386. "name": "userId",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "string",
  1392. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1393. "name": "HedgePlanStatus",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "OK",
  1401. "schema": {
  1402. "type": "array",
  1403. "items": {
  1404. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QueryHisExposure": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "企业风险管理(app)"
  1429. ],
  1430. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1431. "parameters": [
  1432. {
  1433. "type": "integer",
  1434. "description": "所属机构ID",
  1435. "name": "areaUserId",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "最近多少条记录, -1:为查全部",
  1442. "name": "lastNum",
  1443. "in": "query",
  1444. "required": true
  1445. }
  1446. ],
  1447. "responses": {
  1448. "200": {
  1449. "description": "OK",
  1450. "schema": {
  1451. "type": "array",
  1452. "items": {
  1453. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1454. }
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "Internal Server Error",
  1459. "schema": {
  1460. "$ref": "#/definitions/app.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/Ermcp/QueryMiddleGoods": {
  1467. "get": {
  1468. "security": [
  1469. {
  1470. "ApiKeyAuth": []
  1471. }
  1472. ],
  1473. "produces": [
  1474. "application/json"
  1475. ],
  1476. "tags": [
  1477. "企业风险管理(app)"
  1478. ],
  1479. "summary": "查询套保品种(菜单:套保品种)",
  1480. "parameters": [
  1481. {
  1482. "type": "integer",
  1483. "description": "所属机构ID",
  1484. "name": "userid",
  1485. "in": "query",
  1486. "required": true
  1487. },
  1488. {
  1489. "type": "integer",
  1490. "description": "状态 0-停用 1-正常",
  1491. "name": "status",
  1492. "in": "query",
  1493. "required": true
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "type": "array",
  1501. "items": {
  1502. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1516. "get": {
  1517. "security": [
  1518. {
  1519. "ApiKeyAuth": []
  1520. }
  1521. ],
  1522. "produces": [
  1523. "application/json"
  1524. ],
  1525. "tags": [
  1526. "企业风险管理(app)"
  1527. ],
  1528. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1529. "parameters": [
  1530. {
  1531. "type": "integer",
  1532. "description": "所属机构ID",
  1533. "name": "userid",
  1534. "in": "query",
  1535. "required": true
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "套保品种id",
  1540. "name": "middlegoodsid",
  1541. "in": "query",
  1542. "required": true
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryMiddleGoodsDetail": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "所属机构ID",
  1582. "name": "userid",
  1583. "in": "query",
  1584. "required": true
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "套保品种id",
  1589. "name": "middlegoodsid",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Ermcp/QueryRealtimeExposure": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "企业风险管理(app)"
  1625. ],
  1626. "summary": "查询实时敞口",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "所属机构ID",
  1631. "name": "AreaUserID",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryRealtimeExposurePosition": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "所属机构ID",
  1673. "name": "areaUserId",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "套保商品ID",
  1680. "name": "middleGoodsId",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "type": "array",
  1690. "items": {
  1691. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1692. }
  1693. }
  1694. },
  1695. "500": {
  1696. "description": "Internal Server Error",
  1697. "schema": {
  1698. "$ref": "#/definitions/app.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/Ermcp/QuerySpotContract": {
  1705. "get": {
  1706. "security": [
  1707. {
  1708. "ApiKeyAuth": []
  1709. }
  1710. ],
  1711. "produces": [
  1712. "application/json"
  1713. ],
  1714. "tags": [
  1715. "企业风险管理(app)"
  1716. ],
  1717. "summary": "查询现货合同(对应现货合同菜单)",
  1718. "parameters": [
  1719. {
  1720. "type": "integer",
  1721. "description": "用户ID",
  1722. "name": "userId",
  1723. "in": "query",
  1724. "required": true
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1729. "name": "QueryType",
  1730. "in": "query",
  1731. "required": true
  1732. }
  1733. ],
  1734. "responses": {
  1735. "200": {
  1736. "description": "OK",
  1737. "schema": {
  1738. "type": "array",
  1739. "items": {
  1740. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1741. }
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/app.Response"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/Ermcp/QueryUserInfo": {
  1754. "get": {
  1755. "security": [
  1756. {
  1757. "ApiKeyAuth": []
  1758. }
  1759. ],
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "查询客户资料",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "所属机构用户ID",
  1771. "name": "MemberUserID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1778. "name": "queryType",
  1779. "in": "query",
  1780. "required": true
  1781. }
  1782. ],
  1783. "responses": {
  1784. "200": {
  1785. "description": "OK",
  1786. "schema": {
  1787. "type": "array",
  1788. "items": {
  1789. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1790. }
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryWrStandard": {
  1803. "get": {
  1804. "security": [
  1805. {
  1806. "ApiKeyAuth": []
  1807. }
  1808. ],
  1809. "produces": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "企业风险管理(app)"
  1814. ],
  1815. "summary": "查询现货商品",
  1816. "parameters": [
  1817. {
  1818. "type": "integer",
  1819. "description": "所属机构ID",
  1820. "name": "userid",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "状态 0-停用 1-正常",
  1827. "name": "status",
  1828. "in": "query",
  1829. "required": true
  1830. }
  1831. ],
  1832. "responses": {
  1833. "200": {
  1834. "description": "OK",
  1835. "schema": {
  1836. "type": "array",
  1837. "items": {
  1838. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1839. }
  1840. }
  1841. },
  1842. "500": {
  1843. "description": "Internal Server Error",
  1844. "schema": {
  1845. "$ref": "#/definitions/app.Response"
  1846. }
  1847. }
  1848. }
  1849. }
  1850. },
  1851. "/Ermcp/QueryWrStandardDetail": {
  1852. "get": {
  1853. "security": [
  1854. {
  1855. "ApiKeyAuth": []
  1856. }
  1857. ],
  1858. "produces": [
  1859. "application/json"
  1860. ],
  1861. "tags": [
  1862. "企业风险管理(app)"
  1863. ],
  1864. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1865. "parameters": [
  1866. {
  1867. "type": "integer",
  1868. "description": "所属机构ID",
  1869. "name": "userid",
  1870. "in": "query",
  1871. "required": true
  1872. },
  1873. {
  1874. "type": "integer",
  1875. "description": "现货商品ID",
  1876. "name": "wrstandardid",
  1877. "in": "query",
  1878. "required": true
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "type": "array",
  1886. "items": {
  1887. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1888. }
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Erms2/QueryArbitrageStrategy": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "风险管理"
  1912. ],
  1913. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "账户ID",
  1918. "name": "userid",
  1919. "in": "query",
  1920. "required": true
  1921. },
  1922. {
  1923. "type": "string",
  1924. "description": "商品组ID(品种ID)",
  1925. "name": "goodsgroupid",
  1926. "in": "query"
  1927. }
  1928. ],
  1929. "responses": {
  1930. "200": {
  1931. "description": "OK",
  1932. "schema": {
  1933. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1934. }
  1935. },
  1936. "500": {
  1937. "description": "Internal Server Error",
  1938. "schema": {
  1939. "$ref": "#/definitions/app.Response"
  1940. }
  1941. }
  1942. }
  1943. }
  1944. },
  1945. "/Erms2/QueryInnerTradeDetail": {
  1946. "get": {
  1947. "security": [
  1948. {
  1949. "ApiKeyAuth": []
  1950. }
  1951. ],
  1952. "produces": [
  1953. "application/json"
  1954. ],
  1955. "tags": [
  1956. "风险管理"
  1957. ],
  1958. "summary": "查询内部成交单信息",
  1959. "parameters": [
  1960. {
  1961. "type": "integer",
  1962. "description": "资金账户",
  1963. "name": "accountid",
  1964. "in": "query",
  1965. "required": true
  1966. }
  1967. ],
  1968. "responses": {
  1969. "200": {
  1970. "description": "OK",
  1971. "schema": {
  1972. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1973. }
  1974. },
  1975. "500": {
  1976. "description": "Internal Server Error",
  1977. "schema": {
  1978. "$ref": "#/definitions/app.Response"
  1979. }
  1980. }
  1981. }
  1982. }
  1983. },
  1984. "/Erms2/QuerySpotContract": {
  1985. "get": {
  1986. "security": [
  1987. {
  1988. "ApiKeyAuth": []
  1989. }
  1990. ],
  1991. "produces": [
  1992. "application/json"
  1993. ],
  1994. "tags": [
  1995. "风险管理"
  1996. ],
  1997. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1998. "parameters": [
  1999. {
  2000. "type": "integer",
  2001. "description": "策略申请ID",
  2002. "name": "asapplyid",
  2003. "in": "query",
  2004. "required": true
  2005. },
  2006. {
  2007. "type": "integer",
  2008. "description": "现货合同ID",
  2009. "name": "spotcontractid",
  2010. "in": "query"
  2011. }
  2012. ],
  2013. "responses": {
  2014. "200": {
  2015. "description": "OK",
  2016. "schema": {
  2017. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "Internal Server Error",
  2022. "schema": {
  2023. "$ref": "#/definitions/app.Response"
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "/Erms3/AddErms2ASApply": {
  2030. "post": {
  2031. "security": [
  2032. {
  2033. "ApiKeyAuth": []
  2034. }
  2035. ],
  2036. "produces": [
  2037. "application/json"
  2038. ],
  2039. "tags": [
  2040. "风险管理v3"
  2041. ],
  2042. "summary": "新增期现套利业务申请",
  2043. "parameters": [
  2044. {
  2045. "description": "申请参数",
  2046. "name": "jsonBody",
  2047. "in": "body",
  2048. "required": true,
  2049. "schema": {
  2050. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2051. }
  2052. }
  2053. ],
  2054. "responses": {
  2055. "200": {
  2056. "description": "OK",
  2057. "schema": {
  2058. "$ref": "#/definitions/app.Response"
  2059. }
  2060. },
  2061. "500": {
  2062. "description": "Internal Server Error",
  2063. "schema": {
  2064. "$ref": "#/definitions/app.Response"
  2065. }
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "/Erms3/AddErms2SpotTradeApply": {
  2071. "post": {
  2072. "security": [
  2073. {
  2074. "ApiKeyAuth": []
  2075. }
  2076. ],
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "风险管理v3"
  2082. ],
  2083. "summary": "新增现货贸易业务申请",
  2084. "parameters": [
  2085. {
  2086. "description": "申请参数",
  2087. "name": "jsonBody",
  2088. "in": "body",
  2089. "required": true,
  2090. "schema": {
  2091. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2092. }
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "OK",
  2098. "schema": {
  2099. "$ref": "#/definitions/app.Response"
  2100. }
  2101. },
  2102. "500": {
  2103. "description": "Internal Server Error",
  2104. "schema": {
  2105. "$ref": "#/definitions/app.Response"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. },
  2111. "/Erms3/AddSpotContractApply": {
  2112. "post": {
  2113. "security": [
  2114. {
  2115. "ApiKeyAuth": []
  2116. }
  2117. ],
  2118. "produces": [
  2119. "application/json"
  2120. ],
  2121. "tags": [
  2122. "风险管理v3"
  2123. ],
  2124. "summary": "新增现货合同申请",
  2125. "parameters": [
  2126. {
  2127. "description": "申请参数",
  2128. "name": "jsonBody",
  2129. "in": "body",
  2130. "required": true,
  2131. "schema": {
  2132. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2133. }
  2134. }
  2135. ],
  2136. "responses": {
  2137. "200": {
  2138. "description": "OK",
  2139. "schema": {
  2140. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2141. }
  2142. },
  2143. "500": {
  2144. "description": "Internal Server Error",
  2145. "schema": {
  2146. "$ref": "#/definitions/app.Response"
  2147. }
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "/Erms3/AddUserInfoApply": {
  2153. "post": {
  2154. "security": [
  2155. {
  2156. "ApiKeyAuth": []
  2157. }
  2158. ],
  2159. "produces": [
  2160. "application/json"
  2161. ],
  2162. "tags": [
  2163. "风险管理v3"
  2164. ],
  2165. "summary": "新增客户申请",
  2166. "parameters": [
  2167. {
  2168. "description": "用户信息",
  2169. "name": "jsonBody",
  2170. "in": "body",
  2171. "required": true,
  2172. "schema": {
  2173. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2174. }
  2175. }
  2176. ],
  2177. "responses": {
  2178. "200": {
  2179. "description": "OK",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. },
  2184. "500": {
  2185. "description": "Internal Server Error",
  2186. "schema": {
  2187. "$ref": "#/definitions/app.Response"
  2188. }
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "/Erms3/ModifyUserInfoApply": {
  2194. "post": {
  2195. "security": [
  2196. {
  2197. "ApiKeyAuth": []
  2198. }
  2199. ],
  2200. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2201. "produces": [
  2202. "application/json"
  2203. ],
  2204. "tags": [
  2205. "风险管理v3"
  2206. ],
  2207. "summary": "修改客户申请",
  2208. "parameters": [
  2209. {
  2210. "description": "用户信息",
  2211. "name": "jsonBody",
  2212. "in": "body",
  2213. "required": true,
  2214. "schema": {
  2215. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2216. }
  2217. }
  2218. ],
  2219. "responses": {
  2220. "200": {
  2221. "description": "OK",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. },
  2226. "500": {
  2227. "description": "Internal Server Error",
  2228. "schema": {
  2229. "$ref": "#/definitions/app.Response"
  2230. }
  2231. }
  2232. }
  2233. }
  2234. },
  2235. "/Erms3/QueryBusinessInfo": {
  2236. "get": {
  2237. "security": [
  2238. {
  2239. "ApiKeyAuth": []
  2240. }
  2241. ],
  2242. "produces": [
  2243. "application/json"
  2244. ],
  2245. "tags": [
  2246. "风险管理v3"
  2247. ],
  2248. "summary": "查询业务表单数据",
  2249. "parameters": [
  2250. {
  2251. "type": "string",
  2252. "description": "资金账号ID列表,用逗号分隔",
  2253. "name": "accountids",
  2254. "in": "query",
  2255. "required": true
  2256. },
  2257. {
  2258. "type": "integer",
  2259. "description": "状态,0为未结束 1为已结束",
  2260. "name": "status",
  2261. "in": "query",
  2262. "required": true
  2263. }
  2264. ],
  2265. "responses": {
  2266. "200": {
  2267. "description": "OK",
  2268. "schema": {
  2269. "type": "array",
  2270. "items": {
  2271. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2272. }
  2273. }
  2274. },
  2275. "500": {
  2276. "description": "Internal Server Error",
  2277. "schema": {
  2278. "$ref": "#/definitions/app.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/Erms3/QueryPendingAuditContract": {
  2285. "get": {
  2286. "security": [
  2287. {
  2288. "ApiKeyAuth": []
  2289. }
  2290. ],
  2291. "produces": [
  2292. "application/json"
  2293. ],
  2294. "tags": [
  2295. "风险管理v3"
  2296. ],
  2297. "summary": "查询待审核合同",
  2298. "parameters": [
  2299. {
  2300. "type": "string",
  2301. "description": "资金账号ID列表,逗号隔开",
  2302. "name": "accountids",
  2303. "in": "query",
  2304. "required": true
  2305. },
  2306. {
  2307. "type": "integer",
  2308. "description": "合同类型 1-采购 -1-销售",
  2309. "name": "contracttype",
  2310. "in": "query",
  2311. "required": true
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "合同模式 1-普通 2-回购",
  2316. "name": "contractmode",
  2317. "in": "query",
  2318. "required": true
  2319. }
  2320. ],
  2321. "responses": {
  2322. "200": {
  2323. "description": "OK",
  2324. "schema": {
  2325. "type": "array",
  2326. "items": {
  2327. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2328. }
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/Erms3/QueryPendingBusiness": {
  2341. "get": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "produces": [
  2348. "application/json"
  2349. ],
  2350. "tags": [
  2351. "风险管理v3"
  2352. ],
  2353. "summary": "查询待审核基差贸易业务",
  2354. "parameters": [
  2355. {
  2356. "type": "string",
  2357. "description": "资金账号ID列表,逗号隔开",
  2358. "name": "accountids",
  2359. "in": "query",
  2360. "required": true
  2361. }
  2362. ],
  2363. "responses": {
  2364. "200": {
  2365. "description": "OK",
  2366. "schema": {
  2367. "type": "array",
  2368. "items": {
  2369. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2370. }
  2371. }
  2372. },
  2373. "500": {
  2374. "description": "Internal Server Error",
  2375. "schema": {
  2376. "$ref": "#/definitions/app.Response"
  2377. }
  2378. }
  2379. }
  2380. }
  2381. },
  2382. "/Erms3/QuerySpotContractAppleForm": {
  2383. "get": {
  2384. "security": [
  2385. {
  2386. "ApiKeyAuth": []
  2387. }
  2388. ],
  2389. "produces": [
  2390. "application/json"
  2391. ],
  2392. "tags": [
  2393. "风险管理v3"
  2394. ],
  2395. "summary": "查询合同申请表单数据",
  2396. "parameters": [
  2397. {
  2398. "type": "integer",
  2399. "description": "登录账号",
  2400. "name": "loginID",
  2401. "in": "query",
  2402. "required": true
  2403. }
  2404. ],
  2405. "responses": {
  2406. "200": {
  2407. "description": "OK",
  2408. "schema": {
  2409. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/Erms3/QuerySpotContractDetail": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "produces": [
  2429. "application/json"
  2430. ],
  2431. "tags": [
  2432. "风险管理v3"
  2433. ],
  2434. "summary": "查询合同详细信息",
  2435. "parameters": [
  2436. {
  2437. "type": "string",
  2438. "description": "资金账号ID列表,用逗号分隔",
  2439. "name": "accountids",
  2440. "in": "query",
  2441. "required": true
  2442. },
  2443. {
  2444. "type": "integer",
  2445. "description": "合同类型,1为采购合同 -1为销售合同",
  2446. "name": "contracttype",
  2447. "in": "query",
  2448. "required": true
  2449. },
  2450. {
  2451. "type": "integer",
  2452. "description": "合同模式,1为普通合同 2为回购销售合同",
  2453. "name": "contractmode",
  2454. "in": "query",
  2455. "required": true
  2456. },
  2457. {
  2458. "type": "integer",
  2459. "description": "状态,0为履约中 1为已完成",
  2460. "name": "status",
  2461. "in": "query",
  2462. "required": true
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Erms3/QueryUserInfoApplies": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "风险管理v3"
  2496. ],
  2497. "summary": "客户申请信息查询",
  2498. "parameters": [
  2499. {
  2500. "type": "integer",
  2501. "description": "页码",
  2502. "name": "page",
  2503. "in": "query"
  2504. },
  2505. {
  2506. "type": "integer",
  2507. "description": "每页条数",
  2508. "name": "pagesize",
  2509. "in": "query"
  2510. },
  2511. {
  2512. "type": "string",
  2513. "description": "客户名称,支持模糊查询",
  2514. "name": "userName",
  2515. "in": "query"
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/Erms3/QueryUserInfos": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "风险管理v3"
  2546. ],
  2547. "summary": "客户信息查询",
  2548. "parameters": [
  2549. {
  2550. "type": "integer",
  2551. "description": "页码",
  2552. "name": "page",
  2553. "in": "query"
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每页条数",
  2558. "name": "pagesize",
  2559. "in": "query"
  2560. },
  2561. {
  2562. "type": "string",
  2563. "description": "客户名称,支持模糊查询",
  2564. "name": "userName",
  2565. "in": "query"
  2566. }
  2567. ],
  2568. "responses": {
  2569. "200": {
  2570. "description": "OK",
  2571. "schema": {
  2572. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2573. }
  2574. },
  2575. "500": {
  2576. "description": "Internal Server Error",
  2577. "schema": {
  2578. "$ref": "#/definitions/app.Response"
  2579. }
  2580. }
  2581. }
  2582. }
  2583. },
  2584. "/HSBY/GetHsbyMyCount": {
  2585. "get": {
  2586. "security": [
  2587. {
  2588. "ApiKeyAuth": []
  2589. }
  2590. ],
  2591. "description": "说明: 不包括已完成的数量。",
  2592. "produces": [
  2593. "application/json"
  2594. ],
  2595. "tags": [
  2596. "定制【海商报业】"
  2597. ],
  2598. "summary": "获取我的订单与包裹数量",
  2599. "parameters": [
  2600. {
  2601. "type": "string",
  2602. "description": "资金账户列表,格式:1,2,3",
  2603. "name": "accountIDs",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2613. }
  2614. },
  2615. "500": {
  2616. "description": "Internal Server Error",
  2617. "schema": {
  2618. "$ref": "#/definitions/app.Response"
  2619. }
  2620. }
  2621. }
  2622. }
  2623. },
  2624. "/HSBY/QueryClientFixedADConfigs": {
  2625. "get": {
  2626. "security": [
  2627. {
  2628. "ApiKeyAuth": []
  2629. }
  2630. ],
  2631. "produces": [
  2632. "application/json"
  2633. ],
  2634. "tags": [
  2635. "定制【海商报业】"
  2636. ],
  2637. "summary": "获取终端固定广告配置",
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "$ref": "#/definitions/models.Clientfixedadconfig"
  2643. }
  2644. },
  2645. "500": {
  2646. "description": "Internal Server Error",
  2647. "schema": {
  2648. "$ref": "#/definitions/app.Response"
  2649. }
  2650. }
  2651. }
  2652. }
  2653. },
  2654. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2655. "get": {
  2656. "security": [
  2657. {
  2658. "ApiKeyAuth": []
  2659. }
  2660. ],
  2661. "produces": [
  2662. "application/json"
  2663. ],
  2664. "tags": [
  2665. "定制【海商报业】"
  2666. ],
  2667. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2668. "parameters": [
  2669. {
  2670. "type": "integer",
  2671. "description": "页码",
  2672. "name": "page",
  2673. "in": "query"
  2674. },
  2675. {
  2676. "type": "integer",
  2677. "description": "每页条数",
  2678. "name": "pagesize",
  2679. "in": "query"
  2680. },
  2681. {
  2682. "type": "string",
  2683. "description": "资金账户列表,格式:1,2,3",
  2684. "name": "accountIDs",
  2685. "in": "query",
  2686. "required": true
  2687. }
  2688. ],
  2689. "responses": {
  2690. "200": {
  2691. "description": "OK",
  2692. "schema": {
  2693. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "description": "说明:查询结果已按委托价格和委托时间排序",
  2713. "produces": [
  2714. "application/json"
  2715. ],
  2716. "tags": [
  2717. "定制【海商报业】"
  2718. ],
  2719. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2720. "parameters": [
  2721. {
  2722. "type": "integer",
  2723. "description": "商品ID",
  2724. "name": "goodsID",
  2725. "in": "query",
  2726. "required": true
  2727. },
  2728. {
  2729. "type": "string",
  2730. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2731. "name": "accountIDs",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2737. "name": "buyOrSell",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "number",
  2742. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2743. "name": "price",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "integer",
  2748. "description": "档位,不传则默认为3档",
  2749. "name": "speed",
  2750. "in": "query"
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/HSBY/QueryHsbyListingGoodsDetail": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "定制【海商报业】"
  2782. ],
  2783. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "商品ID",
  2788. "name": "goodsID",
  2789. "in": "query",
  2790. "required": true
  2791. },
  2792. {
  2793. "type": "integer",
  2794. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2795. "name": "accountID",
  2796. "in": "query"
  2797. }
  2798. ],
  2799. "responses": {
  2800. "200": {
  2801. "description": "OK",
  2802. "schema": {
  2803. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2804. }
  2805. },
  2806. "500": {
  2807. "description": "Internal Server Error",
  2808. "schema": {
  2809. "$ref": "#/definitions/app.Response"
  2810. }
  2811. }
  2812. }
  2813. }
  2814. },
  2815. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2816. "get": {
  2817. "security": [
  2818. {
  2819. "ApiKeyAuth": []
  2820. }
  2821. ],
  2822. "produces": [
  2823. "application/json"
  2824. ],
  2825. "tags": [
  2826. "定制【海商报业】"
  2827. ],
  2828. "summary": "查询三级市场(商城)商品信息详情",
  2829. "parameters": [
  2830. {
  2831. "type": "integer",
  2832. "description": "委托单号",
  2833. "name": "orderID",
  2834. "in": "query",
  2835. "required": true
  2836. },
  2837. {
  2838. "type": "integer",
  2839. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2840. "name": "accountID",
  2841. "in": "query"
  2842. }
  2843. ],
  2844. "responses": {
  2845. "200": {
  2846. "description": "OK",
  2847. "schema": {
  2848. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2849. }
  2850. },
  2851. "500": {
  2852. "description": "Internal Server Error",
  2853. "schema": {
  2854. "$ref": "#/definitions/app.Response"
  2855. }
  2856. }
  2857. }
  2858. }
  2859. },
  2860. "/HSBY/QueryHsbyMarketGoodses": {
  2861. "get": {
  2862. "security": [
  2863. {
  2864. "ApiKeyAuth": []
  2865. }
  2866. ],
  2867. "produces": [
  2868. "application/json"
  2869. ],
  2870. "tags": [
  2871. "定制【海商报业】"
  2872. ],
  2873. "summary": "查询特卖商品列表(三级商城)",
  2874. "parameters": [
  2875. {
  2876. "type": "integer",
  2877. "description": "页码",
  2878. "name": "page",
  2879. "in": "query"
  2880. },
  2881. {
  2882. "type": "integer",
  2883. "description": "每页条数",
  2884. "name": "pagesize",
  2885. "in": "query"
  2886. },
  2887. {
  2888. "type": "string",
  2889. "description": "市场ID列表,格式:1,2,3",
  2890. "name": "marketIDs",
  2891. "in": "query",
  2892. "required": true
  2893. },
  2894. {
  2895. "type": "integer",
  2896. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2897. "name": "accountID",
  2898. "in": "query",
  2899. "required": true
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "类别ID",
  2904. "name": "categoryID",
  2905. "in": "query"
  2906. },
  2907. {
  2908. "type": "string",
  2909. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2910. "name": "goodsIDs",
  2911. "in": "query"
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2916. "name": "couponTypeID",
  2917. "in": "query"
  2918. }
  2919. ],
  2920. "responses": {
  2921. "200": {
  2922. "description": "OK",
  2923. "schema": {
  2924. "$ref": "#/definitions/models.HsbyMarketGoods"
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/HSBY/QueryHsbyMarkets": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "定制【海商报业】"
  2948. ],
  2949. "summary": "查询海商报业相关市场信息",
  2950. "responses": {
  2951. "200": {
  2952. "description": "OK",
  2953. "schema": {
  2954. "$ref": "#/definitions/models.HsbyMarketInfo"
  2955. }
  2956. },
  2957. "500": {
  2958. "description": "Internal Server Error",
  2959. "schema": {
  2960. "$ref": "#/definitions/app.Response"
  2961. }
  2962. }
  2963. }
  2964. }
  2965. },
  2966. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2967. "get": {
  2968. "security": [
  2969. {
  2970. "ApiKeyAuth": []
  2971. }
  2972. ],
  2973. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "定制【海商报业】"
  2979. ],
  2980. "summary": "查询“我的订单”信息",
  2981. "parameters": [
  2982. {
  2983. "type": "string",
  2984. "description": "资金账户列表,格式:1,2,3",
  2985. "name": "accountIDs",
  2986. "in": "query",
  2987. "required": true
  2988. },
  2989. {
  2990. "type": "integer",
  2991. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2992. "name": "myBuyStatus",
  2993. "in": "query"
  2994. }
  2995. ],
  2996. "responses": {
  2997. "200": {
  2998. "description": "OK",
  2999. "schema": {
  3000. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/HSBY/QueryHsbyMyGoods": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3020. "produces": [
  3021. "application/json"
  3022. ],
  3023. "tags": [
  3024. "定制【海商报业】"
  3025. ],
  3026. "summary": "查询“我的商品”信息",
  3027. "parameters": [
  3028. {
  3029. "type": "string",
  3030. "description": "资金账户列表,格式:1,2,3",
  3031. "name": "accountIDs",
  3032. "in": "query",
  3033. "required": true
  3034. }
  3035. ],
  3036. "responses": {
  3037. "200": {
  3038. "description": "OK",
  3039. "schema": {
  3040. "$ref": "#/definitions/models.HsbyMyGoods"
  3041. }
  3042. },
  3043. "500": {
  3044. "description": "Internal Server Error",
  3045. "schema": {
  3046. "$ref": "#/definitions/app.Response"
  3047. }
  3048. }
  3049. }
  3050. }
  3051. },
  3052. "/HSBY/QueryHsbyMyPackages": {
  3053. "get": {
  3054. "security": [
  3055. {
  3056. "ApiKeyAuth": []
  3057. }
  3058. ],
  3059. "produces": [
  3060. "application/json"
  3061. ],
  3062. "tags": [
  3063. "定制【海商报业】"
  3064. ],
  3065. "summary": "查询我的包裹信息",
  3066. "parameters": [
  3067. {
  3068. "type": "string",
  3069. "description": "资金账户列表,格式:1,2,3",
  3070. "name": "accountIDs",
  3071. "in": "query",
  3072. "required": true
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3077. "name": "takeOrderStatus",
  3078. "in": "query"
  3079. }
  3080. ],
  3081. "responses": {
  3082. "200": {
  3083. "description": "OK",
  3084. "schema": {
  3085. "$ref": "#/definitions/models.HsbyMyPackage"
  3086. }
  3087. },
  3088. "500": {
  3089. "description": "Internal Server Error",
  3090. "schema": {
  3091. "$ref": "#/definitions/app.Response"
  3092. }
  3093. }
  3094. }
  3095. }
  3096. },
  3097. "/HSBY/QueryHsbyPreGoodsDetail": {
  3098. "get": {
  3099. "security": [
  3100. {
  3101. "ApiKeyAuth": []
  3102. }
  3103. ],
  3104. "produces": [
  3105. "application/json"
  3106. ],
  3107. "tags": [
  3108. "定制【海商报业】"
  3109. ],
  3110. "summary": "查询一级市场(预售)商品信息详情",
  3111. "parameters": [
  3112. {
  3113. "type": "integer",
  3114. "description": "商品ID",
  3115. "name": "goodsID",
  3116. "in": "query",
  3117. "required": true
  3118. },
  3119. {
  3120. "type": "integer",
  3121. "description": "资金账户,主要用于获取预售商品购买上限",
  3122. "name": "accountID",
  3123. "in": "query"
  3124. }
  3125. ],
  3126. "responses": {
  3127. "200": {
  3128. "description": "OK",
  3129. "schema": {
  3130. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3131. }
  3132. },
  3133. "500": {
  3134. "description": "Internal Server Error",
  3135. "schema": {
  3136. "$ref": "#/definitions/app.Response"
  3137. }
  3138. }
  3139. }
  3140. }
  3141. },
  3142. "/HSBY/QueryHsbyPreGoodses": {
  3143. "get": {
  3144. "security": [
  3145. {
  3146. "ApiKeyAuth": []
  3147. }
  3148. ],
  3149. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "定制【海商报业】"
  3155. ],
  3156. "summary": "查询新品上市商品列表(一级市场预售)",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "页码",
  3161. "name": "page",
  3162. "in": "query"
  3163. },
  3164. {
  3165. "type": "integer",
  3166. "description": "每页条数",
  3167. "name": "pagesize",
  3168. "in": "query"
  3169. },
  3170. {
  3171. "type": "string",
  3172. "description": "市场ID列表,格式:1,2,3",
  3173. "name": "marketIDs",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "目的地(省)ID",
  3180. "name": "descProvinceID",
  3181. "in": "query"
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "目的地(市)ID",
  3186. "name": "descCityID",
  3187. "in": "query"
  3188. }
  3189. ],
  3190. "responses": {
  3191. "200": {
  3192. "description": "OK",
  3193. "schema": {
  3194. "$ref": "#/definitions/models.HsbyPreGoods"
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/HSBY/QueryHsbySellMyDetails": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3214. "produces": [
  3215. "application/json"
  3216. ],
  3217. "tags": [
  3218. "定制【海商报业】"
  3219. ],
  3220. "summary": "查询\"我的闲置\"单据信息",
  3221. "parameters": [
  3222. {
  3223. "type": "integer",
  3224. "description": "页码",
  3225. "name": "page",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "每页条数",
  3231. "name": "pagesize",
  3232. "in": "query"
  3233. },
  3234. {
  3235. "type": "string",
  3236. "description": "资金账户列表,格式:1,2,3",
  3237. "name": "accountIDs",
  3238. "in": "query",
  3239. "required": true
  3240. },
  3241. {
  3242. "type": "integer",
  3243. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3244. "name": "orderType",
  3245. "in": "query"
  3246. }
  3247. ],
  3248. "responses": {
  3249. "200": {
  3250. "description": "OK",
  3251. "schema": {
  3252. "$ref": "#/definitions/models.HsbySellMyDetail"
  3253. }
  3254. },
  3255. "500": {
  3256. "description": "Internal Server Error",
  3257. "schema": {
  3258. "$ref": "#/definitions/app.Response"
  3259. }
  3260. }
  3261. }
  3262. }
  3263. },
  3264. "/HSBY/QueryHsbyTopGoodses": {
  3265. "get": {
  3266. "security": [
  3267. {
  3268. "ApiKeyAuth": []
  3269. }
  3270. ],
  3271. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3272. "produces": [
  3273. "application/json"
  3274. ],
  3275. "tags": [
  3276. "定制【海商报业】"
  3277. ],
  3278. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3279. "parameters": [
  3280. {
  3281. "type": "integer",
  3282. "description": "页码",
  3283. "name": "page",
  3284. "in": "query"
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "每页条数",
  3289. "name": "pagesize",
  3290. "in": "query"
  3291. },
  3292. {
  3293. "type": "string",
  3294. "description": "市场ID列表,格式:1,2,3",
  3295. "name": "marketIDs",
  3296. "in": "query",
  3297. "required": true
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "目的地(省)ID",
  3302. "name": "descProvinceID",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "integer",
  3307. "description": "目的地(市)ID",
  3308. "name": "descCityID",
  3309. "in": "query"
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/models.HsbyTopGoods"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "定制【海商报业】"
  3341. ],
  3342. "summary": "查询游客三级市场(商城)商品信息详情",
  3343. "parameters": [
  3344. {
  3345. "type": "integer",
  3346. "description": "商品ID",
  3347. "name": "goodsID",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3376. "produces": [
  3377. "application/json"
  3378. ],
  3379. "tags": [
  3380. "定制【海商报业】"
  3381. ],
  3382. "summary": "查询游客特卖商品列表(三级商城)",
  3383. "parameters": [
  3384. {
  3385. "type": "integer",
  3386. "description": "页码",
  3387. "name": "page",
  3388. "in": "query"
  3389. },
  3390. {
  3391. "type": "integer",
  3392. "description": "每页条数",
  3393. "name": "pagesize",
  3394. "in": "query"
  3395. },
  3396. {
  3397. "type": "string",
  3398. "description": "市场ID列表,格式:1,2,3",
  3399. "name": "marketIDs",
  3400. "in": "query",
  3401. "required": true
  3402. },
  3403. {
  3404. "type": "integer",
  3405. "description": "类别ID",
  3406. "name": "categoryID",
  3407. "in": "query"
  3408. },
  3409. {
  3410. "type": "string",
  3411. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3412. "name": "goodsIDs",
  3413. "in": "query"
  3414. }
  3415. ],
  3416. "responses": {
  3417. "200": {
  3418. "description": "OK",
  3419. "schema": {
  3420. "$ref": "#/definitions/models.HsbyMarketGoods"
  3421. }
  3422. },
  3423. "500": {
  3424. "description": "Internal Server Error",
  3425. "schema": {
  3426. "$ref": "#/definitions/app.Response"
  3427. }
  3428. }
  3429. }
  3430. }
  3431. },
  3432. "/HSBY/QueryMyCollectionOrders": {
  3433. "get": {
  3434. "security": [
  3435. {
  3436. "ApiKeyAuth": []
  3437. }
  3438. ],
  3439. "produces": [
  3440. "application/json"
  3441. ],
  3442. "tags": [
  3443. "定制【海商报业】"
  3444. ],
  3445. "summary": "我的闲置中收款信息查询",
  3446. "parameters": [
  3447. {
  3448. "type": "integer",
  3449. "description": "页码",
  3450. "name": "page",
  3451. "in": "query"
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "每页条数",
  3456. "name": "pagesize",
  3457. "in": "query"
  3458. },
  3459. {
  3460. "type": "string",
  3461. "description": "资金账户,格式:1,2,3",
  3462. "name": "accountIDs",
  3463. "in": "query",
  3464. "required": true
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3472. }
  3473. },
  3474. "500": {
  3475. "description": "Internal Server Error",
  3476. "schema": {
  3477. "$ref": "#/definitions/app.Response"
  3478. }
  3479. }
  3480. }
  3481. }
  3482. },
  3483. "/HSBY/QueryMyCouponHolds": {
  3484. "get": {
  3485. "security": [
  3486. {
  3487. "ApiKeyAuth": []
  3488. }
  3489. ],
  3490. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "定制【海商报业】"
  3496. ],
  3497. "summary": "我的优惠卷持仓查询",
  3498. "parameters": [
  3499. {
  3500. "type": "string",
  3501. "description": "资金账户列表,格式:1,2,3",
  3502. "name": "accountIDs",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "string",
  3508. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3509. "name": "holdStatus",
  3510. "in": "query"
  3511. }
  3512. ],
  3513. "responses": {
  3514. "200": {
  3515. "description": "OK",
  3516. "schema": {
  3517. "$ref": "#/definitions/models.MyCouponHold"
  3518. }
  3519. },
  3520. "500": {
  3521. "description": "Internal Server Error",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. }
  3526. }
  3527. }
  3528. },
  3529. "/HSBY/QueryMyCoupons": {
  3530. "get": {
  3531. "security": [
  3532. {
  3533. "ApiKeyAuth": []
  3534. }
  3535. ],
  3536. "produces": [
  3537. "application/json"
  3538. ],
  3539. "tags": [
  3540. "定制【海商报业】"
  3541. ],
  3542. "summary": "我的优惠卷查询",
  3543. "parameters": [
  3544. {
  3545. "type": "string",
  3546. "description": "资金账户列表,格式:1,2,3",
  3547. "name": "accountIDs",
  3548. "in": "query",
  3549. "required": true
  3550. },
  3551. {
  3552. "type": "integer",
  3553. "description": "商品ID, 一般与sellUserID配套传入",
  3554. "name": "goodsID",
  3555. "in": "query"
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "卖方UserID",
  3560. "name": "sellUserID",
  3561. "in": "query"
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "$ref": "#/definitions/models.MyCoupon"
  3569. }
  3570. },
  3571. "500": {
  3572. "description": "Internal Server Error",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "/HSBY/QueryMyPayOrders": {
  3581. "get": {
  3582. "security": [
  3583. {
  3584. "ApiKeyAuth": []
  3585. }
  3586. ],
  3587. "produces": [
  3588. "application/json"
  3589. ],
  3590. "tags": [
  3591. "定制【海商报业】"
  3592. ],
  3593. "summary": "获取我的订单中待付款信息",
  3594. "parameters": [
  3595. {
  3596. "type": "integer",
  3597. "description": "页码",
  3598. "name": "page",
  3599. "in": "query"
  3600. },
  3601. {
  3602. "type": "integer",
  3603. "description": "每页条数",
  3604. "name": "pagesize",
  3605. "in": "query"
  3606. },
  3607. {
  3608. "type": "string",
  3609. "description": "资金账户列表,格式:1,2,3",
  3610. "name": "accountIDs",
  3611. "in": "query",
  3612. "required": true
  3613. },
  3614. {
  3615. "type": "integer",
  3616. "description": "买方委托单号",
  3617. "name": "buyOrderID",
  3618. "in": "query"
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "卖方委托单号",
  3623. "name": "sellOrderID",
  3624. "in": "query"
  3625. }
  3626. ],
  3627. "responses": {
  3628. "200": {
  3629. "description": "OK",
  3630. "schema": {
  3631. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3632. }
  3633. },
  3634. "500": {
  3635. "description": "Internal Server Error",
  3636. "schema": {
  3637. "$ref": "#/definitions/app.Response"
  3638. }
  3639. }
  3640. }
  3641. }
  3642. },
  3643. "/HSBY/QueryMyUsedCoupon": {
  3644. "get": {
  3645. "security": [
  3646. {
  3647. "ApiKeyAuth": []
  3648. }
  3649. ],
  3650. "produces": [
  3651. "application/json"
  3652. ],
  3653. "tags": [
  3654. "定制【海商报业】"
  3655. ],
  3656. "summary": "已使用优惠卷查询",
  3657. "parameters": [
  3658. {
  3659. "type": "string",
  3660. "description": "资金账户列表,格式:1,2,3",
  3661. "name": "accountIDs",
  3662. "in": "query",
  3663. "required": true
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "$ref": "#/definitions/models.MyUsedCoupon"
  3671. }
  3672. },
  3673. "500": {
  3674. "description": "Internal Server Error",
  3675. "schema": {
  3676. "$ref": "#/definitions/app.Response"
  3677. }
  3678. }
  3679. }
  3680. }
  3681. },
  3682. "/HSBY/QueryProvincesAndCities": {
  3683. "get": {
  3684. "security": [
  3685. {
  3686. "ApiKeyAuth": []
  3687. }
  3688. ],
  3689. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3690. "produces": [
  3691. "application/json"
  3692. ],
  3693. "tags": [
  3694. "定制【海商报业】"
  3695. ],
  3696. "summary": "查询省市信息(不包括区)",
  3697. "parameters": [
  3698. {
  3699. "type": "integer",
  3700. "description": "省ID",
  3701. "name": "provinceID",
  3702. "in": "query"
  3703. }
  3704. ],
  3705. "responses": {
  3706. "200": {
  3707. "description": "OK",
  3708. "schema": {
  3709. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3710. }
  3711. },
  3712. "500": {
  3713. "description": "Internal Server Error",
  3714. "schema": {
  3715. "$ref": "#/definitions/app.Response"
  3716. }
  3717. }
  3718. }
  3719. }
  3720. },
  3721. "/HSBY/SetHsbyMyPackagesStatus": {
  3722. "post": {
  3723. "security": [
  3724. {
  3725. "ApiKeyAuth": []
  3726. }
  3727. ],
  3728. "produces": [
  3729. "application/json"
  3730. ],
  3731. "tags": [
  3732. "定制【海商报业】"
  3733. ],
  3734. "summary": "设置我的包裹已收货状态",
  3735. "parameters": [
  3736. {
  3737. "type": "string",
  3738. "description": "提货单号",
  3739. "name": "takeOrderID",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "资金账号",
  3746. "name": "accountID",
  3747. "in": "query",
  3748. "required": true
  3749. }
  3750. ],
  3751. "responses": {
  3752. "200": {
  3753. "description": "OK",
  3754. "schema": {
  3755. "$ref": "#/definitions/app.Response"
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Market/QueryGoodsesByLoginID": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "通用市场"
  3779. ],
  3780. "summary": "获取登录账号有权限的商品信息",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "登录账号",
  3785. "name": "loginID",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "string",
  3791. "description": "市场ID列表,格式:1,2,3",
  3792. "name": "marketIDs",
  3793. "in": "query"
  3794. }
  3795. ],
  3796. "responses": {
  3797. "200": {
  3798. "description": "OK",
  3799. "schema": {
  3800. "$ref": "#/definitions/models.Goods"
  3801. }
  3802. },
  3803. "500": {
  3804. "description": "Internal Server Error",
  3805. "schema": {
  3806. "$ref": "#/definitions/app.Response"
  3807. }
  3808. }
  3809. }
  3810. }
  3811. },
  3812. "/Market/QueryMarketRun": {
  3813. "get": {
  3814. "security": [
  3815. {
  3816. "ApiKeyAuth": []
  3817. }
  3818. ],
  3819. "produces": [
  3820. "application/json"
  3821. ],
  3822. "tags": [
  3823. "通用市场"
  3824. ],
  3825. "summary": "查询市场运行信息",
  3826. "parameters": [
  3827. {
  3828. "type": "integer",
  3829. "description": "市场ID,不传返回所有",
  3830. "name": "marketID",
  3831. "in": "query"
  3832. }
  3833. ],
  3834. "responses": {
  3835. "200": {
  3836. "description": "OK",
  3837. "schema": {
  3838. "$ref": "#/definitions/models.Marketrun"
  3839. }
  3840. },
  3841. "500": {
  3842. "description": "Internal Server Error",
  3843. "schema": {
  3844. "$ref": "#/definitions/app.Response"
  3845. }
  3846. }
  3847. }
  3848. }
  3849. },
  3850. "/Market/QueryMarketsByLoginID": {
  3851. "get": {
  3852. "security": [
  3853. {
  3854. "ApiKeyAuth": []
  3855. }
  3856. ],
  3857. "produces": [
  3858. "application/json"
  3859. ],
  3860. "tags": [
  3861. "通用市场"
  3862. ],
  3863. "summary": "获取登录账号有权限的市场信息",
  3864. "parameters": [
  3865. {
  3866. "type": "integer",
  3867. "description": "登录账号",
  3868. "name": "loginID",
  3869. "in": "query",
  3870. "required": true
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "$ref": "#/definitions/models.Market"
  3878. }
  3879. },
  3880. "500": {
  3881. "description": "Internal Server Error",
  3882. "schema": {
  3883. "$ref": "#/definitions/app.Response"
  3884. }
  3885. }
  3886. }
  3887. }
  3888. },
  3889. "/Order/QueryHisTradeDetail": {
  3890. "get": {
  3891. "security": [
  3892. {
  3893. "ApiKeyAuth": []
  3894. }
  3895. ],
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "通用单据"
  3901. ],
  3902. "summary": "历史成交单查询(合约市场)",
  3903. "parameters": [
  3904. {
  3905. "type": "string",
  3906. "description": "资金账户 - 格式:1,2,3",
  3907. "name": "accountID",
  3908. "in": "query",
  3909. "required": true
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "成交单号",
  3914. "name": "tradeID",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "委托单号",
  3920. "name": "orderID",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "string",
  3925. "description": "交易模式 - 格式:1,2,3",
  3926. "name": "tradeMode",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "委托单据类型",
  3932. "name": "buildType",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "string",
  3937. "description": "成交类别 - 格式:1,2,3",
  3938. "name": "tradeType",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "string",
  3943. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3944. "name": "startDate",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3950. "name": "endDate",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3959. }
  3960. },
  3961. "500": {
  3962. "description": "Internal Server Error",
  3963. "schema": {
  3964. "$ref": "#/definitions/app.Response"
  3965. }
  3966. }
  3967. }
  3968. }
  3969. },
  3970. "/Order/QueryHisTradeOrderDetail": {
  3971. "get": {
  3972. "security": [
  3973. {
  3974. "ApiKeyAuth": []
  3975. }
  3976. ],
  3977. "produces": [
  3978. "application/json"
  3979. ],
  3980. "tags": [
  3981. "通用单据"
  3982. ],
  3983. "summary": "历史委托单查询请求(合约市场)",
  3984. "parameters": [
  3985. {
  3986. "type": "string",
  3987. "description": "资金账户 - 格式:1,2,3",
  3988. "name": "accountID",
  3989. "in": "query",
  3990. "required": true
  3991. },
  3992. {
  3993. "type": "string",
  3994. "description": "交易模式 - 格式:1,2,3",
  3995. "name": "tradeMode",
  3996. "in": "query"
  3997. },
  3998. {
  3999. "type": "string",
  4000. "description": "委托状态 - 格式:1,2,3",
  4001. "name": "orderStatus",
  4002. "in": "query"
  4003. },
  4004. {
  4005. "type": "integer",
  4006. "description": "委托单号",
  4007. "name": "orderID",
  4008. "in": "query"
  4009. },
  4010. {
  4011. "type": "string",
  4012. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4013. "name": "startDate",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "string",
  4018. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4019. "name": "endDate",
  4020. "in": "query"
  4021. }
  4022. ],
  4023. "responses": {
  4024. "200": {
  4025. "description": "OK",
  4026. "schema": {
  4027. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4028. }
  4029. },
  4030. "500": {
  4031. "description": "Internal Server Error",
  4032. "schema": {
  4033. "$ref": "#/definitions/app.Response"
  4034. }
  4035. }
  4036. }
  4037. }
  4038. },
  4039. "/Order/QueryTradeDetail": {
  4040. "get": {
  4041. "security": [
  4042. {
  4043. "ApiKeyAuth": []
  4044. }
  4045. ],
  4046. "produces": [
  4047. "application/json"
  4048. ],
  4049. "tags": [
  4050. "通用单据"
  4051. ],
  4052. "summary": "成交单查询(合约市场)",
  4053. "parameters": [
  4054. {
  4055. "type": "string",
  4056. "description": "资金账户 - 格式:1,2,3",
  4057. "name": "accountID",
  4058. "in": "query",
  4059. "required": true
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "成交单号",
  4064. "name": "tradeID",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "委托单号",
  4070. "name": "orderID",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "string",
  4075. "description": "交易模式 - 格式:1,2,3",
  4076. "name": "tradeMode",
  4077. "in": "query"
  4078. },
  4079. {
  4080. "type": "integer",
  4081. "description": "委托单据类型",
  4082. "name": "buildType",
  4083. "in": "query"
  4084. },
  4085. {
  4086. "type": "string",
  4087. "description": "成交类别 - 格式:1,2,3",
  4088. "name": "tradeType",
  4089. "in": "query"
  4090. }
  4091. ],
  4092. "responses": {
  4093. "200": {
  4094. "description": "OK",
  4095. "schema": {
  4096. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Order/QueryTradeOrderDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "通用单据"
  4120. ],
  4121. "summary": "委托单查询请求(合约市场)",
  4122. "parameters": [
  4123. {
  4124. "type": "string",
  4125. "description": "资金账户 - 格式:1,2,3",
  4126. "name": "accountID",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "string",
  4132. "description": "交易模式 - 格式:1,2,3",
  4133. "name": "tradeMode",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "string",
  4138. "description": "委托状态 - 格式:1,2,3",
  4139. "name": "orderStatus",
  4140. "in": "query"
  4141. },
  4142. {
  4143. "type": "integer",
  4144. "description": "委托单号",
  4145. "name": "orderID",
  4146. "in": "query"
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/Order/QueryTradePosition": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "通用单据"
  4177. ],
  4178. "summary": "持仓汇总查询(合约市场)",
  4179. "parameters": [
  4180. {
  4181. "type": "string",
  4182. "description": "资金账户 - 格式:1,2,3",
  4183. "name": "accountID",
  4184. "in": "query",
  4185. "required": true
  4186. },
  4187. {
  4188. "type": "string",
  4189. "description": "交易模式 - 格式:1,2,3",
  4190. "name": "tradeMode",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4199. }
  4200. },
  4201. "500": {
  4202. "description": "Internal Server Error",
  4203. "schema": {
  4204. "$ref": "#/definitions/app.Response"
  4205. }
  4206. }
  4207. }
  4208. }
  4209. },
  4210. "/Quote/QueryHistoryDatas": {
  4211. "get": {
  4212. "security": [
  4213. {
  4214. "ApiKeyAuth": []
  4215. }
  4216. ],
  4217. "produces": [
  4218. "application/json"
  4219. ],
  4220. "tags": [
  4221. "行情服务"
  4222. ],
  4223. "summary": "查询行情历史数据",
  4224. "parameters": [
  4225. {
  4226. "type": "integer",
  4227. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4228. "name": "cycleType",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "string",
  4234. "description": "商品代码",
  4235. "name": "goodsCode",
  4236. "in": "query",
  4237. "required": true
  4238. },
  4239. {
  4240. "type": "string",
  4241. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4242. "name": "startTime",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "string",
  4247. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4248. "name": "endTime",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "条数",
  4254. "name": "count",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "boolean",
  4259. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4260. "name": "isAsc",
  4261. "in": "query"
  4262. }
  4263. ],
  4264. "responses": {
  4265. "200": {
  4266. "description": "OK",
  4267. "schema": {
  4268. "$ref": "#/definitions/quote.HistoryData"
  4269. }
  4270. },
  4271. "500": {
  4272. "description": "Internal Server Error",
  4273. "schema": {
  4274. "$ref": "#/definitions/app.Response"
  4275. }
  4276. }
  4277. }
  4278. }
  4279. },
  4280. "/Quote/QueryTSData": {
  4281. "get": {
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "行情服务"
  4287. ],
  4288. "summary": "分时图数据查询",
  4289. "parameters": [
  4290. {
  4291. "type": "string",
  4292. "description": "商品代码",
  4293. "name": "GoodsCode",
  4294. "in": "query",
  4295. "required": true
  4296. }
  4297. ],
  4298. "responses": {
  4299. "200": {
  4300. "description": "OK",
  4301. "schema": {
  4302. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/SZDZ/QueryConvertConfig": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "定制【尚志大宗】"
  4326. ],
  4327. "summary": "查询交易系统转换设置",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4332. "name": "convertType",
  4333. "in": "query"
  4334. },
  4335. {
  4336. "type": "string",
  4337. "description": "外部商品代码[JD\\PD]",
  4338. "name": "outerGoodsCode",
  4339. "in": "query"
  4340. },
  4341. {
  4342. "type": "string",
  4343. "description": "内部商品ID列表[交易],格式:1,2,3",
  4344. "name": "innerGoodsIDs",
  4345. "in": "query"
  4346. }
  4347. ],
  4348. "responses": {
  4349. "200": {
  4350. "description": "OK",
  4351. "schema": {
  4352. "$ref": "#/definitions/models.Szdz3convertconfig"
  4353. }
  4354. },
  4355. "500": {
  4356. "description": "Internal Server Error",
  4357. "schema": {
  4358. "$ref": "#/definitions/app.Response"
  4359. }
  4360. }
  4361. }
  4362. }
  4363. },
  4364. "/SZDZ/QueryConvertLog": {
  4365. "get": {
  4366. "security": [
  4367. {
  4368. "ApiKeyAuth": []
  4369. }
  4370. ],
  4371. "produces": [
  4372. "application/json"
  4373. ],
  4374. "tags": [
  4375. "定制【尚志大宗】"
  4376. ],
  4377. "summary": "交易系统转换流水查询",
  4378. "parameters": [
  4379. {
  4380. "type": "string",
  4381. "description": "资金账户 - 格式:1,2,3",
  4382. "name": "accountID",
  4383. "in": "query",
  4384. "required": true
  4385. },
  4386. {
  4387. "type": "string",
  4388. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4389. "name": "startDate",
  4390. "in": "query"
  4391. },
  4392. {
  4393. "type": "string",
  4394. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4395. "name": "endDate",
  4396. "in": "query"
  4397. }
  4398. ],
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4404. }
  4405. },
  4406. "500": {
  4407. "description": "Internal Server Error",
  4408. "schema": {
  4409. "$ref": "#/definitions/app.Response"
  4410. }
  4411. }
  4412. }
  4413. }
  4414. },
  4415. "/SZDZ/QueryGoodsPickup": {
  4416. "get": {
  4417. "security": [
  4418. {
  4419. "ApiKeyAuth": []
  4420. }
  4421. ],
  4422. "produces": [
  4423. "application/json"
  4424. ],
  4425. "tags": [
  4426. "定制【尚志大宗】"
  4427. ],
  4428. "summary": "商品提货单查询",
  4429. "parameters": [
  4430. {
  4431. "type": "string",
  4432. "description": "资金账户 - 格式:1,2,3",
  4433. "name": "accountID",
  4434. "in": "query",
  4435. "required": true
  4436. },
  4437. {
  4438. "type": "integer",
  4439. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4440. "name": "takeOrderStatus",
  4441. "in": "query"
  4442. }
  4443. ],
  4444. "responses": {
  4445. "200": {
  4446. "description": "OK",
  4447. "schema": {
  4448. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/SZDZ/QueryRecieptOrder": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4468. "produces": [
  4469. "application/json"
  4470. ],
  4471. "tags": [
  4472. "定制【尚志大宗】"
  4473. ],
  4474. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4475. "parameters": [
  4476. {
  4477. "type": "integer",
  4478. "description": "页码",
  4479. "name": "page",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "每页条数",
  4485. "name": "pagesize",
  4486. "in": "query"
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "商品ID",
  4491. "name": "goodsID",
  4492. "in": "query",
  4493. "required": true
  4494. },
  4495. {
  4496. "type": "string",
  4497. "description": "所属账户名称",
  4498. "name": "accountName",
  4499. "in": "query"
  4500. },
  4501. {
  4502. "type": "integer",
  4503. "description": "市场ID",
  4504. "name": "marketID",
  4505. "in": "query"
  4506. },
  4507. {
  4508. "type": "integer",
  4509. "description": "方向 - 0:买 1:卖",
  4510. "name": "buyorsell",
  4511. "in": "query",
  4512. "required": true
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/SZDZ/QuerySZDZTradePosition": {
  4532. "get": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "定制【尚志大宗】"
  4543. ],
  4544. "summary": "持仓汇总查询(尚志大宗)",
  4545. "parameters": [
  4546. {
  4547. "type": "integer",
  4548. "description": "资金账户",
  4549. "name": "accountID",
  4550. "in": "query",
  4551. "required": true
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/SZDZ/SearchWhite": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "定制【尚志大宗】"
  4582. ],
  4583. "summary": "搜索白名单",
  4584. "parameters": [
  4585. {
  4586. "type": "integer",
  4587. "description": "用户ID",
  4588. "name": "userID",
  4589. "in": "query",
  4590. "required": true
  4591. }
  4592. ],
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4598. }
  4599. },
  4600. "500": {
  4601. "description": "Internal Server Error",
  4602. "schema": {
  4603. "$ref": "#/definitions/app.Response"
  4604. }
  4605. }
  4606. }
  4607. }
  4608. },
  4609. "/Search/SearchGoodses": {
  4610. "get": {
  4611. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "检索服务"
  4617. ],
  4618. "summary": "检索商品信息",
  4619. "parameters": [
  4620. {
  4621. "type": "string",
  4622. "description": "检索内容",
  4623. "name": "content",
  4624. "in": "query",
  4625. "required": true
  4626. },
  4627. {
  4628. "type": "string",
  4629. "description": "交易模式,格式:1,2,3",
  4630. "name": "tradeModes",
  4631. "in": "query"
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "$ref": "#/definitions/models.SearchGoods"
  4639. }
  4640. },
  4641. "500": {
  4642. "description": "Internal Server Error",
  4643. "schema": {
  4644. "$ref": "#/definitions/app.Response"
  4645. }
  4646. }
  4647. }
  4648. }
  4649. },
  4650. "/TaAccount/QueryAmountLog": {
  4651. "get": {
  4652. "security": [
  4653. {
  4654. "ApiKeyAuth": []
  4655. }
  4656. ],
  4657. "produces": [
  4658. "application/json"
  4659. ],
  4660. "tags": [
  4661. "资金账户"
  4662. ],
  4663. "summary": "资金流水查询(当前)",
  4664. "parameters": [
  4665. {
  4666. "type": "integer",
  4667. "description": "页码",
  4668. "name": "page",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "每页条数",
  4674. "name": "pagesize",
  4675. "in": "query"
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "资金账户 - 格式:1,2,3",
  4680. "name": "accountID",
  4681. "in": "query",
  4682. "required": true
  4683. },
  4684. {
  4685. "type": "string",
  4686. "description": "资金操作类型 - 格式:1,2,3",
  4687. "name": "OperateType",
  4688. "in": "query"
  4689. }
  4690. ],
  4691. "responses": {
  4692. "200": {
  4693. "description": "OK",
  4694. "schema": {
  4695. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/TaAccount/QueryHisAmountLog": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "资金账户"
  4719. ],
  4720. "summary": "资金流水查询(历史)",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "页码",
  4725. "name": "page",
  4726. "in": "query"
  4727. },
  4728. {
  4729. "type": "integer",
  4730. "description": "每页条数",
  4731. "name": "pagesize",
  4732. "in": "query"
  4733. },
  4734. {
  4735. "type": "string",
  4736. "description": "资金账户 - 格式:1,2,3",
  4737. "name": "accountID",
  4738. "in": "query",
  4739. "required": true
  4740. },
  4741. {
  4742. "type": "string",
  4743. "description": "资金操作类型 - 格式:1,2,3",
  4744. "name": "OperateType",
  4745. "in": "query"
  4746. },
  4747. {
  4748. "type": "string",
  4749. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4750. "name": "startDate",
  4751. "in": "query"
  4752. },
  4753. {
  4754. "type": "string",
  4755. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4756. "name": "endDate",
  4757. "in": "query"
  4758. }
  4759. ],
  4760. "responses": {
  4761. "200": {
  4762. "description": "OK",
  4763. "schema": {
  4764. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4765. }
  4766. },
  4767. "500": {
  4768. "description": "Internal Server Error",
  4769. "schema": {
  4770. "$ref": "#/definitions/app.Response"
  4771. }
  4772. }
  4773. }
  4774. }
  4775. },
  4776. "/Trade/QueryRecieptOrder": {
  4777. "get": {
  4778. "security": [
  4779. {
  4780. "ApiKeyAuth": []
  4781. }
  4782. ],
  4783. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "通用交易"
  4789. ],
  4790. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4791. "parameters": [
  4792. {
  4793. "type": "integer",
  4794. "description": "页码",
  4795. "name": "page",
  4796. "in": "query"
  4797. },
  4798. {
  4799. "type": "integer",
  4800. "description": "每页条数",
  4801. "name": "pagesize",
  4802. "in": "query"
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "商品ID",
  4807. "name": "goodsID",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "所属账户名称",
  4814. "name": "accountName",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "integer",
  4819. "description": "市场ID",
  4820. "name": "marketID",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "方向 - 0:买 1:卖",
  4826. "name": "buyorsell",
  4827. "in": "query",
  4828. "required": true
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4836. }
  4837. },
  4838. "500": {
  4839. "description": "Internal Server Error",
  4840. "schema": {
  4841. "$ref": "#/definitions/app.Response"
  4842. }
  4843. }
  4844. }
  4845. }
  4846. },
  4847. "/User/AddMessageBoard": {
  4848. "post": {
  4849. "security": [
  4850. {
  4851. "ApiKeyAuth": []
  4852. }
  4853. ],
  4854. "produces": [
  4855. "application/json"
  4856. ],
  4857. "tags": [
  4858. "用户信息"
  4859. ],
  4860. "summary": "添加用户留言板信息",
  4861. "parameters": [
  4862. {
  4863. "type": "integer",
  4864. "description": "用户ID",
  4865. "name": "userID",
  4866. "in": "query",
  4867. "required": true
  4868. },
  4869. {
  4870. "type": "string",
  4871. "description": "留言信息",
  4872. "name": "message",
  4873. "in": "query",
  4874. "required": true
  4875. }
  4876. ],
  4877. "responses": {
  4878. "200": {
  4879. "description": "OK",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. },
  4884. "500": {
  4885. "description": "Internal Server Error",
  4886. "schema": {
  4887. "$ref": "#/definitions/app.Response"
  4888. }
  4889. }
  4890. }
  4891. }
  4892. },
  4893. "/User/AddUserFavoriteGoods": {
  4894. "post": {
  4895. "security": [
  4896. {
  4897. "ApiKeyAuth": []
  4898. }
  4899. ],
  4900. "produces": [
  4901. "application/json"
  4902. ],
  4903. "tags": [
  4904. "用户信息"
  4905. ],
  4906. "summary": "添加用户商品收藏信息",
  4907. "parameters": [
  4908. {
  4909. "type": "integer",
  4910. "description": "用户ID",
  4911. "name": "userID",
  4912. "in": "query",
  4913. "required": true
  4914. },
  4915. {
  4916. "type": "integer",
  4917. "description": "商品ID",
  4918. "name": "goodsID",
  4919. "in": "query",
  4920. "required": true
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/User/GetLoginID": {
  4940. "get": {
  4941. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4942. "produces": [
  4943. "application/json"
  4944. ],
  4945. "tags": [
  4946. "用户信息"
  4947. ],
  4948. "summary": "获取登录ID",
  4949. "parameters": [
  4950. {
  4951. "type": "string",
  4952. "description": "登录代码",
  4953. "name": "username",
  4954. "in": "query",
  4955. "required": true
  4956. }
  4957. ],
  4958. "responses": {
  4959. "200": {
  4960. "description": "OK",
  4961. "schema": {
  4962. "$ref": "#/definitions/app.Response"
  4963. }
  4964. },
  4965. "500": {
  4966. "description": "Internal Server Error",
  4967. "schema": {
  4968. "$ref": "#/definitions/app.Response"
  4969. }
  4970. }
  4971. }
  4972. }
  4973. },
  4974. "/User/GetUserAccount": {
  4975. "get": {
  4976. "security": [
  4977. {
  4978. "ApiKeyAuth": []
  4979. }
  4980. ],
  4981. "produces": [
  4982. "application/json"
  4983. ],
  4984. "tags": [
  4985. "用户信息"
  4986. ],
  4987. "summary": "获取用户账号信息",
  4988. "parameters": [
  4989. {
  4990. "type": "integer",
  4991. "description": "用户ID",
  4992. "name": "userID",
  4993. "in": "query",
  4994. "required": true
  4995. }
  4996. ],
  4997. "responses": {
  4998. "200": {
  4999. "description": "OK",
  5000. "schema": {
  5001. "$ref": "#/definitions/models.Useraccount"
  5002. }
  5003. },
  5004. "500": {
  5005. "description": "Internal Server Error",
  5006. "schema": {
  5007. "$ref": "#/definitions/app.Response"
  5008. }
  5009. }
  5010. }
  5011. }
  5012. },
  5013. "/User/GetUserAuthStatus": {
  5014. "get": {
  5015. "security": [
  5016. {
  5017. "ApiKeyAuth": []
  5018. }
  5019. ],
  5020. "produces": [
  5021. "application/json"
  5022. ],
  5023. "tags": [
  5024. "用户信息"
  5025. ],
  5026. "summary": "获取用户实名认证状态",
  5027. "parameters": [
  5028. {
  5029. "type": "integer",
  5030. "description": "用户ID",
  5031. "name": "userID",
  5032. "in": "query",
  5033. "required": true
  5034. }
  5035. ],
  5036. "responses": {
  5037. "200": {
  5038. "description": "OK",
  5039. "schema": {
  5040. "$ref": "#/definitions/app.Response"
  5041. }
  5042. },
  5043. "500": {
  5044. "description": "Internal Server Error",
  5045. "schema": {
  5046. "$ref": "#/definitions/app.Response"
  5047. }
  5048. }
  5049. }
  5050. }
  5051. },
  5052. "/User/QueryMessageBoard": {
  5053. "get": {
  5054. "security": [
  5055. {
  5056. "ApiKeyAuth": []
  5057. }
  5058. ],
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "用户信息"
  5064. ],
  5065. "summary": "获取用户留言板信息",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "用户ID",
  5070. "name": "userID",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/models.Messageboard"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/User/QueryUserFavoriteGoodses": {
  5092. "get": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "用户信息"
  5103. ],
  5104. "summary": "获取用户商品收藏信息",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "用户ID",
  5109. "name": "userID",
  5110. "in": "query",
  5111. "required": true
  5112. }
  5113. ],
  5114. "responses": {
  5115. "200": {
  5116. "description": "OK",
  5117. "schema": {
  5118. "$ref": "#/definitions/models.Userfavoritegoods"
  5119. }
  5120. },
  5121. "500": {
  5122. "description": "Internal Server Error",
  5123. "schema": {
  5124. "$ref": "#/definitions/app.Response"
  5125. }
  5126. }
  5127. }
  5128. }
  5129. },
  5130. "/User/QueryUserInfo": {
  5131. "get": {
  5132. "security": [
  5133. {
  5134. "ApiKeyAuth": []
  5135. }
  5136. ],
  5137. "produces": [
  5138. "application/json"
  5139. ],
  5140. "tags": [
  5141. "用户信息"
  5142. ],
  5143. "summary": "获取用户信息",
  5144. "parameters": [
  5145. {
  5146. "type": "integer",
  5147. "description": "用户ID",
  5148. "name": "userID",
  5149. "in": "query",
  5150. "required": true
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/models.Userinfo"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/User/QueryUserReferNum": {
  5170. "get": {
  5171. "produces": [
  5172. "application/json"
  5173. ],
  5174. "tags": [
  5175. "用户信息"
  5176. ],
  5177. "summary": "获取用户邀请码",
  5178. "parameters": [
  5179. {
  5180. "type": "integer",
  5181. "description": "用户ID",
  5182. "name": "userID",
  5183. "in": "query",
  5184. "required": true
  5185. }
  5186. ],
  5187. "responses": {
  5188. "200": {
  5189. "description": "OK",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. },
  5194. "500": {
  5195. "description": "Internal Server Error",
  5196. "schema": {
  5197. "$ref": "#/definitions/app.Response"
  5198. }
  5199. }
  5200. }
  5201. }
  5202. },
  5203. "/User/RemoveUserFavoriteGoods": {
  5204. "post": {
  5205. "security": [
  5206. {
  5207. "ApiKeyAuth": []
  5208. }
  5209. ],
  5210. "produces": [
  5211. "application/json"
  5212. ],
  5213. "tags": [
  5214. "用户信息"
  5215. ],
  5216. "summary": "移除用户商品收藏信息",
  5217. "parameters": [
  5218. {
  5219. "type": "integer",
  5220. "description": "用户ID",
  5221. "name": "userID",
  5222. "in": "query",
  5223. "required": true
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "商品ID",
  5228. "name": "goodsID",
  5229. "in": "query",
  5230. "required": true
  5231. }
  5232. ],
  5233. "responses": {
  5234. "200": {
  5235. "description": "OK",
  5236. "schema": {
  5237. "$ref": "#/definitions/app.Response"
  5238. }
  5239. },
  5240. "500": {
  5241. "description": "Internal Server Error",
  5242. "schema": {
  5243. "$ref": "#/definitions/app.Response"
  5244. }
  5245. }
  5246. }
  5247. }
  5248. },
  5249. "/User/UpdateUserAccountStatus": {
  5250. "post": {
  5251. "security": [
  5252. {
  5253. "ApiKeyAuth": []
  5254. }
  5255. ],
  5256. "produces": [
  5257. "application/json"
  5258. ],
  5259. "tags": [
  5260. "用户信息"
  5261. ],
  5262. "summary": "更新用户状态",
  5263. "parameters": [
  5264. {
  5265. "type": "integer",
  5266. "description": "用户ID",
  5267. "name": "userID",
  5268. "in": "query",
  5269. "required": true
  5270. },
  5271. {
  5272. "type": "integer",
  5273. "description": "账户状态 - 4:正常 6:注销(停用)",
  5274. "name": "accountStatus",
  5275. "in": "query",
  5276. "required": true
  5277. }
  5278. ],
  5279. "responses": {
  5280. "200": {
  5281. "description": "OK",
  5282. "schema": {
  5283. "$ref": "#/definitions/app.Response"
  5284. }
  5285. },
  5286. "500": {
  5287. "description": "Internal Server Error",
  5288. "schema": {
  5289. "$ref": "#/definitions/app.Response"
  5290. }
  5291. }
  5292. }
  5293. }
  5294. },
  5295. "/WR/GetWRCategoryInfo": {
  5296. "get": {
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "仓单服务"
  5302. ],
  5303. "summary": "获取现货分类信息",
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "$ref": "#/definitions/models.WRCategoryTree"
  5309. }
  5310. },
  5311. "500": {
  5312. "description": "Internal Server Error",
  5313. "schema": {
  5314. "$ref": "#/definitions/app.Response"
  5315. }
  5316. }
  5317. }
  5318. }
  5319. },
  5320. "/WRTrade/GetAllDeliveryGoods": {
  5321. "get": {
  5322. "security": [
  5323. {
  5324. "ApiKeyAuth": []
  5325. },
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json",
  5332. "application/json"
  5333. ],
  5334. "tags": [
  5335. "仓单贸易",
  5336. "仓单贸易"
  5337. ],
  5338. "summary": "获取带仓单分类的种类信息",
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. }
  5355. },
  5356. "definitions": {
  5357. "app.Response": {
  5358. "type": "object",
  5359. "properties": {
  5360. "code": {
  5361. "type": "integer"
  5362. },
  5363. "data": {
  5364. "type": "object"
  5365. },
  5366. "msg": {
  5367. "type": "string"
  5368. },
  5369. "page": {
  5370. "description": "页码",
  5371. "type": "integer"
  5372. },
  5373. "pagesize": {
  5374. "description": "每页条数",
  5375. "type": "integer"
  5376. },
  5377. "total": {
  5378. "description": "总条数",
  5379. "type": "integer"
  5380. }
  5381. }
  5382. },
  5383. "common.QueryNoticeRsp": {
  5384. "type": "object",
  5385. "required": [
  5386. "autoid"
  5387. ],
  5388. "properties": {
  5389. "auditoruserid": {
  5390. "description": "审核人",
  5391. "type": "integer"
  5392. },
  5393. "auditremark": {
  5394. "description": "审核备注",
  5395. "type": "string"
  5396. },
  5397. "audittime": {
  5398. "description": "审核日期",
  5399. "type": "string"
  5400. },
  5401. "autoid": {
  5402. "description": "自增ID",
  5403. "type": "integer"
  5404. },
  5405. "content": {
  5406. "description": "内容",
  5407. "type": "string"
  5408. },
  5409. "createtime": {
  5410. "description": "创建时间",
  5411. "type": "string"
  5412. },
  5413. "creatorid": {
  5414. "description": "建仓人",
  5415. "type": "integer"
  5416. },
  5417. "endtime": {
  5418. "description": "结束时间",
  5419. "type": "string"
  5420. },
  5421. "istop": {
  5422. "description": "是否置顶 - 0:不置顶 1:置顶",
  5423. "type": "integer"
  5424. },
  5425. "msgiconurl": {
  5426. "description": "消息图标Url",
  5427. "type": "string"
  5428. },
  5429. "msgtype": {
  5430. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5431. "type": "integer"
  5432. },
  5433. "publisher": {
  5434. "description": "消息发布者",
  5435. "type": "string"
  5436. },
  5437. "readed": {
  5438. "description": "是否已读",
  5439. "type": "boolean"
  5440. },
  5441. "scheduletime": {
  5442. "description": "计划发送时间",
  5443. "type": "string"
  5444. },
  5445. "sendtype": {
  5446. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5447. "type": "integer"
  5448. },
  5449. "sentstatus": {
  5450. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5451. "type": "integer"
  5452. },
  5453. "title": {
  5454. "description": "标题",
  5455. "type": "string"
  5456. },
  5457. "userid": {
  5458. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5459. "type": "integer"
  5460. }
  5461. }
  5462. },
  5463. "common.QueryProvincesAndCitiesRsp": {
  5464. "type": "object",
  5465. "properties": {
  5466. "cities": {
  5467. "description": "市",
  5468. "type": "array",
  5469. "items": {
  5470. "$ref": "#/definitions/models.Division"
  5471. }
  5472. },
  5473. "province": {
  5474. "description": "省",
  5475. "type": "object",
  5476. "$ref": "#/definitions/models.Division"
  5477. }
  5478. }
  5479. },
  5480. "common.QueryTableDefineRsp": {
  5481. "type": "object",
  5482. "required": [
  5483. "tablekey"
  5484. ],
  5485. "properties": {
  5486. "columns": {
  5487. "description": "列头信息数组",
  5488. "type": "array",
  5489. "items": {
  5490. "$ref": "#/definitions/models.Tablecolumnconfig"
  5491. }
  5492. },
  5493. "remark": {
  5494. "description": "Remark",
  5495. "type": "string"
  5496. },
  5497. "tabelmenu": {
  5498. "description": "列表菜单",
  5499. "type": "string"
  5500. },
  5501. "tablekey": {
  5502. "description": "列表Key",
  5503. "type": "string"
  5504. },
  5505. "tablename": {
  5506. "description": "列表名称",
  5507. "type": "string"
  5508. },
  5509. "tabletype": {
  5510. "description": "列表类型 - 1:管理端 2:终端",
  5511. "type": "integer"
  5512. }
  5513. }
  5514. },
  5515. "common.QueryTraderMenuRsp": {
  5516. "type": "object",
  5517. "properties": {
  5518. "OperationMenu": {
  5519. "description": "功能菜单",
  5520. "type": "array",
  5521. "items": {
  5522. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5523. }
  5524. },
  5525. "QuoteMenu": {
  5526. "description": "报价牌分类菜单",
  5527. "type": "array",
  5528. "items": {
  5529. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "cptrade.Cptradepositioncancel": {
  5535. "type": "object",
  5536. "required": [
  5537. "cancelid"
  5538. ],
  5539. "properties": {
  5540. "accountid": {
  5541. "description": "申请人账户ID",
  5542. "type": "integer"
  5543. },
  5544. "applystatus": {
  5545. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5546. "type": "integer"
  5547. },
  5548. "applytime": {
  5549. "description": "申请时间",
  5550. "type": "string"
  5551. },
  5552. "cancelid": {
  5553. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5554. "type": "integer"
  5555. },
  5556. "cancelqty": {
  5557. "description": "注销数量",
  5558. "type": "integer"
  5559. },
  5560. "createtime": {
  5561. "description": "创建时间",
  5562. "type": "string"
  5563. },
  5564. "creatorid": {
  5565. "description": "创建人ID",
  5566. "type": "integer"
  5567. },
  5568. "creatorname": {
  5569. "description": "创建人",
  5570. "type": "string"
  5571. },
  5572. "goodscode": {
  5573. "description": "订单商品代码",
  5574. "type": "string"
  5575. },
  5576. "goodsid": {
  5577. "description": "商品ID",
  5578. "type": "integer"
  5579. },
  5580. "goodsname": {
  5581. "description": "订单商品名称",
  5582. "type": "string"
  5583. },
  5584. "goodunit": {
  5585. "description": "报价单位",
  5586. "type": "string"
  5587. },
  5588. "handlestatus": {
  5589. "description": "处理状态",
  5590. "type": "integer"
  5591. },
  5592. "marketid": {
  5593. "description": "市场ID",
  5594. "type": "integer"
  5595. },
  5596. "marketname": {
  5597. "description": "市场名称",
  5598. "type": "string"
  5599. },
  5600. "tradedate": {
  5601. "description": "交易日(yyyyMMdd)",
  5602. "type": "string"
  5603. },
  5604. "userid": {
  5605. "description": "申请人ID",
  5606. "type": "integer"
  5607. }
  5608. }
  5609. },
  5610. "cptrade.Cptradepresaleapply": {
  5611. "type": "object",
  5612. "required": [
  5613. "applyid"
  5614. ],
  5615. "properties": {
  5616. "accountid": {
  5617. "description": "申请人账户ID",
  5618. "type": "integer"
  5619. },
  5620. "applyid": {
  5621. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5622. "type": "integer"
  5623. },
  5624. "applyremark": {
  5625. "description": "申请备注",
  5626. "type": "string"
  5627. },
  5628. "applystatus": {
  5629. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5630. "type": "integer"
  5631. },
  5632. "applytime": {
  5633. "description": "申请时间",
  5634. "type": "string"
  5635. },
  5636. "attachmenturl": {
  5637. "description": "附件地址",
  5638. "type": "string"
  5639. },
  5640. "endtime": {
  5641. "description": "预售结束时间",
  5642. "type": "string"
  5643. },
  5644. "goodscode": {
  5645. "description": "商品代码",
  5646. "type": "string"
  5647. },
  5648. "goodsid": {
  5649. "description": "商品ID",
  5650. "type": "integer"
  5651. },
  5652. "goodsname": {
  5653. "description": "商品名称",
  5654. "type": "string"
  5655. },
  5656. "goodunit": {
  5657. "description": "报价单位",
  5658. "type": "string"
  5659. },
  5660. "handlestatus": {
  5661. "description": "处理状态",
  5662. "type": "integer"
  5663. },
  5664. "marketid": {
  5665. "description": "预售市场ID",
  5666. "type": "integer"
  5667. },
  5668. "marketname": {
  5669. "description": "预售市场名称",
  5670. "type": "string"
  5671. },
  5672. "presaleqty": {
  5673. "description": "预售数量",
  5674. "type": "integer"
  5675. },
  5676. "relatedgoodscode": {
  5677. "description": "关联交易合约代码",
  5678. "type": "string"
  5679. },
  5680. "relatedgoodsid": {
  5681. "description": "关联交易合约ID",
  5682. "type": "integer"
  5683. },
  5684. "relatedgoodsname": {
  5685. "description": "关联交易合约名称",
  5686. "type": "string"
  5687. },
  5688. "starttime": {
  5689. "description": "预售开始时间",
  5690. "type": "string"
  5691. },
  5692. "tradedate": {
  5693. "description": "交易日(yyyyMMdd)",
  5694. "type": "string"
  5695. },
  5696. "trademode": {
  5697. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5698. "type": "integer"
  5699. },
  5700. "userid": {
  5701. "description": "申请人ID",
  5702. "type": "integer"
  5703. }
  5704. }
  5705. },
  5706. "cptrade.Cptradeusergoodsdata": {
  5707. "type": "object",
  5708. "required": [
  5709. "accountid",
  5710. "goodsid"
  5711. ],
  5712. "properties": {
  5713. "EnabledQty": {
  5714. "description": "可用量",
  5715. "type": "integer"
  5716. },
  5717. "GoodsCode": {
  5718. "description": "订单商品代码",
  5719. "type": "string"
  5720. },
  5721. "GoodsName": {
  5722. "description": "订单商品名称",
  5723. "type": "string"
  5724. },
  5725. "WRStandardCode": {
  5726. "description": "仓单标准代码",
  5727. "type": "string"
  5728. },
  5729. "WRStandardName": {
  5730. "description": "仓单标准名称",
  5731. "type": "string"
  5732. },
  5733. "accountid": {
  5734. "description": "账户ID",
  5735. "type": "integer"
  5736. },
  5737. "cancelqty": {
  5738. "description": "注销量",
  5739. "type": "integer"
  5740. },
  5741. "curpresaleqty": {
  5742. "description": "当前预售量",
  5743. "type": "integer"
  5744. },
  5745. "deliveryqty": {
  5746. "description": "交割量",
  5747. "type": "integer"
  5748. },
  5749. "freezeamount": {
  5750. "description": "冻结金额",
  5751. "type": "number"
  5752. },
  5753. "goodsid": {
  5754. "description": "商品ID",
  5755. "type": "integer"
  5756. },
  5757. "goodunit": {
  5758. "description": "报价单位",
  5759. "type": "string"
  5760. },
  5761. "hasspotfreeze": {
  5762. "description": "是否有现货冻结 - 0:否 1:有",
  5763. "type": "integer"
  5764. },
  5765. "inqty": {
  5766. "description": "转入量(总数量)",
  5767. "type": "integer"
  5768. },
  5769. "marketid": {
  5770. "description": "市场ID",
  5771. "type": "integer"
  5772. },
  5773. "presaledamount": {
  5774. "description": "已预售总金额",
  5775. "type": "integer"
  5776. },
  5777. "presaledqty": {
  5778. "description": "已预售量",
  5779. "type": "integer"
  5780. },
  5781. "userid": {
  5782. "description": "用户ID",
  5783. "type": "integer"
  5784. },
  5785. "wrstandardid": {
  5786. "description": "仓单标准ID",
  5787. "type": "integer"
  5788. }
  5789. }
  5790. },
  5791. "cptrade.QueryCPTradeMyBidRsp": {
  5792. "type": "object",
  5793. "required": [
  5794. "accountid",
  5795. "goodsid",
  5796. "marketid",
  5797. "orderid",
  5798. "orderqty",
  5799. "ordertime",
  5800. "tradeprice",
  5801. "tradeqty"
  5802. ],
  5803. "properties": {
  5804. "accountid": {
  5805. "description": "账户ID[报价币种]",
  5806. "type": "integer"
  5807. },
  5808. "goodsid": {
  5809. "description": "商品ID",
  5810. "type": "integer"
  5811. },
  5812. "goodunit": {
  5813. "description": "报价单位",
  5814. "type": "string"
  5815. },
  5816. "marketid": {
  5817. "description": "市场ID",
  5818. "type": "integer"
  5819. },
  5820. "orderid": {
  5821. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5822. "type": "integer"
  5823. },
  5824. "orderprice": {
  5825. "description": "委托价格",
  5826. "type": "number"
  5827. },
  5828. "orderqty": {
  5829. "description": "委托数量",
  5830. "type": "integer"
  5831. },
  5832. "ordertime": {
  5833. "description": "委托时间",
  5834. "type": "string"
  5835. },
  5836. "ordertotalprice": {
  5837. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5838. "type": "number"
  5839. },
  5840. "ordertotalweight": {
  5841. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5842. "type": "integer"
  5843. },
  5844. "totaltotalprice": {
  5845. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5846. "type": "number"
  5847. },
  5848. "tradeprice": {
  5849. "description": "成交价格",
  5850. "type": "number"
  5851. },
  5852. "tradeqty": {
  5853. "description": "成交数量",
  5854. "type": "integer"
  5855. }
  5856. }
  5857. },
  5858. "cptrade.QueryCPTradeOrderDetailRsq": {
  5859. "type": "object",
  5860. "required": [
  5861. "accountid",
  5862. "buildtype",
  5863. "buyorsell",
  5864. "goodsid",
  5865. "marketid",
  5866. "memberuserid",
  5867. "operatetype",
  5868. "orderqty",
  5869. "ordertime",
  5870. "pricemode",
  5871. "strorderid",
  5872. "tradedate",
  5873. "validtype"
  5874. ],
  5875. "properties": {
  5876. "accountid": {
  5877. "description": "账户ID[报价币种]",
  5878. "type": "integer"
  5879. },
  5880. "buildtype": {
  5881. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5882. "type": "integer"
  5883. },
  5884. "buyorsell": {
  5885. "description": "买卖 - 0:买 1:卖",
  5886. "type": "integer"
  5887. },
  5888. "cancelorderid": {
  5889. "description": "撤单单号(撤单时填写)",
  5890. "type": "integer"
  5891. },
  5892. "cancelqty": {
  5893. "description": "撤单数量",
  5894. "type": "integer"
  5895. },
  5896. "clientordertime": {
  5897. "description": "客户端委托时间",
  5898. "type": "string"
  5899. },
  5900. "clientticket": {
  5901. "description": "客户端流水号",
  5902. "type": "string"
  5903. },
  5904. "clienttype": {
  5905. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5906. "type": "integer"
  5907. },
  5908. "closeexchagechargevalue": {
  5909. "description": "平仓交易所手续费设置值",
  5910. "type": "number"
  5911. },
  5912. "closefeealgorithm": {
  5913. "description": "平仓手续费收取方式 1:比率 2:固定",
  5914. "type": "integer"
  5915. },
  5916. "closefreezecharge": {
  5917. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5918. "type": "number"
  5919. },
  5920. "closememberchargevalue": {
  5921. "description": "平仓会员手续费设置值",
  5922. "type": "number"
  5923. },
  5924. "closeqty": {
  5925. "description": "平仓数量(先建后平操作 需要记录)",
  5926. "type": "integer"
  5927. },
  5928. "closetradeqty": {
  5929. "description": "平仓成交数量(先建后平操作,需要记录)",
  5930. "type": "integer"
  5931. },
  5932. "closeunfreezecharge": {
  5933. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5934. "type": "number"
  5935. },
  5936. "delistingtype": {
  5937. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5938. "type": "integer"
  5939. },
  5940. "freezecharge": {
  5941. "description": "冻结手续费",
  5942. "type": "number"
  5943. },
  5944. "freezemargin": {
  5945. "description": "冻结保证金(冻结交易金额)",
  5946. "type": "number"
  5947. },
  5948. "gcaccountid": {
  5949. "description": "账户ID[合约币种]",
  5950. "type": "integer"
  5951. },
  5952. "goodsid": {
  5953. "description": "商品ID",
  5954. "type": "integer"
  5955. },
  5956. "isconfirmexercise": {
  5957. "description": "是否确认行权- 0:否 1:是",
  5958. "type": "integer"
  5959. },
  5960. "ispreexercise": {
  5961. "description": "是否预申报- 0:否 1:是",
  5962. "type": "integer"
  5963. },
  5964. "listingselecttype": {
  5965. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5966. "type": "integer"
  5967. },
  5968. "marginalgorithm": {
  5969. "description": "保证金收取方式 1:比率 2:固定",
  5970. "type": "integer"
  5971. },
  5972. "marginvalue": {
  5973. "description": "即市保证金设置值",
  5974. "type": "number"
  5975. },
  5976. "marketid": {
  5977. "description": "市场ID",
  5978. "type": "integer"
  5979. },
  5980. "marketmaxsub": {
  5981. "description": "市价最大偏移范围",
  5982. "type": "number"
  5983. },
  5984. "memberuserid": {
  5985. "description": "所属会员UserID",
  5986. "type": "integer"
  5987. },
  5988. "openexchagechargevalue": {
  5989. "description": "建仓交易所手续费设置值",
  5990. "type": "number"
  5991. },
  5992. "openfeealgorithm": {
  5993. "description": "建仓手续费收取方式 1:比率 2:固定",
  5994. "type": "integer"
  5995. },
  5996. "openfreezecharge": {
  5997. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5998. "type": "number"
  5999. },
  6000. "openmemberchargevalue": {
  6001. "description": "建仓会员手续费设置值",
  6002. "type": "number"
  6003. },
  6004. "openqty": {
  6005. "description": "开仓数量(先建后平操作,需要记录)",
  6006. "type": "integer"
  6007. },
  6008. "opentradeqty": {
  6009. "description": "开仓成交数量(先建后平操作,需要记录)",
  6010. "type": "integer"
  6011. },
  6012. "openunfreezecharge": {
  6013. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6014. "type": "number"
  6015. },
  6016. "operatetype": {
  6017. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6018. "type": "integer"
  6019. },
  6020. "operatorid": {
  6021. "description": "登录账号(LoginID)",
  6022. "type": "integer"
  6023. },
  6024. "optiontype": {
  6025. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6026. "type": "integer"
  6027. },
  6028. "orderprice": {
  6029. "description": "委托价格",
  6030. "type": "number"
  6031. },
  6032. "orderqty": {
  6033. "description": "委托数量",
  6034. "type": "integer"
  6035. },
  6036. "ordersrc": {
  6037. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6038. "type": "integer"
  6039. },
  6040. "orderstatus": {
  6041. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6042. "type": "integer"
  6043. },
  6044. "ordertime": {
  6045. "description": "委托时间",
  6046. "type": "string"
  6047. },
  6048. "preexerciseprice": {
  6049. "description": "预申报价格",
  6050. "type": "number"
  6051. },
  6052. "premium": {
  6053. "description": "权利金",
  6054. "type": "number"
  6055. },
  6056. "preorderid": {
  6057. "description": "关联预埋单号(止盈止损单时填写)",
  6058. "type": "integer"
  6059. },
  6060. "pricemode": {
  6061. "description": "取价方式 - 1:市价 2: 限价",
  6062. "type": "integer"
  6063. },
  6064. "quoteid": {
  6065. "description": "报价单ID",
  6066. "type": "integer"
  6067. },
  6068. "relatedid": {
  6069. "description": "关联单号(交割单)",
  6070. "type": "integer"
  6071. },
  6072. "retcode": {
  6073. "description": "错误代码",
  6074. "type": "integer"
  6075. },
  6076. "sessionid": {
  6077. "description": "会话ID",
  6078. "type": "integer"
  6079. },
  6080. "strorderid": {
  6081. "description": "委托单号",
  6082. "type": "string"
  6083. },
  6084. "tradedate": {
  6085. "description": "交易日(yyyyMMdd)",
  6086. "type": "string"
  6087. },
  6088. "tradeproperty": {
  6089. "description": "交易属性",
  6090. "type": "integer"
  6091. },
  6092. "tradeqty": {
  6093. "description": "成交数量",
  6094. "type": "integer"
  6095. },
  6096. "unfreezecharge": {
  6097. "description": "解冻手续费",
  6098. "type": "number"
  6099. },
  6100. "unfreezemargin": {
  6101. "description": "解冻保证金",
  6102. "type": "number"
  6103. },
  6104. "updatetime": {
  6105. "description": "更新时间",
  6106. "type": "string"
  6107. },
  6108. "uuid": {
  6109. "description": "发起端唯一id",
  6110. "type": "string"
  6111. },
  6112. "validtime": {
  6113. "description": "有效期限",
  6114. "type": "string"
  6115. },
  6116. "validtype": {
  6117. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6118. "type": "integer"
  6119. },
  6120. "volumetype": {
  6121. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6122. "type": "integer"
  6123. }
  6124. }
  6125. },
  6126. "cptrade.QueryMyCPTradeGoodsRsp": {
  6127. "type": "object",
  6128. "required": [
  6129. "goodscode",
  6130. "goodsid",
  6131. "goodsname",
  6132. "marketid",
  6133. "relatedgoodscode",
  6134. "relatedgoodsname"
  6135. ],
  6136. "properties": {
  6137. "accountid": {
  6138. "description": "卖方账户ID",
  6139. "type": "integer"
  6140. },
  6141. "agreeunit": {
  6142. "description": "合约单位",
  6143. "type": "number"
  6144. },
  6145. "applyid": {
  6146. "description": "关联申请ID",
  6147. "type": "integer"
  6148. },
  6149. "attachmenturl": {
  6150. "description": "附件地址",
  6151. "type": "string"
  6152. },
  6153. "createtime": {
  6154. "description": "创建时间",
  6155. "type": "string"
  6156. },
  6157. "currencyid": {
  6158. "description": "报价货币ID",
  6159. "type": "integer"
  6160. },
  6161. "decimalplace": {
  6162. "description": "报价小数位",
  6163. "type": "integer"
  6164. },
  6165. "endtime": {
  6166. "description": "预售结束时间",
  6167. "type": "string"
  6168. },
  6169. "floorprice": {
  6170. "description": "底价[大宗式竞拍]",
  6171. "type": "number"
  6172. },
  6173. "goodscode": {
  6174. "description": "商品代码(预售)",
  6175. "type": "string"
  6176. },
  6177. "goodsdetail": {
  6178. "description": "详情[大宗]",
  6179. "type": "string"
  6180. },
  6181. "goodsid": {
  6182. "description": "商品ID(自增ID SEQ_GOODS)",
  6183. "type": "integer"
  6184. },
  6185. "goodsname": {
  6186. "description": "商品名称(预售)",
  6187. "type": "string"
  6188. },
  6189. "goodunit": {
  6190. "description": "报价单位",
  6191. "type": "string"
  6192. },
  6193. "goodunitid": {
  6194. "description": "报价单位ID",
  6195. "type": "integer"
  6196. },
  6197. "marketid": {
  6198. "description": "所属市场ID",
  6199. "type": "integer"
  6200. },
  6201. "marketname": {
  6202. "description": "预售市场名称",
  6203. "type": "string"
  6204. },
  6205. "presaledamount": {
  6206. "description": "已预售总金额(预售结束时更新)",
  6207. "type": "number"
  6208. },
  6209. "presaledqty": {
  6210. "description": "已预售量(预售结束时更新)",
  6211. "type": "integer"
  6212. },
  6213. "presalemode": {
  6214. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6215. "type": "integer"
  6216. },
  6217. "presaleqty": {
  6218. "description": "预售数量",
  6219. "type": "integer"
  6220. },
  6221. "refprice": {
  6222. "description": "参考价格[一口价]",
  6223. "type": "number"
  6224. },
  6225. "relatedgoodscode": {
  6226. "description": "商品代码(订单)",
  6227. "type": "string"
  6228. },
  6229. "relatedgoodsid": {
  6230. "description": "关联交易合约ID",
  6231. "type": "integer"
  6232. },
  6233. "relatedgoodsname": {
  6234. "description": "商品名称(订单)",
  6235. "type": "string"
  6236. },
  6237. "relatedmarketid": {
  6238. "description": "关联交易合约市场ID",
  6239. "type": "integer"
  6240. },
  6241. "sellstatus": {
  6242. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6243. "type": "integer"
  6244. },
  6245. "startprice": {
  6246. "description": "起拍价[大宗式竞拍]",
  6247. "type": "number"
  6248. },
  6249. "starttime": {
  6250. "description": "预售开始时间",
  6251. "type": "string"
  6252. },
  6253. "tradedate": {
  6254. "description": "交易日(yyyyMMdd)",
  6255. "type": "string"
  6256. },
  6257. "tradeprice": {
  6258. "description": "成交价[大宗]",
  6259. "type": "number"
  6260. },
  6261. "userid": {
  6262. "description": "卖方用户ID",
  6263. "type": "integer"
  6264. }
  6265. }
  6266. },
  6267. "cptrade.QueryPresaleGoodsExRsp": {
  6268. "type": "object",
  6269. "required": [
  6270. "goodsid"
  6271. ],
  6272. "properties": {
  6273. "attachmenturl": {
  6274. "description": "附件地址",
  6275. "type": "string"
  6276. },
  6277. "createtime": {
  6278. "description": "创建时间",
  6279. "type": "string"
  6280. },
  6281. "endtime": {
  6282. "description": "预售结束时间",
  6283. "type": "string"
  6284. },
  6285. "floorprice": {
  6286. "description": "底价[大宗式竞拍]",
  6287. "type": "number"
  6288. },
  6289. "goodsdetail": {
  6290. "description": "详情[大宗]",
  6291. "type": "string"
  6292. },
  6293. "goodsid": {
  6294. "description": "商品ID(预售)",
  6295. "type": "integer"
  6296. },
  6297. "goodunit": {
  6298. "description": "报价单位",
  6299. "type": "string"
  6300. },
  6301. "marketid": {
  6302. "description": "预售市场ID - 根据预售模式选择市场",
  6303. "type": "integer"
  6304. },
  6305. "presaledamount": {
  6306. "description": "已预售总金额(预售结束时更新)",
  6307. "type": "number"
  6308. },
  6309. "presaledqty": {
  6310. "description": "已预售量(预售结束时更新)",
  6311. "type": "integer"
  6312. },
  6313. "presalemode": {
  6314. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6315. "type": "integer"
  6316. },
  6317. "presaleqty": {
  6318. "description": "预售数量",
  6319. "type": "integer"
  6320. },
  6321. "refprice": {
  6322. "description": "参考价格[一口价]",
  6323. "type": "number"
  6324. },
  6325. "relatedgoodsid": {
  6326. "description": "关联交易合约ID",
  6327. "type": "integer"
  6328. },
  6329. "relatedmarketid": {
  6330. "description": "关联交易合约市场ID",
  6331. "type": "integer"
  6332. },
  6333. "sellstatus": {
  6334. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6335. "type": "integer"
  6336. },
  6337. "startprice": {
  6338. "description": "起拍价[大宗式竞拍]",
  6339. "type": "number"
  6340. },
  6341. "starttime": {
  6342. "description": "预售开始时间",
  6343. "type": "string"
  6344. },
  6345. "tradedate": {
  6346. "description": "交易日(yyyyMMdd)",
  6347. "type": "string"
  6348. },
  6349. "tradeprice": {
  6350. "description": "成交价[大宗]",
  6351. "type": "number"
  6352. }
  6353. }
  6354. },
  6355. "delivery.QueryDeliveryRelationRsp": {
  6356. "type": "object",
  6357. "required": [
  6358. "begindate",
  6359. "enddate",
  6360. "goodsid",
  6361. "mindeliveryqty",
  6362. "xdeliveryratio"
  6363. ],
  6364. "properties": {
  6365. "begindate": {
  6366. "description": "起始日期(yyyyMMdd)",
  6367. "type": "string"
  6368. },
  6369. "buytemplateid": {
  6370. "description": "买履约计划模板ID",
  6371. "type": "integer"
  6372. },
  6373. "deliverygoodscode": {
  6374. "description": "品种代码",
  6375. "type": "string"
  6376. },
  6377. "deliverygoodsid": {
  6378. "description": "交割商品",
  6379. "type": "integer"
  6380. },
  6381. "deliverygoodsname": {
  6382. "description": "品种名称",
  6383. "type": "string"
  6384. },
  6385. "deliverymode": {
  6386. "description": "交割方式 - 1:点选式 2:申报式",
  6387. "type": "integer"
  6388. },
  6389. "deliverypricerule": {
  6390. "description": "交割价规则- 1:行情价 2:建仓价",
  6391. "type": "integer"
  6392. },
  6393. "deliverytype": {
  6394. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6395. "type": "integer"
  6396. },
  6397. "enddate": {
  6398. "description": "结束日期(yyyyMMdd)",
  6399. "type": "string"
  6400. },
  6401. "goodscode": {
  6402. "description": "商品代码",
  6403. "type": "string"
  6404. },
  6405. "goodsid": {
  6406. "description": "交易合约ID",
  6407. "type": "integer"
  6408. },
  6409. "goodsname": {
  6410. "description": "商品名称",
  6411. "type": "string"
  6412. },
  6413. "marketid": {
  6414. "description": "市场ID",
  6415. "type": "integer"
  6416. },
  6417. "mindeliveryqty": {
  6418. "description": "最小交割系数(K)",
  6419. "type": "integer"
  6420. },
  6421. "p2deliveryprice": {
  6422. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6423. "type": "number"
  6424. },
  6425. "p2deliveryratio": {
  6426. "description": "P2合约系数(p)",
  6427. "type": "integer"
  6428. },
  6429. "p2goodsid": {
  6430. "description": "P2合约ID",
  6431. "type": "integer"
  6432. },
  6433. "p2pricemode": {
  6434. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6435. "type": "integer"
  6436. },
  6437. "pdeliveryprice": {
  6438. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6439. "type": "number"
  6440. },
  6441. "pdeliveryratio": {
  6442. "description": "P合约系数(n)",
  6443. "type": "integer"
  6444. },
  6445. "pgoodsid": {
  6446. "description": "P合约ID",
  6447. "type": "integer"
  6448. },
  6449. "ppricemode": {
  6450. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6451. "type": "integer"
  6452. },
  6453. "rratio": {
  6454. "description": "兑换系数(R)",
  6455. "type": "integer"
  6456. },
  6457. "rratio1": {
  6458. "description": "兑换系数(交易合约)(R1)",
  6459. "type": "integer"
  6460. },
  6461. "rratio2": {
  6462. "description": "兑换系数(仓单标准)(R2)",
  6463. "type": "integer"
  6464. },
  6465. "selltemplateid": {
  6466. "description": "卖履约计划模板ID",
  6467. "type": "integer"
  6468. },
  6469. "wrstandardid": {
  6470. "description": "仓单标准ID",
  6471. "type": "integer"
  6472. },
  6473. "xdeliveryratio": {
  6474. "description": "交易合约系数(m)",
  6475. "type": "integer"
  6476. }
  6477. }
  6478. },
  6479. "ermcp.ExposureDetailRsp": {
  6480. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6481. },
  6482. "ermcp.ExposureHedgePosDetailRsp": {
  6483. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  6484. },
  6485. "ermcp.ExposureHedgePositionRsp": {
  6486. "$ref": "#/definitions/models.ErmcpHedgePosition"
  6487. },
  6488. "ermcp.ExposureSpotDetailRsp": {
  6489. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6490. },
  6491. "ermcp.ExposureSpotRsp": {
  6492. "$ref": "#/definitions/models.AreaSpotModel"
  6493. },
  6494. "ermcp.HisExposureRsp": {
  6495. "$ref": "#/definitions/models.ErmcpHisExposure"
  6496. },
  6497. "ermcp.QryAvalidGPRsp": {
  6498. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6499. },
  6500. "ermcp.QryBusinessDjRsp": {
  6501. "type": "object",
  6502. "properties": {
  6503. "amount": {
  6504. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6505. "type": "number"
  6506. },
  6507. "applyid": {
  6508. "description": "申请人",
  6509. "type": "string"
  6510. },
  6511. "applyname": {
  6512. "description": "申请人名称",
  6513. "type": "string"
  6514. },
  6515. "applystatus": {
  6516. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6517. "type": "integer"
  6518. },
  6519. "applytime": {
  6520. "description": "申请时间",
  6521. "type": "string"
  6522. },
  6523. "auditname": {
  6524. "description": "审核人名称",
  6525. "type": "string"
  6526. },
  6527. "audittime": {
  6528. "description": "审核时间",
  6529. "type": "string"
  6530. },
  6531. "buyusername": {
  6532. "description": "采购方名称",
  6533. "type": "string"
  6534. },
  6535. "contractno": {
  6536. "description": "合同编号",
  6537. "type": "string"
  6538. },
  6539. "contractstatus": {
  6540. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6541. "type": "integer"
  6542. },
  6543. "contracttype": {
  6544. "description": "现货合同类型 - 1:采购 -1:销售",
  6545. "type": "integer"
  6546. },
  6547. "enumdicname": {
  6548. "description": "单位名称",
  6549. "type": "string"
  6550. },
  6551. "goodscode": {
  6552. "description": "点价合约",
  6553. "type": "string"
  6554. },
  6555. "goodsname": {
  6556. "description": "商品名称",
  6557. "type": "string"
  6558. },
  6559. "operateapplyid": {
  6560. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6561. "type": "string"
  6562. },
  6563. "operateapplytype": {
  6564. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6565. "type": "integer"
  6566. },
  6567. "pricedPrice": {
  6568. "description": "点价价格(非必填)",
  6569. "type": "number"
  6570. },
  6571. "pricedQty": {
  6572. "description": "点价数量(非必填)",
  6573. "type": "number"
  6574. },
  6575. "pricemove": {
  6576. "description": "升贴水",
  6577. "type": "number"
  6578. },
  6579. "pricetype": {
  6580. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6581. "type": "integer"
  6582. },
  6583. "relatedid": {
  6584. "description": "现货合同ID",
  6585. "type": "string"
  6586. },
  6587. "sellusername": {
  6588. "description": "销售方名字",
  6589. "type": "string"
  6590. },
  6591. "userid": {
  6592. "description": "用户ID",
  6593. "type": "integer"
  6594. }
  6595. }
  6596. },
  6597. "ermcp.QryBussinessFpRsp": {
  6598. "type": "object",
  6599. "properties": {
  6600. "applyid": {
  6601. "description": "申请人",
  6602. "type": "string"
  6603. },
  6604. "applyname": {
  6605. "description": "申请人名称",
  6606. "type": "string"
  6607. },
  6608. "applystatus": {
  6609. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6610. "type": "integer"
  6611. },
  6612. "applytime": {
  6613. "description": "申请时间",
  6614. "type": "string"
  6615. },
  6616. "auditname": {
  6617. "description": "审核人名称",
  6618. "type": "string"
  6619. },
  6620. "audittime": {
  6621. "description": "审核时间",
  6622. "type": "string"
  6623. },
  6624. "buyusername": {
  6625. "description": "采购方名称",
  6626. "type": "string"
  6627. },
  6628. "contractno": {
  6629. "description": "合同编号",
  6630. "type": "string"
  6631. },
  6632. "contractstatus": {
  6633. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6634. "type": "integer"
  6635. },
  6636. "contracttype": {
  6637. "description": "现货合同类型 - 1:采购 -1:销售",
  6638. "type": "integer"
  6639. },
  6640. "enumdicname": {
  6641. "description": "单位名称",
  6642. "type": "string"
  6643. },
  6644. "goodscode": {
  6645. "description": "点价合约",
  6646. "type": "string"
  6647. },
  6648. "goodsname": {
  6649. "description": "商品名称",
  6650. "type": "string"
  6651. },
  6652. "invoiceAmount": {
  6653. "description": "已开收票金额(销售为开票,采购为收票)",
  6654. "type": "number"
  6655. },
  6656. "operateapplyid": {
  6657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6658. "type": "string"
  6659. },
  6660. "operateapplytype": {
  6661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6662. "type": "integer"
  6663. },
  6664. "pricemove": {
  6665. "description": "升贴水",
  6666. "type": "number"
  6667. },
  6668. "pricetype": {
  6669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6670. "type": "integer"
  6671. },
  6672. "relatedid": {
  6673. "description": "现货合同ID",
  6674. "type": "string"
  6675. },
  6676. "sellusername": {
  6677. "description": "销售方名字",
  6678. "type": "string"
  6679. },
  6680. "userid": {
  6681. "description": "用户ID",
  6682. "type": "integer"
  6683. }
  6684. }
  6685. },
  6686. "ermcp.QryBussinessJsExRsp": {
  6687. "type": "object",
  6688. "properties": {
  6689. "applyid": {
  6690. "description": "申请人",
  6691. "type": "string"
  6692. },
  6693. "applyname": {
  6694. "description": "申请人名称",
  6695. "type": "string"
  6696. },
  6697. "applystatus": {
  6698. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6699. "type": "integer"
  6700. },
  6701. "applytime": {
  6702. "description": "申请时间",
  6703. "type": "string"
  6704. },
  6705. "auditname": {
  6706. "description": "审核人名称",
  6707. "type": "string"
  6708. },
  6709. "audittime": {
  6710. "description": "审核时间",
  6711. "type": "string"
  6712. },
  6713. "buyusername": {
  6714. "description": "采购方名称",
  6715. "type": "string"
  6716. },
  6717. "contractno": {
  6718. "description": "合同编号",
  6719. "type": "string"
  6720. },
  6721. "contractstatus": {
  6722. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6723. "type": "integer"
  6724. },
  6725. "contracttype": {
  6726. "description": "现货合同类型 - 1:采购 -1:销售",
  6727. "type": "integer"
  6728. },
  6729. "enumdicname": {
  6730. "description": "单位名称",
  6731. "type": "string"
  6732. },
  6733. "goodscode": {
  6734. "description": "点价合约",
  6735. "type": "string"
  6736. },
  6737. "goodsname": {
  6738. "description": "商品名称",
  6739. "type": "string"
  6740. },
  6741. "operateapplyid": {
  6742. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6743. "type": "string"
  6744. },
  6745. "operateapplytype": {
  6746. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6747. "type": "integer"
  6748. },
  6749. "pricemove": {
  6750. "description": "升贴水",
  6751. "type": "number"
  6752. },
  6753. "pricetype": {
  6754. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6755. "type": "integer"
  6756. },
  6757. "reckontype": {
  6758. "description": "结算类型",
  6759. "type": "string"
  6760. },
  6761. "reckonvalue": {
  6762. "description": "值",
  6763. "type": "number"
  6764. },
  6765. "relatedid": {
  6766. "description": "现货合同ID",
  6767. "type": "string"
  6768. },
  6769. "sellusername": {
  6770. "description": "销售方名字",
  6771. "type": "string"
  6772. },
  6773. "userid": {
  6774. "description": "用户ID",
  6775. "type": "integer"
  6776. }
  6777. }
  6778. },
  6779. "ermcp.QryBussinessJsRsp": {
  6780. "type": "object",
  6781. "properties": {
  6782. "addmargin": {
  6783. "description": "追加保证金(非必填)",
  6784. "type": "number"
  6785. },
  6786. "applyid": {
  6787. "description": "申请人",
  6788. "type": "string"
  6789. },
  6790. "applyname": {
  6791. "description": "申请人名称",
  6792. "type": "string"
  6793. },
  6794. "applystatus": {
  6795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6796. "type": "integer"
  6797. },
  6798. "applytime": {
  6799. "description": "申请时间",
  6800. "type": "string"
  6801. },
  6802. "auditname": {
  6803. "description": "审核人名称",
  6804. "type": "string"
  6805. },
  6806. "audittime": {
  6807. "description": "审核时间",
  6808. "type": "string"
  6809. },
  6810. "buyusername": {
  6811. "description": "采购方名称",
  6812. "type": "string"
  6813. },
  6814. "contractno": {
  6815. "description": "合同编号",
  6816. "type": "string"
  6817. },
  6818. "contractstatus": {
  6819. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6820. "type": "integer"
  6821. },
  6822. "contracttype": {
  6823. "description": "现货合同类型 - 1:采购 -1:销售",
  6824. "type": "integer"
  6825. },
  6826. "decmargin": {
  6827. "description": "减少保证金(非必填)",
  6828. "type": "number"
  6829. },
  6830. "enumdicname": {
  6831. "description": "单位名称",
  6832. "type": "string"
  6833. },
  6834. "goodscode": {
  6835. "description": "点价合约",
  6836. "type": "string"
  6837. },
  6838. "goodsname": {
  6839. "description": "商品名称",
  6840. "type": "string"
  6841. },
  6842. "operateapplyid": {
  6843. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6844. "type": "string"
  6845. },
  6846. "operateapplytype": {
  6847. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6848. "type": "integer"
  6849. },
  6850. "pricemove": {
  6851. "description": "升贴水",
  6852. "type": "number"
  6853. },
  6854. "pricetype": {
  6855. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6856. "type": "integer"
  6857. },
  6858. "reckonadjustamount": {
  6859. "description": "结算调整金额(非必填)",
  6860. "type": "number"
  6861. },
  6862. "reckonosamount": {
  6863. "description": "结算溢短金额(非必填)",
  6864. "type": "number"
  6865. },
  6866. "reckonotheramount": {
  6867. "description": "结算其他费用(非必填)",
  6868. "type": "number"
  6869. },
  6870. "reckonrealqty": {
  6871. "description": "结算实际数量(非必填)",
  6872. "type": "number"
  6873. },
  6874. "relatedid": {
  6875. "description": "现货合同ID",
  6876. "type": "string"
  6877. },
  6878. "sellusername": {
  6879. "description": "销售方名字",
  6880. "type": "string"
  6881. },
  6882. "userid": {
  6883. "description": "用户ID",
  6884. "type": "integer"
  6885. }
  6886. }
  6887. },
  6888. "ermcp.QryBussinessKxRsp": {
  6889. "type": "object",
  6890. "properties": {
  6891. "applyid": {
  6892. "description": "申请人",
  6893. "type": "string"
  6894. },
  6895. "applyname": {
  6896. "description": "申请人名称",
  6897. "type": "string"
  6898. },
  6899. "applystatus": {
  6900. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6901. "type": "integer"
  6902. },
  6903. "applytime": {
  6904. "description": "申请时间",
  6905. "type": "string"
  6906. },
  6907. "auditname": {
  6908. "description": "审核人名称",
  6909. "type": "string"
  6910. },
  6911. "audittime": {
  6912. "description": "审核时间",
  6913. "type": "string"
  6914. },
  6915. "buyusername": {
  6916. "description": "采购方名称",
  6917. "type": "string"
  6918. },
  6919. "contractno": {
  6920. "description": "合同编号",
  6921. "type": "string"
  6922. },
  6923. "contractstatus": {
  6924. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6925. "type": "integer"
  6926. },
  6927. "contracttype": {
  6928. "description": "现货合同类型 - 1:采购 -1:销售",
  6929. "type": "integer"
  6930. },
  6931. "deductamount": {
  6932. "description": "退款(非必填)",
  6933. "type": "number"
  6934. },
  6935. "enumdicname": {
  6936. "description": "单位名称",
  6937. "type": "string"
  6938. },
  6939. "goodscode": {
  6940. "description": "点价合约",
  6941. "type": "string"
  6942. },
  6943. "goodsname": {
  6944. "description": "商品名称",
  6945. "type": "string"
  6946. },
  6947. "kxtype": {
  6948. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6949. "type": "integer"
  6950. },
  6951. "operateapplyid": {
  6952. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6953. "type": "string"
  6954. },
  6955. "operateapplytype": {
  6956. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6957. "type": "integer"
  6958. },
  6959. "payamount": {
  6960. "description": "收付款(非必填)",
  6961. "type": "number"
  6962. },
  6963. "pricemove": {
  6964. "description": "升贴水",
  6965. "type": "number"
  6966. },
  6967. "pricetype": {
  6968. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6969. "type": "integer"
  6970. },
  6971. "relatedid": {
  6972. "description": "现货合同ID",
  6973. "type": "string"
  6974. },
  6975. "sellusername": {
  6976. "description": "销售方名字",
  6977. "type": "string"
  6978. },
  6979. "userid": {
  6980. "description": "用户ID",
  6981. "type": "integer"
  6982. }
  6983. }
  6984. },
  6985. "ermcp.QryErmcpRsp": {
  6986. "$ref": "#/definitions/models.ErmcpModel"
  6987. },
  6988. "ermcp.QryGGCovertCfgRsp": {
  6989. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6990. },
  6991. "ermcp.QryHedgePlanRsp": {
  6992. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6993. },
  6994. "ermcp.QryMGChangeLogRsp": {
  6995. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6996. },
  6997. "ermcp.QryMiddleGoodsDetailRsp": {
  6998. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6999. },
  7000. "ermcp.QryMiddleGoodsRsp": {
  7001. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7002. },
  7003. "ermcp.QryOPLogRsp": {
  7004. "$ref": "#/definitions/models.ErmcpOPLogModel"
  7005. },
  7006. "ermcp.QrySpotContractRsp": {
  7007. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  7008. },
  7009. "ermcp.QryUserInfoRsp": {
  7010. "$ref": "#/definitions/models.ErmcpUserModel"
  7011. },
  7012. "ermcp.QryWrStandardDetailRsp": {
  7013. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  7014. },
  7015. "ermcp.QryWrStandardRsp": {
  7016. "$ref": "#/definitions/models.ErmcpWrstandard"
  7017. },
  7018. "ermcp.RealtimeExposurePositionRsp": {
  7019. "$ref": "#/definitions/models.ErmcpExposurePostion"
  7020. },
  7021. "ermcp.RealtimeExposureRsp": {
  7022. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  7023. },
  7024. "erms2.QueryArbitrageStrategyRsp": {
  7025. "type": "object",
  7026. "required": [
  7027. "asapplyid"
  7028. ],
  7029. "properties": {
  7030. "applybasis": {
  7031. "description": "申请基差",
  7032. "type": "number"
  7033. },
  7034. "asapplyid": {
  7035. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  7036. "type": "string"
  7037. },
  7038. "asname": {
  7039. "description": "策略名称",
  7040. "type": "string"
  7041. },
  7042. "asno": {
  7043. "description": "策略编号",
  7044. "type": "string"
  7045. },
  7046. "basischangepl": {
  7047. "description": "基差变动损益[结算更新]",
  7048. "type": "number"
  7049. },
  7050. "biztype": {
  7051. "description": "业务类型 - 1:正向套利 -1:反向套利",
  7052. "type": "integer"
  7053. },
  7054. "closetradedate": {
  7055. "description": "完结交易日(yyyyMMdd)",
  7056. "type": "string"
  7057. },
  7058. "curbasis": {
  7059. "description": "当前基差[结算更新]",
  7060. "type": "number"
  7061. },
  7062. "deliverygoodsid": {
  7063. "description": "现货品种ID",
  7064. "type": "integer"
  7065. },
  7066. "futureavgprice": {
  7067. "description": "期货建仓均价",
  7068. "type": "number"
  7069. },
  7070. "futurecloseamount": {
  7071. "description": "期货平仓金额",
  7072. "type": "number"
  7073. },
  7074. "futurecloseqty": {
  7075. "description": "期货平仓数量",
  7076. "type": "number"
  7077. },
  7078. "futureopenamount": {
  7079. "description": "期货开仓金额",
  7080. "type": "number"
  7081. },
  7082. "futureopenqty": {
  7083. "description": "期货开仓数量",
  7084. "type": "number"
  7085. },
  7086. "futurepl": {
  7087. "description": "期货总盈亏[结算更新]",
  7088. "type": "number"
  7089. },
  7090. "futureqty": {
  7091. "description": "期货持仓数量",
  7092. "type": "number"
  7093. },
  7094. "futurequote": {
  7095. "description": "期货额度",
  7096. "type": "number"
  7097. },
  7098. "goodsgroupid": {
  7099. "description": "期货品种ID",
  7100. "type": "integer"
  7101. },
  7102. "marketid": {
  7103. "description": "市场ID",
  7104. "type": "integer"
  7105. },
  7106. "netexposure": {
  7107. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  7108. "type": "number"
  7109. },
  7110. "netexposurepl": {
  7111. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  7112. "type": "number"
  7113. },
  7114. "netexposurerate": {
  7115. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  7116. "type": "number"
  7117. },
  7118. "openbasis": {
  7119. "description": "建仓基差",
  7120. "type": "number"
  7121. },
  7122. "pricedspotqty": {
  7123. "description": "已定价现货数量",
  7124. "type": "number"
  7125. },
  7126. "pricedspotqtynotax": {
  7127. "description": "已定价现货不含税数量",
  7128. "type": "number"
  7129. },
  7130. "remark": {
  7131. "description": "备注",
  7132. "type": "string"
  7133. },
  7134. "spotavgprice": {
  7135. "description": "现货均价",
  7136. "type": "number"
  7137. },
  7138. "spotbuyamount": {
  7139. "description": "现货采购金额",
  7140. "type": "number"
  7141. },
  7142. "spotbuyqty": {
  7143. "description": "现货采购数量",
  7144. "type": "number"
  7145. },
  7146. "spotpl": {
  7147. "description": "现货总盈亏[结算更新]",
  7148. "type": "number"
  7149. },
  7150. "spotquota": {
  7151. "description": "现货额度",
  7152. "type": "number"
  7153. },
  7154. "spotsellamount": {
  7155. "description": "现货销售金额",
  7156. "type": "number"
  7157. },
  7158. "spotsellqty": {
  7159. "description": "现货销售数量",
  7160. "type": "number"
  7161. },
  7162. "spotusedquota": {
  7163. "description": "现货占用资金",
  7164. "type": "number"
  7165. },
  7166. "strategystatus": {
  7167. "description": "策略状态 - 0:未结束 1:已结束",
  7168. "type": "integer"
  7169. },
  7170. "totalpl": {
  7171. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7172. "type": "number"
  7173. },
  7174. "tradedate": {
  7175. "description": "交易日(yyyyMMdd)",
  7176. "type": "string"
  7177. },
  7178. "updatetime": {
  7179. "description": "更新时间",
  7180. "type": "string"
  7181. },
  7182. "usedquota": {
  7183. "description": "已占用资金",
  7184. "type": "number"
  7185. },
  7186. "userid": {
  7187. "description": "所属机构",
  7188. "type": "integer"
  7189. }
  7190. }
  7191. },
  7192. "erms2.QueryInnerTradeDetailRsp": {
  7193. "type": "object",
  7194. "required": [
  7195. "asapplyid",
  7196. "buyorsell",
  7197. "goodscode",
  7198. "goodsgroupid",
  7199. "goodsgroupname",
  7200. "goodsname",
  7201. "tradeid"
  7202. ],
  7203. "properties": {
  7204. "accountid": {
  7205. "description": "账号ID",
  7206. "type": "integer"
  7207. },
  7208. "agreeunit": {
  7209. "description": "合约单位",
  7210. "type": "number"
  7211. },
  7212. "asapplyid": {
  7213. "description": "策略申请ID",
  7214. "type": "integer"
  7215. },
  7216. "asname": {
  7217. "description": "策略名称",
  7218. "type": "string"
  7219. },
  7220. "asno": {
  7221. "description": "策略编号",
  7222. "type": "string"
  7223. },
  7224. "buyorsell": {
  7225. "description": "方向 - 0:买 1:卖",
  7226. "type": "integer"
  7227. },
  7228. "channelbuildtype": {
  7229. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7230. "type": "integer"
  7231. },
  7232. "closetype": {
  7233. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7234. "type": "integer"
  7235. },
  7236. "decimalplace": {
  7237. "description": "报价小数位",
  7238. "type": "integer"
  7239. },
  7240. "detailtype": {
  7241. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7242. "type": "integer"
  7243. },
  7244. "exexchangecode": {
  7245. "description": "外部交易所代码",
  7246. "type": "string"
  7247. },
  7248. "exexchangename": {
  7249. "description": "外部交易所名称",
  7250. "type": "string"
  7251. },
  7252. "goodscode": {
  7253. "description": "商品代码(合约)",
  7254. "type": "string"
  7255. },
  7256. "goodsgroupid": {
  7257. "description": "商品组ID(品种ID)",
  7258. "type": "integer"
  7259. },
  7260. "goodsgroupname": {
  7261. "description": "商品组名称(品种)",
  7262. "type": "string"
  7263. },
  7264. "goodsid": {
  7265. "description": "商品ID",
  7266. "type": "integer"
  7267. },
  7268. "goodsname": {
  7269. "description": "商品名称(合约)",
  7270. "type": "string"
  7271. },
  7272. "goodunit": {
  7273. "description": "报价单位",
  7274. "type": "string"
  7275. },
  7276. "marketid": {
  7277. "description": "市场ID",
  7278. "type": "integer"
  7279. },
  7280. "orderid": {
  7281. "description": "委托单号",
  7282. "type": "string"
  7283. },
  7284. "outgoodscode": {
  7285. "description": "商品代码(外部)",
  7286. "type": "string"
  7287. },
  7288. "relatedouttradeid": {
  7289. "description": "关联外部成交单ID",
  7290. "type": "string"
  7291. },
  7292. "remark": {
  7293. "description": "备注",
  7294. "type": "string"
  7295. },
  7296. "spotcontractid": {
  7297. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7298. "type": "integer"
  7299. },
  7300. "spotcontractno": {
  7301. "description": "现货合同编号",
  7302. "type": "string"
  7303. },
  7304. "tradeid": {
  7305. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7306. "type": "string"
  7307. },
  7308. "tradeprice": {
  7309. "description": "成交价格",
  7310. "type": "number"
  7311. },
  7312. "tradeqty": {
  7313. "description": "成交数量",
  7314. "type": "integer"
  7315. },
  7316. "tradetime": {
  7317. "description": "成交时间",
  7318. "type": "string"
  7319. },
  7320. "updatetime": {
  7321. "description": "更新时间",
  7322. "type": "string"
  7323. }
  7324. }
  7325. },
  7326. "erms2.QuerySpotContractRsp": {
  7327. "type": "object",
  7328. "required": [
  7329. "spotcontractid"
  7330. ],
  7331. "properties": {
  7332. "accountid": {
  7333. "description": "资金账户ID",
  7334. "type": "integer"
  7335. },
  7336. "areauserid": {
  7337. "description": "所属机构",
  7338. "type": "integer"
  7339. },
  7340. "closedate": {
  7341. "description": "终止日期",
  7342. "type": "string"
  7343. },
  7344. "closeremark": {
  7345. "description": "结束备注",
  7346. "type": "string"
  7347. },
  7348. "closetradedate": {
  7349. "description": "完结交易日(yyyyMMdd)",
  7350. "type": "string"
  7351. },
  7352. "closetype": {
  7353. "description": "终止类型 - 1:违约 2:提前终止",
  7354. "type": "integer"
  7355. },
  7356. "contractamount": {
  7357. "description": "合同金额",
  7358. "type": "number"
  7359. },
  7360. "contractattachment": {
  7361. "description": "合同附件",
  7362. "type": "string"
  7363. },
  7364. "contractno": {
  7365. "description": "现货合同编号",
  7366. "type": "string"
  7367. },
  7368. "contractqty": {
  7369. "description": "合同数量(数值) (用于计算)",
  7370. "type": "number"
  7371. },
  7372. "contractqtychar": {
  7373. "description": "合同数量\\已订价数量 (用于显示)",
  7374. "type": "string"
  7375. },
  7376. "contractstatus": {
  7377. "description": "合同状态 - 0:未结束 1:已结束",
  7378. "type": "integer"
  7379. },
  7380. "contracttype": {
  7381. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7382. "type": "integer"
  7383. },
  7384. "customeraccountid": {
  7385. "description": "客户资金账户ID",
  7386. "type": "integer"
  7387. },
  7388. "customeruserid": {
  7389. "description": "客户ID",
  7390. "type": "integer"
  7391. },
  7392. "deliverygoodsdesc": {
  7393. "description": "品种说明",
  7394. "type": "string"
  7395. },
  7396. "deliverygoodsid": {
  7397. "description": "现货品种ID",
  7398. "type": "integer"
  7399. },
  7400. "handlestatus": {
  7401. "description": "处理状态",
  7402. "type": "integer"
  7403. },
  7404. "invoiceatt": {
  7405. "description": "发票附件",
  7406. "type": "string"
  7407. },
  7408. "invoicedatetime": {
  7409. "description": "开收票更新时间",
  7410. "type": "string"
  7411. },
  7412. "invoiceopentime": {
  7413. "description": "开票时间",
  7414. "type": "string"
  7415. },
  7416. "invoiceremark": {
  7417. "description": "发票备注",
  7418. "type": "string"
  7419. },
  7420. "invoicestatus": {
  7421. "description": "开收票状态 - 0:未开票 1:已开票",
  7422. "type": "integer"
  7423. },
  7424. "lastdate": {
  7425. "description": "交货时间",
  7426. "type": "string"
  7427. },
  7428. "marketid": {
  7429. "description": "市场ID",
  7430. "type": "integer"
  7431. },
  7432. "paydatetime": {
  7433. "description": "收付款更新时间",
  7434. "type": "string"
  7435. },
  7436. "payremark": {
  7437. "description": "收付款备注",
  7438. "type": "string"
  7439. },
  7440. "paystatus": {
  7441. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7442. "type": "integer"
  7443. },
  7444. "positionqty": {
  7445. "description": "头寸数量 - 合同数量去小数部分",
  7446. "type": "integer"
  7447. },
  7448. "producttype": {
  7449. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7450. "type": "integer"
  7451. },
  7452. "relatedqty": {
  7453. "description": "已关联数量",
  7454. "type": "number"
  7455. },
  7456. "relatedstatus": {
  7457. "description": "关联完结状态 - 0:未结束 1:已结束",
  7458. "type": "integer"
  7459. },
  7460. "remark": {
  7461. "description": "备注",
  7462. "type": "string"
  7463. },
  7464. "signdate": {
  7465. "description": "签订日期",
  7466. "type": "string"
  7467. },
  7468. "spotcontractid": {
  7469. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7470. "type": "string"
  7471. },
  7472. "spotdatetime": {
  7473. "description": "收发货更新时间",
  7474. "type": "string"
  7475. },
  7476. "spotprice": {
  7477. "description": "价格",
  7478. "type": "number"
  7479. },
  7480. "spotremark": {
  7481. "description": "收发货备注",
  7482. "type": "string"
  7483. },
  7484. "spotstatus": {
  7485. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7486. "type": "integer"
  7487. },
  7488. "tradedate": {
  7489. "description": "交易日(yyyyMMdd)",
  7490. "type": "string"
  7491. },
  7492. "userid": {
  7493. "description": "业务员用户ID",
  7494. "type": "integer"
  7495. },
  7496. "warehouseid": {
  7497. "description": "仓库ID",
  7498. "type": "integer"
  7499. },
  7500. "wrfactortypeid": {
  7501. "description": "仓单要素类型ID",
  7502. "type": "integer"
  7503. },
  7504. "wrstandardid": {
  7505. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7506. "type": "integer"
  7507. }
  7508. }
  7509. },
  7510. "erms3.AddErms2ASApplyReq": {
  7511. "type": "object",
  7512. "required": [
  7513. "asapplyid"
  7514. ],
  7515. "properties": {
  7516. "applybasis": {
  7517. "description": "申请基差",
  7518. "type": "number"
  7519. },
  7520. "applystatus": {
  7521. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7522. "type": "integer"
  7523. },
  7524. "asapplyid": {
  7525. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7526. "type": "integer"
  7527. },
  7528. "asname": {
  7529. "description": "策略名称",
  7530. "type": "string"
  7531. },
  7532. "asno": {
  7533. "description": "策略编号",
  7534. "type": "string"
  7535. },
  7536. "auditid": {
  7537. "description": "审核人",
  7538. "type": "integer"
  7539. },
  7540. "auditremark": {
  7541. "description": "审核备注",
  7542. "type": "string"
  7543. },
  7544. "audittime": {
  7545. "description": "审核时间",
  7546. "type": "string"
  7547. },
  7548. "biztype": {
  7549. "description": "业务类型 - 1:正向套利 2:反向套利",
  7550. "type": "integer"
  7551. },
  7552. "createtime": {
  7553. "description": "创建时间",
  7554. "type": "string"
  7555. },
  7556. "creatorid": {
  7557. "description": "创建人",
  7558. "type": "integer"
  7559. },
  7560. "deliverygoodsid": {
  7561. "description": "现货品种ID",
  7562. "type": "integer"
  7563. },
  7564. "futurequote": {
  7565. "description": "期货额度",
  7566. "type": "number"
  7567. },
  7568. "goodsgroupid": {
  7569. "description": "期货品种ID",
  7570. "type": "integer"
  7571. },
  7572. "marketid": {
  7573. "description": "市场ID",
  7574. "type": "integer"
  7575. },
  7576. "remark": {
  7577. "description": "备注",
  7578. "type": "string"
  7579. },
  7580. "spotquota": {
  7581. "description": "现货额度",
  7582. "type": "number"
  7583. },
  7584. "tradedate": {
  7585. "description": "交易日(yyyyMMdd)",
  7586. "type": "string"
  7587. },
  7588. "userid": {
  7589. "description": "所属机构",
  7590. "type": "integer"
  7591. }
  7592. }
  7593. },
  7594. "erms3.AddErms2SpotTradeApplyReq": {
  7595. "type": "object",
  7596. "required": [
  7597. "spottradeid"
  7598. ],
  7599. "properties": {
  7600. "applyjsondetail": {
  7601. "description": "申请明细(JSON)",
  7602. "type": "string"
  7603. },
  7604. "applystatus": {
  7605. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7606. "type": "integer"
  7607. },
  7608. "areauserid": {
  7609. "description": "所属机构",
  7610. "type": "integer"
  7611. },
  7612. "auditid": {
  7613. "description": "审核人",
  7614. "type": "integer"
  7615. },
  7616. "auditremark": {
  7617. "description": "审核备注",
  7618. "type": "string"
  7619. },
  7620. "audittime": {
  7621. "description": "审核时间",
  7622. "type": "string"
  7623. },
  7624. "createtime": {
  7625. "description": "创建时间",
  7626. "type": "string"
  7627. },
  7628. "creatorid": {
  7629. "description": "创建人",
  7630. "type": "integer"
  7631. },
  7632. "deliverygoodsid": {
  7633. "description": "现货品种ID",
  7634. "type": "integer"
  7635. },
  7636. "futureaccountid": {
  7637. "description": "期货资金账户",
  7638. "type": "integer"
  7639. },
  7640. "goodsgroupid": {
  7641. "description": "期货品种",
  7642. "type": "integer"
  7643. },
  7644. "marketid": {
  7645. "description": "市场ID",
  7646. "type": "integer"
  7647. },
  7648. "remark": {
  7649. "description": "备注",
  7650. "type": "string"
  7651. },
  7652. "spotaccountid": {
  7653. "description": "现货资金账户",
  7654. "type": "integer"
  7655. },
  7656. "spottradeid": {
  7657. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7658. "type": "integer"
  7659. },
  7660. "spottradename": {
  7661. "description": "业务名称",
  7662. "type": "string"
  7663. },
  7664. "spottradeno": {
  7665. "description": "业务编号",
  7666. "type": "string"
  7667. },
  7668. "tradedate": {
  7669. "description": "交易日(yyyyMMdd)",
  7670. "type": "string"
  7671. },
  7672. "wrstandardid": {
  7673. "description": "仓单标准ID",
  7674. "type": "integer"
  7675. }
  7676. }
  7677. },
  7678. "erms3.AddSpotContractApplyReq": {
  7679. "type": "object",
  7680. "required": [
  7681. "accountid",
  7682. "areauserid",
  7683. "contractno",
  7684. "contracttype",
  7685. "customeraccountid",
  7686. "customeruserid",
  7687. "details",
  7688. "orimargin",
  7689. "signdate"
  7690. ],
  7691. "properties": {
  7692. "accountid": {
  7693. "description": "资金账户ID",
  7694. "type": "integer"
  7695. },
  7696. "areauserid": {
  7697. "description": "所属机构",
  7698. "type": "integer"
  7699. },
  7700. "contractattachment": {
  7701. "description": "合同附件",
  7702. "type": "string"
  7703. },
  7704. "contractno": {
  7705. "description": "现货合同编号",
  7706. "type": "string"
  7707. },
  7708. "contracttype": {
  7709. "description": "现货合同类型 - 1:采购 -1:销售",
  7710. "type": "integer"
  7711. },
  7712. "creatorid": {
  7713. "description": "申请人",
  7714. "type": "integer"
  7715. },
  7716. "customeraccountid": {
  7717. "description": "客户资金账户ID",
  7718. "type": "integer"
  7719. },
  7720. "customeruserid": {
  7721. "description": "客户ID",
  7722. "type": "integer"
  7723. },
  7724. "details": {
  7725. "description": "明细",
  7726. "type": "array",
  7727. "items": {
  7728. "$ref": "#/definitions/erms3.SoptContractDetail"
  7729. }
  7730. },
  7731. "orimargin": {
  7732. "description": "初始保证金",
  7733. "type": "number"
  7734. },
  7735. "remark": {
  7736. "description": "备注",
  7737. "type": "string"
  7738. },
  7739. "signdate": {
  7740. "description": "签订日期",
  7741. "type": "string"
  7742. }
  7743. }
  7744. },
  7745. "erms3.AddSpotContractApplyRsp": {
  7746. "type": "object",
  7747. "required": [
  7748. "contractno"
  7749. ],
  7750. "properties": {
  7751. "contractno": {
  7752. "description": "现货合同编号",
  7753. "type": "string"
  7754. },
  7755. "spotcontractid": {
  7756. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7757. "type": "integer"
  7758. }
  7759. }
  7760. },
  7761. "erms3.AddUserInfoApplyReq": {
  7762. "type": "object",
  7763. "required": [
  7764. "userid"
  7765. ],
  7766. "properties": {
  7767. "accountid": {
  7768. "description": "交易系统帐号Id (加密存储)",
  7769. "type": "integer"
  7770. },
  7771. "areacode": {
  7772. "description": "机构代码",
  7773. "type": "string"
  7774. },
  7775. "areaid": {
  7776. "description": "机构Id",
  7777. "type": "integer"
  7778. },
  7779. "attachment1": {
  7780. "description": "附件1",
  7781. "type": "string"
  7782. },
  7783. "attachment2": {
  7784. "description": "附件2",
  7785. "type": "string"
  7786. },
  7787. "attachment3": {
  7788. "description": "附件3",
  7789. "type": "string"
  7790. },
  7791. "attachment4": {
  7792. "description": "附件4",
  7793. "type": "string"
  7794. },
  7795. "attachment5": {
  7796. "description": "附件5",
  7797. "type": "string"
  7798. },
  7799. "auditedby": {
  7800. "description": "审核人",
  7801. "type": "string"
  7802. },
  7803. "auditime": {
  7804. "description": "审核时间",
  7805. "type": "string"
  7806. },
  7807. "bankaccount": {
  7808. "description": "银行帐号 (加密存储)",
  7809. "type": "string"
  7810. },
  7811. "bankaccountname": {
  7812. "description": "收款人名称",
  7813. "type": "string"
  7814. },
  7815. "bankcardbackphotourl": {
  7816. "description": "银行卡背面照地址",
  7817. "type": "string"
  7818. },
  7819. "bankcardfrontphotourl": {
  7820. "description": "银行卡正面照地址",
  7821. "type": "string"
  7822. },
  7823. "bankid": {
  7824. "description": "银行编码",
  7825. "type": "string"
  7826. },
  7827. "bankname": {
  7828. "description": "银行名称",
  7829. "type": "string"
  7830. },
  7831. "bankpictureurl": {
  7832. "description": "银行卡正面地址",
  7833. "type": "string"
  7834. },
  7835. "biznature": {
  7836. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7837. "type": "integer"
  7838. },
  7839. "bizscope": {
  7840. "description": "企业经营范围(企业)",
  7841. "type": "string"
  7842. },
  7843. "biztype": {
  7844. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7845. "type": "integer"
  7846. },
  7847. "brokerid": {
  7848. "description": "经纪人ID(加密存储)",
  7849. "type": "string"
  7850. },
  7851. "cardaddress": {
  7852. "description": "证件地址 (加密存储)",
  7853. "type": "string"
  7854. },
  7855. "cardbackphotourl": {
  7856. "description": "背面证件照地址",
  7857. "type": "string"
  7858. },
  7859. "cardfrontphotourl": {
  7860. "description": "正面证件照地址",
  7861. "type": "string"
  7862. },
  7863. "cardnum": {
  7864. "description": "证件号码 (加密存储)",
  7865. "type": "string"
  7866. },
  7867. "cardtype": {
  7868. "description": "证件类型",
  7869. "type": "integer"
  7870. },
  7871. "cityid": {
  7872. "description": "市",
  7873. "type": "integer"
  7874. },
  7875. "company": {
  7876. "description": "公司(个人)",
  7877. "type": "string"
  7878. },
  7879. "contactcardbackphotourl": {
  7880. "description": "联系人证件背面图片地址",
  7881. "type": "string"
  7882. },
  7883. "contactcardfrontphotourl": {
  7884. "description": "联系人证件正面图片地址",
  7885. "type": "string"
  7886. },
  7887. "contactname": {
  7888. "description": "联系人",
  7889. "type": "string"
  7890. },
  7891. "countryid": {
  7892. "description": "国家",
  7893. "type": "integer"
  7894. },
  7895. "createtime": {
  7896. "description": "开户申请时间",
  7897. "type": "string"
  7898. },
  7899. "cusbankid": {
  7900. "description": "签约类型",
  7901. "type": "string"
  7902. },
  7903. "cusbankname": {
  7904. "description": "签约类型名称",
  7905. "type": "string"
  7906. },
  7907. "customername": {
  7908. "description": "客户名称(企业名称)",
  7909. "type": "string"
  7910. },
  7911. "districtid": {
  7912. "description": "地区",
  7913. "type": "integer"
  7914. },
  7915. "email": {
  7916. "description": "Email地址(加密存储)",
  7917. "type": "string"
  7918. },
  7919. "halfbodyphotourl": {
  7920. "description": "半身照地址",
  7921. "type": "string"
  7922. },
  7923. "headurl": {
  7924. "description": "头像地址",
  7925. "type": "string"
  7926. },
  7927. "ipaddress": {
  7928. "description": "IP地址",
  7929. "type": "string"
  7930. },
  7931. "isvalidate": {
  7932. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7933. "type": "string"
  7934. },
  7935. "legalcardbackphotourl": {
  7936. "description": "法人身份证背面照地址",
  7937. "type": "string"
  7938. },
  7939. "legalcardfrontphotourl": {
  7940. "description": "法人身份证正面照地址",
  7941. "type": "string"
  7942. },
  7943. "legalpersonname": {
  7944. "description": "法人姓名(企业)",
  7945. "type": "string"
  7946. },
  7947. "logincode": {
  7948. "description": "登录帐号 (加密存储)",
  7949. "type": "string"
  7950. },
  7951. "memberareaid": {
  7952. "description": "所属会员ID",
  7953. "type": "integer"
  7954. },
  7955. "mobile2": {
  7956. "description": "手机号码[明文-尚志]",
  7957. "type": "string"
  7958. },
  7959. "mobilephone": {
  7960. "description": "手机号码 (加密存储)",
  7961. "type": "string"
  7962. },
  7963. "modifiedby": {
  7964. "description": "修改人帐号",
  7965. "type": "integer"
  7966. },
  7967. "modifiedtime": {
  7968. "description": "修改时间",
  7969. "type": "string"
  7970. },
  7971. "nickname": {
  7972. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7973. "type": "string"
  7974. },
  7975. "openmode": {
  7976. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7977. "type": "integer"
  7978. },
  7979. "otherurl": {
  7980. "description": "其它图片地址[使用分号分隔]",
  7981. "type": "string"
  7982. },
  7983. "postalcode": {
  7984. "description": "邮政编码",
  7985. "type": "string"
  7986. },
  7987. "provinceid": {
  7988. "description": "省",
  7989. "type": "integer"
  7990. },
  7991. "proxystatementurl": {
  7992. "description": "授权委托书",
  7993. "type": "string"
  7994. },
  7995. "qq": {
  7996. "description": "QQ(加密存储",
  7997. "type": "string"
  7998. },
  7999. "referral": {
  8000. "description": "推荐人编码",
  8001. "type": "string"
  8002. },
  8003. "remark": {
  8004. "description": "备注",
  8005. "type": "string"
  8006. },
  8007. "removebeforestatus": {
  8008. "description": "REMOVEBEFORESTATUS",
  8009. "type": "integer"
  8010. },
  8011. "sex": {
  8012. "description": "性别 - 0:女 1:男",
  8013. "type": "integer"
  8014. },
  8015. "signedstatus": {
  8016. "description": "账户一号签签约状态",
  8017. "type": "integer"
  8018. },
  8019. "signpdfurl": {
  8020. "description": "签约pdf文件",
  8021. "type": "string"
  8022. },
  8023. "subbranch": {
  8024. "description": "开户支行",
  8025. "type": "string"
  8026. },
  8027. "telphone": {
  8028. "description": "联系电话(加密存储)",
  8029. "type": "string"
  8030. },
  8031. "userid": {
  8032. "description": "用户ID(自增ID)",
  8033. "type": "integer"
  8034. },
  8035. "userinfotype": {
  8036. "description": "用户信息类型 - 1:个人 2:企业",
  8037. "type": "integer"
  8038. },
  8039. "username": {
  8040. "description": "用户姓名",
  8041. "type": "string"
  8042. },
  8043. "userstate": {
  8044. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8045. "type": "integer"
  8046. },
  8047. "usertype": {
  8048. "description": "用户类型 - 1:投资者 2:机构",
  8049. "type": "integer"
  8050. },
  8051. "videourl": {
  8052. "description": "视频地址",
  8053. "type": "string"
  8054. },
  8055. "wechat": {
  8056. "description": "微信号 (加密存储)",
  8057. "type": "string"
  8058. }
  8059. }
  8060. },
  8061. "erms3.CustomerInfo": {
  8062. "type": "object",
  8063. "required": [
  8064. "userid"
  8065. ],
  8066. "properties": {
  8067. "accountids": {
  8068. "description": "资金账户ID列表",
  8069. "type": "array",
  8070. "items": {
  8071. "type": "integer"
  8072. }
  8073. },
  8074. "customername": {
  8075. "description": "名称(企业名称)",
  8076. "type": "string"
  8077. },
  8078. "mobile": {
  8079. "description": "手机号码",
  8080. "type": "string"
  8081. },
  8082. "userid": {
  8083. "description": "用户ID",
  8084. "type": "integer"
  8085. }
  8086. }
  8087. },
  8088. "erms3.ModifyUserInfoApplyReq": {
  8089. "type": "object",
  8090. "required": [
  8091. "userid"
  8092. ],
  8093. "properties": {
  8094. "accountid": {
  8095. "description": "交易系统帐号Id (加密存储)",
  8096. "type": "integer"
  8097. },
  8098. "areacode": {
  8099. "description": "机构代码",
  8100. "type": "string"
  8101. },
  8102. "areaid": {
  8103. "description": "机构Id",
  8104. "type": "integer"
  8105. },
  8106. "attachment1": {
  8107. "description": "附件1",
  8108. "type": "string"
  8109. },
  8110. "attachment2": {
  8111. "description": "附件2",
  8112. "type": "string"
  8113. },
  8114. "attachment3": {
  8115. "description": "附件3",
  8116. "type": "string"
  8117. },
  8118. "attachment4": {
  8119. "description": "附件4",
  8120. "type": "string"
  8121. },
  8122. "attachment5": {
  8123. "description": "附件5",
  8124. "type": "string"
  8125. },
  8126. "auditedby": {
  8127. "description": "审核人",
  8128. "type": "string"
  8129. },
  8130. "auditime": {
  8131. "description": "审核时间",
  8132. "type": "string"
  8133. },
  8134. "bankaccount": {
  8135. "description": "银行帐号 (加密存储)",
  8136. "type": "string"
  8137. },
  8138. "bankaccountname": {
  8139. "description": "收款人名称",
  8140. "type": "string"
  8141. },
  8142. "bankcardbackphotourl": {
  8143. "description": "银行卡背面照地址",
  8144. "type": "string"
  8145. },
  8146. "bankcardfrontphotourl": {
  8147. "description": "银行卡正面照地址",
  8148. "type": "string"
  8149. },
  8150. "bankid": {
  8151. "description": "银行编码",
  8152. "type": "string"
  8153. },
  8154. "bankname": {
  8155. "description": "银行名称",
  8156. "type": "string"
  8157. },
  8158. "bankpictureurl": {
  8159. "description": "银行卡正面地址",
  8160. "type": "string"
  8161. },
  8162. "biznature": {
  8163. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8164. "type": "integer"
  8165. },
  8166. "bizscope": {
  8167. "description": "企业经营范围(企业)",
  8168. "type": "string"
  8169. },
  8170. "biztype": {
  8171. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8172. "type": "integer"
  8173. },
  8174. "brokerid": {
  8175. "description": "经纪人ID(加密存储)",
  8176. "type": "string"
  8177. },
  8178. "cardaddress": {
  8179. "description": "证件地址 (加密存储)",
  8180. "type": "string"
  8181. },
  8182. "cardbackphotourl": {
  8183. "description": "背面证件照地址",
  8184. "type": "string"
  8185. },
  8186. "cardfrontphotourl": {
  8187. "description": "正面证件照地址",
  8188. "type": "string"
  8189. },
  8190. "cardnum": {
  8191. "description": "证件号码 (加密存储)",
  8192. "type": "string"
  8193. },
  8194. "cardtype": {
  8195. "description": "证件类型",
  8196. "type": "integer"
  8197. },
  8198. "cityid": {
  8199. "description": "市",
  8200. "type": "integer"
  8201. },
  8202. "company": {
  8203. "description": "公司(个人)",
  8204. "type": "string"
  8205. },
  8206. "contactcardbackphotourl": {
  8207. "description": "联系人证件背面图片地址",
  8208. "type": "string"
  8209. },
  8210. "contactcardfrontphotourl": {
  8211. "description": "联系人证件正面图片地址",
  8212. "type": "string"
  8213. },
  8214. "contactname": {
  8215. "description": "联系人",
  8216. "type": "string"
  8217. },
  8218. "countryid": {
  8219. "description": "国家",
  8220. "type": "integer"
  8221. },
  8222. "createtime": {
  8223. "description": "开户申请时间",
  8224. "type": "string"
  8225. },
  8226. "cusbankid": {
  8227. "description": "签约类型",
  8228. "type": "string"
  8229. },
  8230. "cusbankname": {
  8231. "description": "签约类型名称",
  8232. "type": "string"
  8233. },
  8234. "customername": {
  8235. "description": "客户名称(企业名称)",
  8236. "type": "string"
  8237. },
  8238. "districtid": {
  8239. "description": "地区",
  8240. "type": "integer"
  8241. },
  8242. "email": {
  8243. "description": "Email地址(加密存储)",
  8244. "type": "string"
  8245. },
  8246. "halfbodyphotourl": {
  8247. "description": "半身照地址",
  8248. "type": "string"
  8249. },
  8250. "headurl": {
  8251. "description": "头像地址",
  8252. "type": "string"
  8253. },
  8254. "ipaddress": {
  8255. "description": "IP地址",
  8256. "type": "string"
  8257. },
  8258. "isvalidate": {
  8259. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  8260. "type": "string"
  8261. },
  8262. "legalcardbackphotourl": {
  8263. "description": "法人身份证背面照地址",
  8264. "type": "string"
  8265. },
  8266. "legalcardfrontphotourl": {
  8267. "description": "法人身份证正面照地址",
  8268. "type": "string"
  8269. },
  8270. "legalpersonname": {
  8271. "description": "法人姓名(企业)",
  8272. "type": "string"
  8273. },
  8274. "logincode": {
  8275. "description": "登录帐号 (加密存储)",
  8276. "type": "string"
  8277. },
  8278. "memberareaid": {
  8279. "description": "所属会员ID",
  8280. "type": "integer"
  8281. },
  8282. "mobile2": {
  8283. "description": "手机号码[明文-尚志]",
  8284. "type": "string"
  8285. },
  8286. "mobilephone": {
  8287. "description": "手机号码 (加密存储)",
  8288. "type": "string"
  8289. },
  8290. "modifiedby": {
  8291. "description": "修改人帐号",
  8292. "type": "integer"
  8293. },
  8294. "modifiedtime": {
  8295. "description": "修改时间",
  8296. "type": "string"
  8297. },
  8298. "nickname": {
  8299. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  8300. "type": "string"
  8301. },
  8302. "openmode": {
  8303. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  8304. "type": "integer"
  8305. },
  8306. "otherurl": {
  8307. "description": "其它图片地址[使用分号分隔]",
  8308. "type": "string"
  8309. },
  8310. "postalcode": {
  8311. "description": "邮政编码",
  8312. "type": "string"
  8313. },
  8314. "provinceid": {
  8315. "description": "省",
  8316. "type": "integer"
  8317. },
  8318. "proxystatementurl": {
  8319. "description": "授权委托书",
  8320. "type": "string"
  8321. },
  8322. "qq": {
  8323. "description": "QQ(加密存储",
  8324. "type": "string"
  8325. },
  8326. "referral": {
  8327. "description": "推荐人编码",
  8328. "type": "string"
  8329. },
  8330. "remark": {
  8331. "description": "备注",
  8332. "type": "string"
  8333. },
  8334. "removebeforestatus": {
  8335. "description": "REMOVEBEFORESTATUS",
  8336. "type": "integer"
  8337. },
  8338. "sex": {
  8339. "description": "性别 - 0:女 1:男",
  8340. "type": "integer"
  8341. },
  8342. "signedstatus": {
  8343. "description": "账户一号签签约状态",
  8344. "type": "integer"
  8345. },
  8346. "signpdfurl": {
  8347. "description": "签约pdf文件",
  8348. "type": "string"
  8349. },
  8350. "subbranch": {
  8351. "description": "开户支行",
  8352. "type": "string"
  8353. },
  8354. "telphone": {
  8355. "description": "联系电话(加密存储)",
  8356. "type": "string"
  8357. },
  8358. "userid": {
  8359. "description": "用户ID(自增ID)",
  8360. "type": "integer"
  8361. },
  8362. "userinfotype": {
  8363. "description": "用户信息类型 - 1:个人 2:企业",
  8364. "type": "integer"
  8365. },
  8366. "username": {
  8367. "description": "用户姓名",
  8368. "type": "string"
  8369. },
  8370. "userstate": {
  8371. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8372. "type": "integer"
  8373. },
  8374. "usertype": {
  8375. "description": "用户类型 - 1:投资者 2:机构",
  8376. "type": "integer"
  8377. },
  8378. "videourl": {
  8379. "description": "视频地址",
  8380. "type": "string"
  8381. },
  8382. "wechat": {
  8383. "description": "微信号 (加密存储)",
  8384. "type": "string"
  8385. }
  8386. }
  8387. },
  8388. "erms3.QryAuditContractRsp": {
  8389. "type": "object",
  8390. "required": [
  8391. "matchcustomername",
  8392. "spotcontractid"
  8393. ],
  8394. "properties": {
  8395. "accountid": {
  8396. "description": "交易员ID",
  8397. "type": "string"
  8398. },
  8399. "applystatus": {
  8400. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8401. "type": "integer"
  8402. },
  8403. "curdeliveryqty": {
  8404. "description": "未交收量",
  8405. "type": "integer"
  8406. },
  8407. "customername": {
  8408. "description": "采购方ID",
  8409. "type": "string"
  8410. },
  8411. "deliverygoodsid": {
  8412. "description": "品种ID",
  8413. "type": "string"
  8414. },
  8415. "deliveryqty": {
  8416. "description": "交收量",
  8417. "type": "integer"
  8418. },
  8419. "enumdicname": {
  8420. "description": "单位名称",
  8421. "type": "string"
  8422. },
  8423. "matchaccountid": {
  8424. "description": "业务员ID",
  8425. "type": "string"
  8426. },
  8427. "matchcustomername": {
  8428. "description": "销售方ID",
  8429. "type": "string"
  8430. },
  8431. "pricedqty": {
  8432. "description": "定价量",
  8433. "type": "number"
  8434. },
  8435. "signdate": {
  8436. "description": "签订日期",
  8437. "type": "string"
  8438. },
  8439. "spotcontractid": {
  8440. "description": "合同ID",
  8441. "type": "string"
  8442. },
  8443. "totaldqty": {
  8444. "description": "合同量",
  8445. "type": "number"
  8446. },
  8447. "unpricedqty": {
  8448. "description": "未定价量",
  8449. "type": "number"
  8450. },
  8451. "wrstandardname": {
  8452. "description": "商品名称",
  8453. "type": "string"
  8454. }
  8455. }
  8456. },
  8457. "erms3.QryPendingBizRsp": {
  8458. "$ref": "#/definitions/models.PendingAuditBizModel"
  8459. },
  8460. "erms3.QueryBusinessInfoRsp": {
  8461. "type": "object",
  8462. "properties": {
  8463. "businessid": {
  8464. "description": "业务ID.",
  8465. "type": "integer"
  8466. },
  8467. "buyamount": {
  8468. "description": "采购额.",
  8469. "type": "number"
  8470. },
  8471. "buyqty": {
  8472. "description": "采购量.",
  8473. "type": "string"
  8474. },
  8475. "futurepl": {
  8476. "description": "期货盈亏.",
  8477. "type": "number"
  8478. },
  8479. "futureqty": {
  8480. "description": "期货敞口.",
  8481. "type": "string"
  8482. },
  8483. "goodsid": {
  8484. "description": "商品名称/商品代码.",
  8485. "type": "string"
  8486. },
  8487. "hedgingqty": {
  8488. "description": "套保量.",
  8489. "type": "string"
  8490. },
  8491. "sellamount": {
  8492. "description": "销售额.",
  8493. "type": "number"
  8494. },
  8495. "sellqty": {
  8496. "description": "销售量.",
  8497. "type": "string"
  8498. },
  8499. "spotmarketvalue": {
  8500. "description": "现货市值.",
  8501. "type": "number"
  8502. },
  8503. "spotpl": {
  8504. "description": "浮动权益.",
  8505. "type": "number"
  8506. },
  8507. "spotqty": {
  8508. "description": "现货量.",
  8509. "type": "string"
  8510. },
  8511. "statu": {
  8512. "description": "状态,0-未结束 1-已结束.",
  8513. "type": "integer"
  8514. },
  8515. "totalpl": {
  8516. "description": "总盈亏.",
  8517. "type": "number"
  8518. },
  8519. "totalqty": {
  8520. "description": "总敞口.",
  8521. "type": "string"
  8522. },
  8523. "type": {
  8524. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8525. "type": "integer"
  8526. }
  8527. }
  8528. },
  8529. "erms3.QuerySpotContractAppleFormRsp": {
  8530. "type": "object",
  8531. "properties": {
  8532. "goodses": {
  8533. "description": "合约列表",
  8534. "type": "array",
  8535. "items": {
  8536. "$ref": "#/definitions/models.GoodsIDAndName"
  8537. }
  8538. },
  8539. "oppositeusers": {
  8540. "description": "对方账号列表",
  8541. "type": "array",
  8542. "items": {
  8543. "$ref": "#/definitions/erms3.CustomerInfo"
  8544. }
  8545. },
  8546. "ouruser": {
  8547. "description": "我方账号",
  8548. "type": "object",
  8549. "$ref": "#/definitions/erms3.CustomerInfo"
  8550. },
  8551. "warehouseinfos": {
  8552. "description": "仓库信息列表",
  8553. "type": "array",
  8554. "items": {
  8555. "$ref": "#/definitions/models.Warehouseinfo"
  8556. }
  8557. },
  8558. "wrstandards": {
  8559. "description": "仓单标准列表",
  8560. "type": "array",
  8561. "items": {
  8562. "$ref": "#/definitions/models.WRStandardInfo"
  8563. }
  8564. }
  8565. }
  8566. },
  8567. "erms3.QuerySpotContractInfoRsp": {
  8568. "type": "object",
  8569. "properties": {
  8570. "accountid": {
  8571. "description": "表示交易员ID.",
  8572. "type": "integer"
  8573. },
  8574. "curdeliveryqty": {
  8575. "description": "表示未交收量.",
  8576. "type": "number"
  8577. },
  8578. "customername": {
  8579. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8580. "type": "string"
  8581. },
  8582. "deliverygoodsid": {
  8583. "description": "表示品种ID.",
  8584. "type": "string"
  8585. },
  8586. "deliveryqty": {
  8587. "description": "表示交收量.",
  8588. "type": "number"
  8589. },
  8590. "matchaccountid": {
  8591. "description": "表示业务员ID.",
  8592. "type": "integer"
  8593. },
  8594. "matchcustomername": {
  8595. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8596. "type": "string"
  8597. },
  8598. "priceqty": {
  8599. "description": "表示定价量.",
  8600. "type": "number"
  8601. },
  8602. "relatedbizid": {
  8603. "description": "表示业务ID.",
  8604. "type": "string"
  8605. },
  8606. "signdate": {
  8607. "description": "表示签订日期.",
  8608. "type": "string"
  8609. },
  8610. "spotcontractid": {
  8611. "description": "合同ID",
  8612. "type": "string"
  8613. },
  8614. "status": {
  8615. "description": "表示状态,0-履约中 1-已完成.",
  8616. "type": "integer"
  8617. },
  8618. "totalqty": {
  8619. "description": "表示合同量.",
  8620. "type": "number"
  8621. },
  8622. "unpricedqty": {
  8623. "description": "表示未定价量.",
  8624. "type": "number"
  8625. },
  8626. "wrstandardname": {
  8627. "description": "表示商品ID.",
  8628. "type": "string"
  8629. }
  8630. }
  8631. },
  8632. "erms3.QueryUserInfoAppliesRsp": {
  8633. "type": "object",
  8634. "required": [
  8635. "userid"
  8636. ],
  8637. "properties": {
  8638. "biznature": {
  8639. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8640. "type": "integer"
  8641. },
  8642. "contactname": {
  8643. "description": "联系人",
  8644. "type": "string"
  8645. },
  8646. "createtime": {
  8647. "description": "开户申请时间",
  8648. "type": "string"
  8649. },
  8650. "userid": {
  8651. "description": "用户ID(自增ID)",
  8652. "type": "integer"
  8653. },
  8654. "userinfotype": {
  8655. "description": "用户信息类型 - 1:个人 2:企业",
  8656. "type": "integer"
  8657. },
  8658. "username": {
  8659. "description": "用户姓名",
  8660. "type": "string"
  8661. },
  8662. "userstate": {
  8663. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8664. "type": "integer"
  8665. }
  8666. }
  8667. },
  8668. "erms3.QueryUserInfosRsp": {
  8669. "type": "object",
  8670. "required": [
  8671. "userid"
  8672. ],
  8673. "properties": {
  8674. "biznature": {
  8675. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8676. "type": "integer"
  8677. },
  8678. "contactname": {
  8679. "description": "联系人",
  8680. "type": "string"
  8681. },
  8682. "customername": {
  8683. "description": "客户名称(企业名称)",
  8684. "type": "string"
  8685. },
  8686. "userid": {
  8687. "description": "用户ID",
  8688. "type": "integer"
  8689. },
  8690. "userinfotype": {
  8691. "description": "用户信息类型 - 1:个人 2:企业",
  8692. "type": "integer"
  8693. },
  8694. "userstatus": {
  8695. "description": "用户状态 - 1:正常 2:注销",
  8696. "type": "integer"
  8697. }
  8698. }
  8699. },
  8700. "erms3.SoptContractDetail": {
  8701. "type": "object",
  8702. "required": [
  8703. "deliverygoodsid",
  8704. "producttype",
  8705. "unitname",
  8706. "warehouseid",
  8707. "wrstandardid",
  8708. "wrstandardname"
  8709. ],
  8710. "properties": {
  8711. "deliverygoodsdesc": {
  8712. "description": "现货品种说明",
  8713. "type": "string"
  8714. },
  8715. "deliverygoodsid": {
  8716. "description": "现货品种ID",
  8717. "type": "integer"
  8718. },
  8719. "deliverygoodsname": {
  8720. "description": "现货品种名称",
  8721. "type": "string"
  8722. },
  8723. "pointdesc": {
  8724. "description": "点价描述",
  8725. "type": "string"
  8726. },
  8727. "producttype": {
  8728. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8729. "type": "integer"
  8730. },
  8731. "producttypename": {
  8732. "description": "产品类型名称",
  8733. "type": "string"
  8734. },
  8735. "spotPointOrderVoList": {
  8736. "description": "点价列表",
  8737. "type": "array",
  8738. "items": {
  8739. "$ref": "#/definitions/erms3.SpotPointOrder"
  8740. }
  8741. },
  8742. "spotPriceOrderList": {
  8743. "description": "定价列表",
  8744. "type": "array",
  8745. "items": {
  8746. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8747. }
  8748. },
  8749. "unitname": {
  8750. "description": "单位名称",
  8751. "type": "string"
  8752. },
  8753. "warehouseid": {
  8754. "description": "仓库ID",
  8755. "type": "integer"
  8756. },
  8757. "warehousename": {
  8758. "description": "仓库名称",
  8759. "type": "string"
  8760. },
  8761. "wrstandardid": {
  8762. "description": "交易标的ID",
  8763. "type": "integer"
  8764. },
  8765. "wrstandardname": {
  8766. "description": "交易标的名称",
  8767. "type": "string"
  8768. }
  8769. }
  8770. },
  8771. "erms3.SpotPointOrder": {
  8772. "type": "object",
  8773. "required": [
  8774. "basic",
  8775. "goodsid",
  8776. "qty"
  8777. ],
  8778. "properties": {
  8779. "basic": {
  8780. "description": "基差",
  8781. "type": "number"
  8782. },
  8783. "deliveryenddate": {
  8784. "description": "交收结束日期",
  8785. "type": "string"
  8786. },
  8787. "deliverystartdate": {
  8788. "description": "交收开始日期",
  8789. "type": "string"
  8790. },
  8791. "enddate": {
  8792. "description": "点价结束日期",
  8793. "type": "string"
  8794. },
  8795. "goodsid": {
  8796. "description": "商品ID",
  8797. "type": "integer"
  8798. },
  8799. "goodsname": {
  8800. "description": "商品名称",
  8801. "type": "string"
  8802. },
  8803. "qty": {
  8804. "description": "数量",
  8805. "type": "number"
  8806. },
  8807. "startdate": {
  8808. "description": "点价开始日期",
  8809. "type": "string"
  8810. }
  8811. }
  8812. },
  8813. "erms3.SpotPriceOrder": {
  8814. "type": "object",
  8815. "required": [
  8816. "amount",
  8817. "price",
  8818. "qty"
  8819. ],
  8820. "properties": {
  8821. "amount": {
  8822. "description": "金额",
  8823. "type": "number"
  8824. },
  8825. "deliveryenddate": {
  8826. "description": "交收结束日期",
  8827. "type": "string"
  8828. },
  8829. "deliverystartdate": {
  8830. "description": "交收开始日期",
  8831. "type": "string"
  8832. },
  8833. "price": {
  8834. "description": "价格",
  8835. "type": "number"
  8836. },
  8837. "qty": {
  8838. "description": "数量",
  8839. "type": "number"
  8840. }
  8841. }
  8842. },
  8843. "hsby.GetHsbyMyCountRsp": {
  8844. "type": "object",
  8845. "properties": {
  8846. "myCouponCount": {
  8847. "description": "我的优惠卷数量",
  8848. "type": "integer"
  8849. },
  8850. "myOrderDetailListingCount": {
  8851. "description": "我的订单求购中数量",
  8852. "type": "integer"
  8853. },
  8854. "myOrderDetailPreCount": {
  8855. "description": "我的订单抢购中数量",
  8856. "type": "integer"
  8857. },
  8858. "myPackageUnReceiveCount": {
  8859. "description": "我的包裹待收货数量",
  8860. "type": "integer"
  8861. },
  8862. "myPackageUnSendCount": {
  8863. "description": "我的包裹待发货数量",
  8864. "type": "integer"
  8865. },
  8866. "myPayOrderCount": {
  8867. "description": "我的订单待付款数量",
  8868. "type": "integer"
  8869. }
  8870. }
  8871. },
  8872. "hsby.QueryProvincesAndCitiesRsp": {
  8873. "type": "object",
  8874. "properties": {
  8875. "cities": {
  8876. "description": "市",
  8877. "type": "array",
  8878. "items": {
  8879. "$ref": "#/definitions/models.Division"
  8880. }
  8881. },
  8882. "province": {
  8883. "description": "省",
  8884. "type": "object",
  8885. "$ref": "#/definitions/models.Division"
  8886. }
  8887. }
  8888. },
  8889. "models.AreaSpotModel": {
  8890. "type": "object",
  8891. "properties": {
  8892. "areauserid": {
  8893. "description": "所属机构",
  8894. "type": "integer"
  8895. },
  8896. "decreaseqty": {
  8897. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8898. "type": "number"
  8899. },
  8900. "increaseqty": {
  8901. "description": "增加数量=销售计划数量+采购已定价数量",
  8902. "type": "number"
  8903. },
  8904. "oritoalspotqty": {
  8905. "description": "昨日数量",
  8906. "type": "number"
  8907. },
  8908. "totalspotqty": {
  8909. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8910. "type": "number"
  8911. },
  8912. "updatetime": {
  8913. "description": "更新时间",
  8914. "type": "string"
  8915. },
  8916. "wrstandardcode": {
  8917. "description": "现货品种代码",
  8918. "type": "string"
  8919. },
  8920. "wrstandardid": {
  8921. "description": "现货商品ID",
  8922. "type": "integer"
  8923. },
  8924. "wrstandardname": {
  8925. "description": "现货品种",
  8926. "type": "string"
  8927. }
  8928. }
  8929. },
  8930. "models.Clientfixedadconfig": {
  8931. "type": "object",
  8932. "required": [
  8933. "adsort",
  8934. "adtype"
  8935. ],
  8936. "properties": {
  8937. "adsort": {
  8938. "description": "排序",
  8939. "type": "integer"
  8940. },
  8941. "adtype": {
  8942. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8943. "type": "integer"
  8944. },
  8945. "areauserid": {
  8946. "description": "所属机构ID",
  8947. "type": "integer"
  8948. },
  8949. "createdate": {
  8950. "description": "创建时间",
  8951. "type": "string"
  8952. },
  8953. "creatorid": {
  8954. "description": "创建人",
  8955. "type": "integer"
  8956. },
  8957. "imagepath": {
  8958. "description": "图片",
  8959. "type": "string"
  8960. },
  8961. "isshow": {
  8962. "description": "是否展示 - 0:不展示 1:展示",
  8963. "type": "integer"
  8964. },
  8965. "modifierid": {
  8966. "description": "操作人",
  8967. "type": "integer"
  8968. },
  8969. "recsize": {
  8970. "description": "推荐尺寸",
  8971. "type": "string"
  8972. },
  8973. "title": {
  8974. "description": "标题",
  8975. "type": "string"
  8976. },
  8977. "updatedate": {
  8978. "description": "更新时间",
  8979. "type": "string"
  8980. },
  8981. "urlcontent": {
  8982. "description": "链接(地址或商品ID)",
  8983. "type": "string"
  8984. },
  8985. "urltype": {
  8986. "description": "链接类型 - 1:直接地址 2:商品ID",
  8987. "type": "integer"
  8988. }
  8989. }
  8990. },
  8991. "models.Division": {
  8992. "type": "object",
  8993. "required": [
  8994. "autoid",
  8995. "divisioncode"
  8996. ],
  8997. "properties": {
  8998. "autoid": {
  8999. "description": "自增ID",
  9000. "type": "integer"
  9001. },
  9002. "divisioncode": {
  9003. "description": "行政代码",
  9004. "type": "string"
  9005. },
  9006. "divisionlevel": {
  9007. "description": "行政级别",
  9008. "type": "string"
  9009. },
  9010. "divisionname": {
  9011. "description": "行政名称",
  9012. "type": "string"
  9013. },
  9014. "modifierid": {
  9015. "description": "修改人",
  9016. "type": "integer"
  9017. },
  9018. "modifytime": {
  9019. "description": "修改时间",
  9020. "type": "string"
  9021. },
  9022. "parentcode": {
  9023. "description": "上级行政代码",
  9024. "type": "string"
  9025. },
  9026. "pathname": {
  9027. "description": "路径名称",
  9028. "type": "string"
  9029. },
  9030. "postcode": {
  9031. "description": "邮政编码",
  9032. "type": "string"
  9033. },
  9034. "separablename": {
  9035. "description": "可拆分的全称",
  9036. "type": "string"
  9037. },
  9038. "shortcode": {
  9039. "description": "地区简码",
  9040. "type": "string"
  9041. }
  9042. }
  9043. },
  9044. "models.Enumdicitem": {
  9045. "type": "object",
  9046. "required": [
  9047. "autoid",
  9048. "enumdiccode",
  9049. "enumdicid",
  9050. "enumitemname"
  9051. ],
  9052. "properties": {
  9053. "autoid": {
  9054. "description": "自增ID",
  9055. "type": "integer"
  9056. },
  9057. "bankmappedvalue": {
  9058. "description": "银行服务对应值",
  9059. "type": "string"
  9060. },
  9061. "enumdiccode": {
  9062. "description": "所属枚举代码",
  9063. "type": "string"
  9064. },
  9065. "enumdicid": {
  9066. "description": "所属枚举ID",
  9067. "type": "integer"
  9068. },
  9069. "enumdicname": {
  9070. "description": "枚举项名称",
  9071. "type": "string"
  9072. },
  9073. "enumitemname": {
  9074. "description": "枚举项值",
  9075. "type": "integer"
  9076. },
  9077. "enumitemstatus": {
  9078. "description": "枚举项状态 - 1.启用 2.不启用",
  9079. "type": "integer"
  9080. },
  9081. "enumitemvalue": {
  9082. "description": "通用值 - [币种通用简写]",
  9083. "type": "string"
  9084. },
  9085. "param1": {
  9086. "description": "参数1[币种:币种小数位]",
  9087. "type": "string"
  9088. },
  9089. "param2": {
  9090. "description": "参数1[币种:币种显示单位]",
  9091. "type": "string"
  9092. },
  9093. "remark": {
  9094. "description": "备注",
  9095. "type": "string"
  9096. }
  9097. }
  9098. },
  9099. "models.ErmcpAreaSpotDetailModel": {
  9100. "type": "object",
  9101. "properties": {
  9102. "contracttype": {
  9103. "description": "合同类型 1-采购 -1-销售",
  9104. "type": "integer"
  9105. },
  9106. "createtime": {
  9107. "description": "创建时间",
  9108. "type": "string"
  9109. },
  9110. "enumdicname": {
  9111. "description": "现货商品单位名称",
  9112. "type": "string"
  9113. },
  9114. "logtype": {
  9115. "description": "记录类型 1-套保 2-现货合同",
  9116. "type": "integer"
  9117. },
  9118. "qty": {
  9119. "description": "数量",
  9120. "type": "number"
  9121. },
  9122. "recordname": {
  9123. "description": "类型名称",
  9124. "type": "string"
  9125. },
  9126. "relatedid": {
  9127. "description": "套保计划ID/现货合同ID",
  9128. "type": "string"
  9129. },
  9130. "relatedno": {
  9131. "description": "编号",
  9132. "type": "string"
  9133. },
  9134. "strtime": {
  9135. "description": "时间",
  9136. "type": "string"
  9137. },
  9138. "wrstandardcode": {
  9139. "description": "现货商品代码",
  9140. "type": "string"
  9141. },
  9142. "wrstandardname": {
  9143. "description": "现货商品名称",
  9144. "type": "string"
  9145. }
  9146. }
  9147. },
  9148. "models.ErmcpAvalidGoodsGroupModel": {
  9149. "type": "object",
  9150. "properties": {
  9151. "goodsgroupid": {
  9152. "description": "期货品种id",
  9153. "type": "integer"
  9154. },
  9155. "goodsgroupname": {
  9156. "description": "期货品种名称",
  9157. "type": "string"
  9158. },
  9159. "goodunitid": {
  9160. "description": "品种单位id",
  9161. "type": "integer"
  9162. },
  9163. "goodunitname": {
  9164. "description": "品种单位名称",
  9165. "type": "string"
  9166. },
  9167. "outergroupcode": {
  9168. "description": "期货品种代码",
  9169. "type": "string"
  9170. }
  9171. }
  9172. },
  9173. "models.ErmcpExposureDetailModel": {
  9174. "type": "object",
  9175. "properties": {
  9176. "areauserid": {
  9177. "description": "机构ID",
  9178. "type": "integer"
  9179. },
  9180. "changeQty": {
  9181. "description": "套保变动量",
  9182. "type": "number"
  9183. },
  9184. "contracttype": {
  9185. "description": "现货合同类型 - 1:采购 -1:销售",
  9186. "type": "integer"
  9187. },
  9188. "convertfactor": {
  9189. "description": "标仓系数",
  9190. "type": "number"
  9191. },
  9192. "convertratio": {
  9193. "description": "套保系数",
  9194. "type": "number"
  9195. },
  9196. "createtime": {
  9197. "description": "时间",
  9198. "type": "string"
  9199. },
  9200. "enumdicname": {
  9201. "description": "现货商品单位名称",
  9202. "type": "string"
  9203. },
  9204. "logtype": {
  9205. "description": "类型 - 1:套保计划 2:现货合同",
  9206. "type": "integer"
  9207. },
  9208. "middlegoodsId": {
  9209. "description": "套保商品id",
  9210. "type": "integer"
  9211. },
  9212. "middlegoodscode": {
  9213. "description": "套保商品代码",
  9214. "type": "string"
  9215. },
  9216. "middlegoodsname": {
  9217. "description": "套保商品名称",
  9218. "type": "string"
  9219. },
  9220. "qty": {
  9221. "description": "数量",
  9222. "type": "number"
  9223. },
  9224. "relateNo": {
  9225. "description": "现货合同/套保计划编号",
  9226. "type": "string"
  9227. },
  9228. "wrstandardcode": {
  9229. "description": "现货商品代码",
  9230. "type": "string"
  9231. },
  9232. "wrstandardid": {
  9233. "description": "现货商品ID",
  9234. "type": "integer"
  9235. },
  9236. "wrstandardname": {
  9237. "description": "现货商品名称",
  9238. "type": "string"
  9239. }
  9240. }
  9241. },
  9242. "models.ErmcpExposurePostion": {
  9243. "type": "object",
  9244. "properties": {
  9245. "agreeunit": {
  9246. "description": "合约单位",
  9247. "type": "string"
  9248. },
  9249. "areauserid": {
  9250. "description": "所属机构id",
  9251. "type": "integer"
  9252. },
  9253. "convertratio": {
  9254. "description": "期货品种系数(折算系数)",
  9255. "type": "number"
  9256. },
  9257. "curqty": {
  9258. "description": "当前持仓",
  9259. "type": "integer"
  9260. },
  9261. "diffhedgeqty": {
  9262. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9263. "type": "number"
  9264. },
  9265. "diffqty": {
  9266. "description": "持仓变动量=当前持仓-昨日持仓",
  9267. "type": "integer"
  9268. },
  9269. "goodscode": {
  9270. "description": "商品代码",
  9271. "type": "string"
  9272. },
  9273. "goodsid": {
  9274. "description": "商品id",
  9275. "type": "integer"
  9276. },
  9277. "goodsname": {
  9278. "description": "商品名称",
  9279. "type": "string"
  9280. },
  9281. "middlegoodsid": {
  9282. "description": "套保商品id",
  9283. "type": "integer"
  9284. },
  9285. "ydqty": {
  9286. "description": "昨日持仓",
  9287. "type": "integer"
  9288. }
  9289. }
  9290. },
  9291. "models.ErmcpGGConvertCfg": {
  9292. "type": "object",
  9293. "properties": {
  9294. "convertratio": {
  9295. "description": "折算系数",
  9296. "type": "number"
  9297. },
  9298. "destgoodsgroupid": {
  9299. "description": "目标品种ID",
  9300. "type": "integer"
  9301. },
  9302. "dstcode": {
  9303. "description": "目录品种代码",
  9304. "type": "string"
  9305. },
  9306. "dstname": {
  9307. "description": "目标品种名称",
  9308. "type": "string"
  9309. },
  9310. "dstunitid": {
  9311. "description": "目标品种单位ID",
  9312. "type": "integer"
  9313. },
  9314. "dstunitidname": {
  9315. "description": "目标品种单位名称",
  9316. "type": "string"
  9317. },
  9318. "srccode": {
  9319. "description": "源品种代码",
  9320. "type": "string"
  9321. },
  9322. "srcgoodsgroupid": {
  9323. "description": "源品种ID",
  9324. "type": "integer"
  9325. },
  9326. "srcname": {
  9327. "description": "源品种名称",
  9328. "type": "string"
  9329. },
  9330. "srcunitid": {
  9331. "description": "源品种单位ID",
  9332. "type": "integer"
  9333. },
  9334. "srcunitidname": {
  9335. "description": "源品种单位名称",
  9336. "type": "string"
  9337. }
  9338. }
  9339. },
  9340. "models.ErmcpHedgePlan": {
  9341. "type": "object",
  9342. "properties": {
  9343. "areauserid": {
  9344. "description": "用户ID",
  9345. "type": "integer"
  9346. },
  9347. "contracttype": {
  9348. "description": "计划类型 - 1:采购 -1:销售",
  9349. "type": "integer"
  9350. },
  9351. "convertfactor": {
  9352. "description": "标仓系数",
  9353. "type": "number"
  9354. },
  9355. "createtime": {
  9356. "description": "创建时间",
  9357. "type": "string"
  9358. },
  9359. "deliverygoodsid": {
  9360. "description": "现货品种ID",
  9361. "type": "integer"
  9362. },
  9363. "deliverygoodsname": {
  9364. "description": "现货品种名称",
  9365. "type": "string"
  9366. },
  9367. "hedgeplanid": {
  9368. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9369. "type": "string"
  9370. },
  9371. "hedgeplanno": {
  9372. "description": "套保计划编号(名称)",
  9373. "type": "string"
  9374. },
  9375. "hedgeplanstatus": {
  9376. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9377. "type": "integer"
  9378. },
  9379. "planqty": {
  9380. "description": "计划数量",
  9381. "type": "number"
  9382. },
  9383. "plantime": {
  9384. "description": "计划时间",
  9385. "type": "string"
  9386. },
  9387. "producttype": {
  9388. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9389. "type": "integer"
  9390. },
  9391. "remark": {
  9392. "description": "备注",
  9393. "type": "string"
  9394. },
  9395. "spotgoodsdesc": {
  9396. "description": "商品型号",
  9397. "type": "string"
  9398. },
  9399. "wrstandardid": {
  9400. "description": "现货商品ID",
  9401. "type": "integer"
  9402. },
  9403. "wrstandardname": {
  9404. "description": "现货商品名称",
  9405. "type": "string"
  9406. }
  9407. }
  9408. },
  9409. "models.ErmcpHedgePosition": {
  9410. "type": "object",
  9411. "properties": {
  9412. "accountid": {
  9413. "description": "资金账号[外部母账户]",
  9414. "type": "integer"
  9415. },
  9416. "curbuyposition": {
  9417. "description": "期末买头寸",
  9418. "type": "integer"
  9419. },
  9420. "cursellposition": {
  9421. "description": "期末卖头寸",
  9422. "type": "integer"
  9423. },
  9424. "curtdbuyposition": {
  9425. "description": "期末今日买头寸",
  9426. "type": "integer"
  9427. },
  9428. "curtdsellposition": {
  9429. "description": "期末今日卖头寸",
  9430. "type": "integer"
  9431. },
  9432. "curydbuyposition": {
  9433. "description": "期末上日买头寸",
  9434. "type": "integer"
  9435. },
  9436. "curydsellposition": {
  9437. "description": "期末上日卖头寸",
  9438. "type": "integer"
  9439. },
  9440. "decreaseqty": {
  9441. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9442. "type": "integer"
  9443. },
  9444. "fretdbuyposition": {
  9445. "description": "冻结今日买头寸",
  9446. "type": "integer"
  9447. },
  9448. "fretdsellposition": {
  9449. "description": "冻结今日卖头寸",
  9450. "type": "integer"
  9451. },
  9452. "freydbuyposition": {
  9453. "description": "冻结上日买头寸",
  9454. "type": "integer"
  9455. },
  9456. "freydsellposition": {
  9457. "description": "冻结上日卖头寸",
  9458. "type": "integer"
  9459. },
  9460. "goodscode": {
  9461. "description": "商品代码",
  9462. "type": "string"
  9463. },
  9464. "goodsid": {
  9465. "description": "商品id",
  9466. "type": "integer"
  9467. },
  9468. "goodsname": {
  9469. "description": "商品名称",
  9470. "type": "string"
  9471. },
  9472. "hedgeaccountcode": {
  9473. "description": "对冲账号",
  9474. "type": "string"
  9475. },
  9476. "hedgegoodsid": {
  9477. "description": "对冲合约ID",
  9478. "type": "integer"
  9479. },
  9480. "increaseqty": {
  9481. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9482. "type": "integer"
  9483. },
  9484. "marketid": {
  9485. "description": "市场ID",
  9486. "type": "integer"
  9487. },
  9488. "relateduserid": {
  9489. "description": "关联用户id",
  9490. "type": "integer"
  9491. },
  9492. "totalcurqty": {
  9493. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  9494. "type": "integer"
  9495. },
  9496. "totalydqty": {
  9497. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  9498. "type": "integer"
  9499. },
  9500. "tradedate": {
  9501. "description": "交易日(yyyyMMdd)",
  9502. "type": "string"
  9503. },
  9504. "ydbuyposition": {
  9505. "description": "期初买头寸",
  9506. "type": "integer"
  9507. },
  9508. "ydsellposition": {
  9509. "description": "期初卖头寸",
  9510. "type": "integer"
  9511. }
  9512. }
  9513. },
  9514. "models.ErmcpHedgePositionDetail": {
  9515. "type": "object",
  9516. "properties": {
  9517. "buyorsell": {
  9518. "description": "买卖方向 0-买 1-卖",
  9519. "type": "integer"
  9520. },
  9521. "channelbuildtype": {
  9522. "description": "开平方向 1-建仓 2-平仓",
  9523. "type": "integer"
  9524. },
  9525. "goodscode": {
  9526. "description": "商品代码",
  9527. "type": "string"
  9528. },
  9529. "goodsname": {
  9530. "description": "商品名称",
  9531. "type": "string"
  9532. },
  9533. "hedgegoodsid": {
  9534. "description": "商品id",
  9535. "type": "integer"
  9536. },
  9537. "tradeqty": {
  9538. "description": "数量(成交数量)",
  9539. "type": "integer"
  9540. },
  9541. "tradetime": {
  9542. "description": "时间(成交时间)",
  9543. "type": "string"
  9544. }
  9545. }
  9546. },
  9547. "models.ErmcpHisExposure": {
  9548. "type": "object",
  9549. "properties": {
  9550. "areauserid": {
  9551. "description": "所属机构",
  9552. "type": "integer"
  9553. },
  9554. "middlegoodscode": {
  9555. "description": "套保品种代码",
  9556. "type": "string"
  9557. },
  9558. "middlegoodsid": {
  9559. "description": "套保品种ID",
  9560. "type": "integer"
  9561. },
  9562. "middlegoodsname": {
  9563. "description": "套保品种名称",
  9564. "type": "string"
  9565. },
  9566. "needhedgeexposourE": {
  9567. "description": "应套保敞口",
  9568. "type": "number"
  9569. },
  9570. "needhedgeratio": {
  9571. "description": "应套保敞口比例",
  9572. "type": "number"
  9573. },
  9574. "reckondate": {
  9575. "description": "日照时期(yyyyMMdd)",
  9576. "type": "string"
  9577. },
  9578. "totalexposure": {
  9579. "description": "总敞口",
  9580. "type": "number"
  9581. },
  9582. "totalfutureqty": {
  9583. "description": "期货头寸总量",
  9584. "type": "number"
  9585. },
  9586. "totalhedgeratio": {
  9587. "description": "敞口比例",
  9588. "type": "number"
  9589. },
  9590. "totalneedhedgeqty": {
  9591. "description": "应套保总量",
  9592. "type": "number"
  9593. },
  9594. "totalspotqty": {
  9595. "description": "现货头寸总量",
  9596. "type": "number"
  9597. }
  9598. }
  9599. },
  9600. "models.ErmcpMiddleGoodsChangeLog": {
  9601. "type": "object",
  9602. "properties": {
  9603. "aftervalue": {
  9604. "description": "变更后",
  9605. "type": "number"
  9606. },
  9607. "applyid": {
  9608. "description": "操作人",
  9609. "type": "integer"
  9610. },
  9611. "applyname": {
  9612. "description": "操作人名称",
  9613. "type": "string"
  9614. },
  9615. "applysrc": {
  9616. "description": "操作来源 - 1:管理端 2:终端",
  9617. "type": "integer"
  9618. },
  9619. "beforevalue": {
  9620. "description": "变更前",
  9621. "type": "number"
  9622. },
  9623. "changelogtype": {
  9624. "description": "变更流水类型 - 1:套保比率变更",
  9625. "type": "integer"
  9626. },
  9627. "handlestatus": {
  9628. "description": "处理状态",
  9629. "type": "integer"
  9630. },
  9631. "logdatetime": {
  9632. "description": "流水日期",
  9633. "type": "string"
  9634. },
  9635. "logid": {
  9636. "description": "流水ID",
  9637. "type": "integer"
  9638. },
  9639. "logremark": {
  9640. "description": "流水备注",
  9641. "type": "string"
  9642. },
  9643. "middlegoodsid": {
  9644. "description": "套保品种ID",
  9645. "type": "integer"
  9646. },
  9647. "tradedate": {
  9648. "description": "交易日(yyyyMMdd)",
  9649. "type": "string"
  9650. },
  9651. "updatetime": {
  9652. "description": "更新时间",
  9653. "type": "string"
  9654. }
  9655. }
  9656. },
  9657. "models.ErmcpMiddleGoodsDetail": {
  9658. "type": "object",
  9659. "properties": {
  9660. "cvList": {
  9661. "description": "期货品种折算列表",
  9662. "type": "array",
  9663. "items": {
  9664. "$ref": "#/definitions/models.GoodsGroupConvert"
  9665. }
  9666. },
  9667. "mg": {
  9668. "description": "套保品种基本信息",
  9669. "type": "object",
  9670. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9671. }
  9672. }
  9673. },
  9674. "models.ErmcpMiddleGoodsModel": {
  9675. "type": "object",
  9676. "properties": {
  9677. "areauserid": {
  9678. "description": "机构用户ID",
  9679. "type": "integer"
  9680. },
  9681. "enumdicname": {
  9682. "description": "单位名称",
  9683. "type": "string"
  9684. },
  9685. "evaluateratio": {
  9686. "description": "估价系数",
  9687. "type": "number"
  9688. },
  9689. "goodsgroupid": {
  9690. "description": "关联期货品种ID",
  9691. "type": "integer"
  9692. },
  9693. "isvalid": {
  9694. "description": "状态 0-无效(停用) 1-有效(正常)",
  9695. "type": "integer"
  9696. },
  9697. "middlegoodscode": {
  9698. "description": "套保品种代码",
  9699. "type": "string"
  9700. },
  9701. "middlegoodsid": {
  9702. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9703. "type": "integer"
  9704. },
  9705. "middlegoodsname": {
  9706. "description": "套保品种名称",
  9707. "type": "string"
  9708. },
  9709. "modifytime": {
  9710. "description": "修改时间",
  9711. "type": "string"
  9712. },
  9713. "needhedgeratio": {
  9714. "description": "套保比率",
  9715. "type": "number"
  9716. },
  9717. "qtydecimalplace": {
  9718. "description": "数量小数位",
  9719. "type": "integer"
  9720. },
  9721. "relatedgoodsid": {
  9722. "description": "关联交易商品ID",
  9723. "type": "integer"
  9724. },
  9725. "relatedgoodstype": {
  9726. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9727. "type": "integer"
  9728. }
  9729. }
  9730. },
  9731. "models.ErmcpModel": {
  9732. "type": "object",
  9733. "properties": {
  9734. "accountname": {
  9735. "description": "账户名称",
  9736. "type": "string"
  9737. },
  9738. "audittime": {
  9739. "description": "审核时间",
  9740. "type": "string"
  9741. },
  9742. "contracctstatus": {
  9743. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9744. "type": "integer"
  9745. },
  9746. "contractmargin": {
  9747. "description": "合同保证金",
  9748. "type": "number"
  9749. },
  9750. "contractno": {
  9751. "description": "合同编号",
  9752. "type": "string"
  9753. },
  9754. "contracttype": {
  9755. "description": "合同类型 1-采购, -1-销售",
  9756. "type": "integer"
  9757. },
  9758. "convertfactor": {
  9759. "description": "标仓系数",
  9760. "type": "number"
  9761. },
  9762. "createtime": {
  9763. "description": "创建时间",
  9764. "type": "string"
  9765. },
  9766. "daikaiamount": {
  9767. "description": "待开票额",
  9768. "type": "number"
  9769. },
  9770. "deliveryenddate": {
  9771. "description": "交割结束日",
  9772. "type": "string"
  9773. },
  9774. "deliverygoodscode": {
  9775. "description": "现货商品代码",
  9776. "type": "string"
  9777. },
  9778. "deliverygoodsid": {
  9779. "description": "现货商品ID",
  9780. "type": "integer"
  9781. },
  9782. "deliverygoodsname": {
  9783. "description": "现货商品名称",
  9784. "type": "string"
  9785. },
  9786. "deliverystartdate": {
  9787. "description": "交割开始日",
  9788. "type": "string"
  9789. },
  9790. "enddate": {
  9791. "description": "点价结束日",
  9792. "type": "string"
  9793. },
  9794. "enumdicname": {
  9795. "description": "单位名称",
  9796. "type": "string"
  9797. },
  9798. "goodscode": {
  9799. "description": "点价商品代码",
  9800. "type": "string"
  9801. },
  9802. "goodsid": {
  9803. "description": "点价商品ID",
  9804. "type": "integer"
  9805. },
  9806. "invoiceamount": {
  9807. "description": "已开票额",
  9808. "type": "number"
  9809. },
  9810. "loanamount": {
  9811. "description": "贷款总额=已定价额+调整金额",
  9812. "type": "number"
  9813. },
  9814. "margin": {
  9815. "description": "保证金",
  9816. "type": "number"
  9817. },
  9818. "payamount": {
  9819. "description": "已收付额(收款或付款)",
  9820. "type": "number"
  9821. },
  9822. "price": {
  9823. "description": "价格",
  9824. "type": "number"
  9825. },
  9826. "pricedamount": {
  9827. "description": "已定价额",
  9828. "type": "number"
  9829. },
  9830. "pricedavg": {
  9831. "description": "已点均价",
  9832. "type": "number"
  9833. },
  9834. "pricedqty": {
  9835. "description": "已定价量",
  9836. "type": "number"
  9837. },
  9838. "pricemove": {
  9839. "description": "升贴水",
  9840. "type": "number"
  9841. },
  9842. "pricetype": {
  9843. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9844. "type": "integer"
  9845. },
  9846. "producttype": {
  9847. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9848. "type": "integer"
  9849. },
  9850. "qty": {
  9851. "description": "合同量",
  9852. "type": "number"
  9853. },
  9854. "reckonadjustamount": {
  9855. "description": "调整金额",
  9856. "type": "number"
  9857. },
  9858. "reckonedamount": {
  9859. "description": "已收付额(已确定额)",
  9860. "type": "number"
  9861. },
  9862. "reckonotheramount": {
  9863. "description": "其它费用",
  9864. "type": "number"
  9865. },
  9866. "reckonrealqty": {
  9867. "description": "已确定量",
  9868. "type": "number"
  9869. },
  9870. "remark": {
  9871. "description": "备注",
  9872. "type": "string"
  9873. },
  9874. "spotcontractid": {
  9875. "description": "合同ID",
  9876. "type": "string"
  9877. },
  9878. "spotgoodsdesc": {
  9879. "description": "商品型号(商品规格)",
  9880. "type": "string"
  9881. },
  9882. "startdate": {
  9883. "description": "点价开始日",
  9884. "type": "string"
  9885. },
  9886. "totalamount": {
  9887. "description": "合计总额",
  9888. "type": "number"
  9889. },
  9890. "unpayamount": {
  9891. "description": "待支收额(支付或收款)",
  9892. "type": "number"
  9893. },
  9894. "unpricedqty": {
  9895. "description": "未定价量",
  9896. "type": "number"
  9897. },
  9898. "unsureqty": {
  9899. "description": "未确定量",
  9900. "type": "number"
  9901. },
  9902. "userid": {
  9903. "description": "用户ID",
  9904. "type": "integer"
  9905. }
  9906. }
  9907. },
  9908. "models.ErmcpOPLogModel": {
  9909. "type": "object",
  9910. "properties": {
  9911. "aftervalue": {
  9912. "description": "变更后",
  9913. "type": "number"
  9914. },
  9915. "applyid": {
  9916. "description": "操作人ID",
  9917. "type": "string"
  9918. },
  9919. "applyname": {
  9920. "description": "操作人名称",
  9921. "type": "string"
  9922. },
  9923. "beforevalue": {
  9924. "description": "变更前",
  9925. "type": "number"
  9926. },
  9927. "biztype": {
  9928. "description": "业务类型 - 1:套保计划 2:现货合同",
  9929. "type": "integer"
  9930. },
  9931. "contracttype": {
  9932. "description": "现货合同类型 - 1:采购 -1:销售",
  9933. "type": "integer"
  9934. },
  9935. "logvalue": {
  9936. "description": "数值",
  9937. "type": "number"
  9938. },
  9939. "operatelogtype": {
  9940. "description": "操作流水类型",
  9941. "type": "integer"
  9942. },
  9943. "operatelogtypedesc": {
  9944. "description": "操作流水类型名称",
  9945. "type": "string"
  9946. },
  9947. "relatedid": {
  9948. "description": "现货合同ID\\套保计划",
  9949. "type": "string"
  9950. },
  9951. "updatetime": {
  9952. "description": "更新时间",
  9953. "type": "string"
  9954. }
  9955. }
  9956. },
  9957. "models.ErmcpRealExposureModel": {
  9958. "type": "object",
  9959. "properties": {
  9960. "areaUserID": {
  9961. "description": "所属机构",
  9962. "type": "integer"
  9963. },
  9964. "buyFutureQty": {
  9965. "description": "买入期货数量",
  9966. "type": "number"
  9967. },
  9968. "buyPlanQty": {
  9969. "description": "采购计划数量",
  9970. "type": "number"
  9971. },
  9972. "buyPricedQty": {
  9973. "description": "采购合同已定价数量",
  9974. "type": "number"
  9975. },
  9976. "diffFutuQty": {
  9977. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9978. "type": "number"
  9979. },
  9980. "diffSpotQty": {
  9981. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9982. "type": "number"
  9983. },
  9984. "middleGoodsCode": {
  9985. "description": "套保品种代码",
  9986. "type": "string"
  9987. },
  9988. "middleGoodsHedgeRatio": {
  9989. "description": "应套保比例",
  9990. "type": "number"
  9991. },
  9992. "middleGoodsID": {
  9993. "description": "套保品种",
  9994. "type": "integer"
  9995. },
  9996. "middleGoodsName": {
  9997. "description": "套保品种名称",
  9998. "type": "string"
  9999. },
  10000. "needHedgeExposoure": {
  10001. "description": "应套保敞口",
  10002. "type": "number"
  10003. },
  10004. "needHedgeRatio": {
  10005. "description": "应套保敞口比例",
  10006. "type": "number"
  10007. },
  10008. "oriBuyFutureQty": {
  10009. "description": "期初买入期货数量",
  10010. "type": "number"
  10011. },
  10012. "oriBuyPlanQty": {
  10013. "description": "期初采购计划数量",
  10014. "type": "number"
  10015. },
  10016. "oriBuyPricedQty": {
  10017. "description": "期初采购合同已定价数量",
  10018. "type": "number"
  10019. },
  10020. "oriSellFutureQty": {
  10021. "description": "期初卖出期货数量",
  10022. "type": "number"
  10023. },
  10024. "oriSellPlanQty": {
  10025. "description": "期初销售计划数量",
  10026. "type": "number"
  10027. },
  10028. "oriSellPricedQty": {
  10029. "description": "期初销售合同已定价数量",
  10030. "type": "number"
  10031. },
  10032. "oriTotalFutuQty": {
  10033. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10034. "type": "number"
  10035. },
  10036. "oriTotalSpotQty": {
  10037. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10038. "type": "number"
  10039. },
  10040. "sellFutureQty": {
  10041. "description": "卖出期货数量",
  10042. "type": "number"
  10043. },
  10044. "sellPlanQty": {
  10045. "description": "销售计划数量",
  10046. "type": "number"
  10047. },
  10048. "sellPricedQty": {
  10049. "description": "销售合同已定价数量",
  10050. "type": "number"
  10051. },
  10052. "totalExposure": {
  10053. "description": "总敞口",
  10054. "type": "number"
  10055. },
  10056. "totalFutureQty": {
  10057. "description": "期货数量",
  10058. "type": "number"
  10059. },
  10060. "totalHedgeRatio": {
  10061. "description": "敞口比例",
  10062. "type": "number"
  10063. },
  10064. "totalNeedHedgeQty": {
  10065. "description": "期货应套保量",
  10066. "type": "number"
  10067. },
  10068. "totalSpotQty": {
  10069. "description": "现货数量",
  10070. "type": "number"
  10071. }
  10072. }
  10073. },
  10074. "models.ErmcpSpotContractModel": {
  10075. "type": "object",
  10076. "properties": {
  10077. "amount": {
  10078. "description": "金额 [1:一口价、3:暂定价]",
  10079. "type": "number"
  10080. },
  10081. "auditremark": {
  10082. "description": "审核意见",
  10083. "type": "string"
  10084. },
  10085. "audittime": {
  10086. "description": "审核时间",
  10087. "type": "string"
  10088. },
  10089. "brandname": {
  10090. "description": "品牌名称",
  10091. "type": "string"
  10092. },
  10093. "buyuserid": {
  10094. "description": "采购方ID",
  10095. "type": "integer"
  10096. },
  10097. "buyusername": {
  10098. "description": "采购方名称",
  10099. "type": "string"
  10100. },
  10101. "contracctstatus": {
  10102. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10103. "type": "integer"
  10104. },
  10105. "contractmargin": {
  10106. "description": "合同保证金",
  10107. "type": "number"
  10108. },
  10109. "contractno": {
  10110. "description": "现货合同编号",
  10111. "type": "string"
  10112. },
  10113. "contracttype": {
  10114. "description": "现货合同类型 - 1:采购 -1:销售",
  10115. "type": "integer"
  10116. },
  10117. "convertfactor": {
  10118. "description": "标仓系数",
  10119. "type": "number"
  10120. },
  10121. "createtime": {
  10122. "description": "创建时间",
  10123. "type": "string"
  10124. },
  10125. "deliveryenddate": {
  10126. "description": "交收期(结束)",
  10127. "type": "string"
  10128. },
  10129. "deliverygoodscode": {
  10130. "description": "现货品种代码",
  10131. "type": "string"
  10132. },
  10133. "deliverygoodsid": {
  10134. "description": "现货品种ID",
  10135. "type": "integer"
  10136. },
  10137. "deliverygoodsname": {
  10138. "description": "现货品种名称",
  10139. "type": "string"
  10140. },
  10141. "deliverystartdate": {
  10142. "description": "交收期(开始)",
  10143. "type": "string"
  10144. },
  10145. "enddate": {
  10146. "description": "点价结束日期 [2:点价 3:暂定价]",
  10147. "type": "string"
  10148. },
  10149. "enumdicname": {
  10150. "description": "单位名称",
  10151. "type": "string"
  10152. },
  10153. "goodscode": {
  10154. "description": "点价合约代码",
  10155. "type": "string"
  10156. },
  10157. "goodsid": {
  10158. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10159. "type": "integer"
  10160. },
  10161. "margin": {
  10162. "description": "当前保证金",
  10163. "type": "number"
  10164. },
  10165. "modelname": {
  10166. "description": "型号名称",
  10167. "type": "string"
  10168. },
  10169. "price": {
  10170. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10171. "type": "number"
  10172. },
  10173. "pricemove": {
  10174. "description": "升贴水 [2:点价 3:暂定价]",
  10175. "type": "number"
  10176. },
  10177. "pricetype": {
  10178. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10179. "type": "integer"
  10180. },
  10181. "producttype": {
  10182. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10183. "type": "integer"
  10184. },
  10185. "qty": {
  10186. "description": "数量",
  10187. "type": "number"
  10188. },
  10189. "remark": {
  10190. "description": "备注",
  10191. "type": "string"
  10192. },
  10193. "selluserid": {
  10194. "description": "销售方ID",
  10195. "type": "integer"
  10196. },
  10197. "sellusername": {
  10198. "description": "销售方名称",
  10199. "type": "string"
  10200. },
  10201. "spotcontractid": {
  10202. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10203. "type": "string"
  10204. },
  10205. "spotgoodsbrandid": {
  10206. "description": "现货品牌ID",
  10207. "type": "integer"
  10208. },
  10209. "spotgoodsdesc": {
  10210. "description": "商品型号",
  10211. "type": "string"
  10212. },
  10213. "spotgoodsmodelid": {
  10214. "description": "现货型号ID",
  10215. "type": "integer"
  10216. },
  10217. "startdate": {
  10218. "description": "点价开始日期 [2:点价 3:暂定价]",
  10219. "type": "string"
  10220. },
  10221. "userid": {
  10222. "description": "机构ID",
  10223. "type": "integer"
  10224. },
  10225. "wrstandardid": {
  10226. "description": "现货商品ID",
  10227. "type": "integer"
  10228. }
  10229. }
  10230. },
  10231. "models.ErmcpUserModel": {
  10232. "type": "object",
  10233. "properties": {
  10234. "address": {
  10235. "description": "通讯地址",
  10236. "type": "string"
  10237. },
  10238. "attachment1": {
  10239. "description": "附件1",
  10240. "type": "string"
  10241. },
  10242. "cardfrontphotourl": {
  10243. "description": "证件正面图片地址",
  10244. "type": "string"
  10245. },
  10246. "cardnum": {
  10247. "description": "证件号码",
  10248. "type": "string"
  10249. },
  10250. "cardtype": {
  10251. "description": "证件类型",
  10252. "type": "integer"
  10253. },
  10254. "cardtypename": {
  10255. "description": "证件类型名称",
  10256. "type": "string"
  10257. },
  10258. "cityid": {
  10259. "description": "市",
  10260. "type": "integer"
  10261. },
  10262. "countryid": {
  10263. "description": "国家",
  10264. "type": "integer"
  10265. },
  10266. "createtime": {
  10267. "description": "创建时间",
  10268. "type": "string"
  10269. },
  10270. "customername": {
  10271. "description": "企业名称",
  10272. "type": "string"
  10273. },
  10274. "memberuserid": {
  10275. "description": "所属机构ID",
  10276. "type": "integer"
  10277. },
  10278. "mobile": {
  10279. "description": "手机号码",
  10280. "type": "string"
  10281. },
  10282. "provinceid": {
  10283. "description": "省",
  10284. "type": "integer"
  10285. },
  10286. "remark": {
  10287. "description": "备注",
  10288. "type": "string"
  10289. },
  10290. "status": {
  10291. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10292. "type": "integer"
  10293. },
  10294. "statusdesc": {
  10295. "description": "账户状态中文描述",
  10296. "type": "string"
  10297. },
  10298. "telphone": {
  10299. "description": "联系电话",
  10300. "type": "string"
  10301. },
  10302. "userid": {
  10303. "description": "用户ID",
  10304. "type": "integer"
  10305. },
  10306. "userinfotype": {
  10307. "description": "客户类型",
  10308. "type": "string"
  10309. }
  10310. }
  10311. },
  10312. "models.ErmcpWrstandDetail": {
  10313. "type": "object",
  10314. "properties": {
  10315. "gbList": {
  10316. "description": "品牌列表",
  10317. "type": "array",
  10318. "items": {
  10319. "$ref": "#/definitions/models.GoodsBrand"
  10320. }
  10321. },
  10322. "gtList": {
  10323. "description": "型号列表",
  10324. "type": "array",
  10325. "items": {
  10326. "$ref": "#/definitions/models.GoodsTypeModel"
  10327. }
  10328. },
  10329. "wrd": {
  10330. "description": "基本信息",
  10331. "type": "object",
  10332. "$ref": "#/definitions/models.ErmcpWrstandard"
  10333. },
  10334. "wrsList": {
  10335. "description": "套保信息列表",
  10336. "type": "array",
  10337. "items": {
  10338. "$ref": "#/definitions/models.WRSConverTDetail"
  10339. }
  10340. }
  10341. }
  10342. },
  10343. "models.ErmcpWrstandard": {
  10344. "type": "object",
  10345. "properties": {
  10346. "areauserid": {
  10347. "description": "所属机构",
  10348. "type": "integer"
  10349. },
  10350. "createtime": {
  10351. "description": "创建时间",
  10352. "type": "string"
  10353. },
  10354. "creatorid": {
  10355. "description": "创建人",
  10356. "type": "integer"
  10357. },
  10358. "deliverygoodsid": {
  10359. "description": "品种ID",
  10360. "type": "integer"
  10361. },
  10362. "enumdicname": {
  10363. "description": "单位名称",
  10364. "type": "string"
  10365. },
  10366. "isvalid": {
  10367. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10368. "type": "integer"
  10369. },
  10370. "minivalue": {
  10371. "description": "最小变动值",
  10372. "type": "integer"
  10373. },
  10374. "minivaluedp": {
  10375. "description": "最小变动值小数位",
  10376. "type": "integer"
  10377. },
  10378. "realminivalue": {
  10379. "description": "实际最小变动值",
  10380. "type": "integer"
  10381. },
  10382. "realminivaluedp": {
  10383. "description": "实际最小变动值小数位",
  10384. "type": "integer"
  10385. },
  10386. "remark": {
  10387. "description": "备注",
  10388. "type": "string"
  10389. },
  10390. "unitid": {
  10391. "description": "单位ID",
  10392. "type": "integer"
  10393. },
  10394. "updatetime": {
  10395. "description": "更新时间",
  10396. "type": "string"
  10397. },
  10398. "wrstandardcode": {
  10399. "description": "现货商品代码",
  10400. "type": "string"
  10401. },
  10402. "wrstandardid": {
  10403. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10404. "type": "integer"
  10405. },
  10406. "wrstandardname": {
  10407. "description": "现货商品名称",
  10408. "type": "string"
  10409. }
  10410. }
  10411. },
  10412. "models.Goods": {
  10413. "type": "object",
  10414. "required": [
  10415. "goodscode",
  10416. "goodsid",
  10417. "goodsname",
  10418. "marketid"
  10419. ],
  10420. "properties": {
  10421. "agreeunit": {
  10422. "description": "合约单位",
  10423. "type": "number"
  10424. },
  10425. "auditaccountid": {
  10426. "description": "审核操作员账号",
  10427. "type": "integer"
  10428. },
  10429. "audittime": {
  10430. "description": "审核时间",
  10431. "type": "string"
  10432. },
  10433. "cancelaccountid": {
  10434. "description": "注销操作员账号",
  10435. "type": "integer"
  10436. },
  10437. "canceltime": {
  10438. "description": "注销时间",
  10439. "type": "string"
  10440. },
  10441. "closepricemode": {
  10442. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  10443. "type": "integer"
  10444. },
  10445. "closepriceparam": {
  10446. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  10447. "type": "number"
  10448. },
  10449. "createtime": {
  10450. "description": "创建时间",
  10451. "type": "string"
  10452. },
  10453. "creatorid": {
  10454. "description": "创建人",
  10455. "type": "integer"
  10456. },
  10457. "currencyid": {
  10458. "description": "报价货币ID",
  10459. "type": "integer"
  10460. },
  10461. "cutmode": {
  10462. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  10463. "type": "integer"
  10464. },
  10465. "decimalplace": {
  10466. "description": "报价小数位",
  10467. "type": "integer"
  10468. },
  10469. "delistingdate": {
  10470. "description": "商品退市时间(状态:退市) -- 已作废",
  10471. "type": "string"
  10472. },
  10473. "delistingmode": {
  10474. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  10475. "type": "integer"
  10476. },
  10477. "deliveryflag": {
  10478. "description": "交割标志 - 0:不可交割 1:可交割",
  10479. "type": "integer"
  10480. },
  10481. "forceclosemode": {
  10482. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  10483. "type": "integer"
  10484. },
  10485. "forceclosevalue": {
  10486. "description": "定期强平参数 [收益权]",
  10487. "type": "integer"
  10488. },
  10489. "goodscode": {
  10490. "description": "商品代码(内部)",
  10491. "type": "string"
  10492. },
  10493. "goodscurrencyid": {
  10494. "description": "合约货币ID",
  10495. "type": "integer"
  10496. },
  10497. "goodsgroupid": {
  10498. "description": "所属商品组ID",
  10499. "type": "integer"
  10500. },
  10501. "goodsid": {
  10502. "description": "商品ID(自增ID SEQ_GOODS)",
  10503. "type": "integer"
  10504. },
  10505. "goodsname": {
  10506. "description": "商品名称",
  10507. "type": "string"
  10508. },
  10509. "goodsquotetype": {
  10510. "description": "合约报价类型: 1-直接报价 2-间接报价",
  10511. "type": "integer"
  10512. },
  10513. "goodsstatus": {
  10514. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10515. "type": "integer"
  10516. },
  10517. "goodstradetype": {
  10518. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  10519. "type": "integer"
  10520. },
  10521. "goodunitid": {
  10522. "description": "报价单位ID",
  10523. "type": "integer"
  10524. },
  10525. "hasquoter": {
  10526. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  10527. "type": "integer"
  10528. },
  10529. "hqprotecttime": {
  10530. "description": "行情保护时间(秒)",
  10531. "type": "integer"
  10532. },
  10533. "innerdealmode": {
  10534. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  10535. "type": "integer"
  10536. },
  10537. "isbuylimited": {
  10538. "description": "是否限制建仓量 - 0:不限制 1:限制",
  10539. "type": "integer"
  10540. },
  10541. "lasttradedate": {
  10542. "description": "最后交易日期(状态:待退市)",
  10543. "type": "string"
  10544. },
  10545. "listingdate": {
  10546. "description": "交易开始日期",
  10547. "type": "string"
  10548. },
  10549. "marketid": {
  10550. "description": "所属市场ID",
  10551. "type": "integer"
  10552. },
  10553. "modifierid": {
  10554. "description": "修改人",
  10555. "type": "integer"
  10556. },
  10557. "modifystatus": {
  10558. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  10559. "type": "integer"
  10560. },
  10561. "modifytime": {
  10562. "description": "修改时间",
  10563. "type": "string"
  10564. },
  10565. "outerdealmode": {
  10566. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  10567. "type": "integer"
  10568. },
  10569. "outgoodscode": {
  10570. "description": "商品代码(外部)",
  10571. "type": "string"
  10572. },
  10573. "qtydecimalplace": {
  10574. "description": "成交量小数位",
  10575. "type": "integer"
  10576. },
  10577. "quotegear": {
  10578. "description": "行情档位(1-10)",
  10579. "type": "integer"
  10580. },
  10581. "quoteminunit": {
  10582. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10583. "type": "integer"
  10584. },
  10585. "quoteshowtype": {
  10586. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10587. "type": "integer"
  10588. },
  10589. "quoteshowtypeinterval": {
  10590. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10591. "type": "integer"
  10592. },
  10593. "remark": {
  10594. "description": "备注",
  10595. "type": "string"
  10596. }
  10597. }
  10598. },
  10599. "models.GoodsBrand": {
  10600. "type": "object",
  10601. "properties": {
  10602. "brandid": {
  10603. "description": "品牌ID",
  10604. "type": "integer"
  10605. },
  10606. "brandname": {
  10607. "description": "品牌名称",
  10608. "type": "string"
  10609. },
  10610. "isvalid": {
  10611. "description": "是否有效 - 0:无效 1:有效",
  10612. "type": "integer"
  10613. }
  10614. }
  10615. },
  10616. "models.GoodsGroupConvert": {
  10617. "type": "object",
  10618. "properties": {
  10619. "convertratio": {
  10620. "description": "折算系数",
  10621. "type": "number"
  10622. },
  10623. "dstgoodsgroupid": {
  10624. "description": "目标期货品种ID",
  10625. "type": "integer"
  10626. },
  10627. "goodsgroupname": {
  10628. "description": "期货品种名称",
  10629. "type": "string"
  10630. },
  10631. "outergroupcode": {
  10632. "description": "期货品种代码",
  10633. "type": "string"
  10634. },
  10635. "srcgoodsgroupid": {
  10636. "description": "源期货品种ID",
  10637. "type": "integer"
  10638. }
  10639. }
  10640. },
  10641. "models.GoodsIDAndName": {
  10642. "type": "object",
  10643. "required": [
  10644. "goodscode",
  10645. "goodsid",
  10646. "goodsname",
  10647. "marketid"
  10648. ],
  10649. "properties": {
  10650. "goodscode": {
  10651. "description": "商品代码(内部)",
  10652. "type": "string"
  10653. },
  10654. "goodsid": {
  10655. "description": "商品ID(自增ID SEQ_GOODS)",
  10656. "type": "integer"
  10657. },
  10658. "goodsname": {
  10659. "description": "商品名称",
  10660. "type": "string"
  10661. },
  10662. "marketid": {
  10663. "description": "所属市场ID",
  10664. "type": "integer"
  10665. }
  10666. }
  10667. },
  10668. "models.GoodsTypeModel": {
  10669. "type": "object",
  10670. "properties": {
  10671. "modelid": {
  10672. "description": "型号ID",
  10673. "type": "integer"
  10674. },
  10675. "modelname": {
  10676. "description": "型号名称",
  10677. "type": "string"
  10678. },
  10679. "updatetime": {
  10680. "description": "更新时间",
  10681. "type": "string"
  10682. }
  10683. }
  10684. },
  10685. "models.HsbyBuyMyPayOrder": {
  10686. "type": "object",
  10687. "required": [
  10688. "goodscode",
  10689. "goodsname",
  10690. "tradeid",
  10691. "trademode"
  10692. ],
  10693. "properties": {
  10694. "agreeunit": {
  10695. "description": "合约单位",
  10696. "type": "number"
  10697. },
  10698. "buyaccountid": {
  10699. "description": "买方账号ID[报价币种]",
  10700. "type": "integer"
  10701. },
  10702. "buyorderid": {
  10703. "description": "买方委托单号",
  10704. "type": "string"
  10705. },
  10706. "createtime": {
  10707. "description": "创建时间",
  10708. "type": "string"
  10709. },
  10710. "currencysign": {
  10711. "description": "货币符号",
  10712. "type": "string"
  10713. },
  10714. "decimalplace": {
  10715. "description": "报价小数位",
  10716. "type": "integer"
  10717. },
  10718. "goodscode": {
  10719. "description": "商品代码(内部)",
  10720. "type": "string"
  10721. },
  10722. "goodsid": {
  10723. "description": "商品ID",
  10724. "type": "integer"
  10725. },
  10726. "goodsname": {
  10727. "description": "商品名称",
  10728. "type": "string"
  10729. },
  10730. "marketid": {
  10731. "description": "市场ID",
  10732. "type": "integer"
  10733. },
  10734. "offamount": {
  10735. "description": "优惠金额",
  10736. "type": "number"
  10737. },
  10738. "payamount": {
  10739. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10740. "type": "number"
  10741. },
  10742. "payflag": {
  10743. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10744. "type": "integer"
  10745. },
  10746. "paylimitedtime": {
  10747. "description": "支付期限",
  10748. "type": "string"
  10749. },
  10750. "paytime": {
  10751. "description": "付款时间",
  10752. "type": "string"
  10753. },
  10754. "picurls1": {
  10755. "description": "预售商品介绍图片[多张用逗号分隔]",
  10756. "type": "string"
  10757. },
  10758. "picurls2": {
  10759. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10760. "type": "string"
  10761. },
  10762. "sellaccountid": {
  10763. "description": "卖方账号ID[报价币种]",
  10764. "type": "integer"
  10765. },
  10766. "sellorderid": {
  10767. "description": "卖方委托单号",
  10768. "type": "string"
  10769. },
  10770. "tradeamount": {
  10771. "description": "成交金额",
  10772. "type": "number"
  10773. },
  10774. "tradecharge": {
  10775. "description": "成交手续费(买方)",
  10776. "type": "number"
  10777. },
  10778. "tradedate": {
  10779. "description": "交易日(yyyyMMdd)",
  10780. "type": "string"
  10781. },
  10782. "tradeid": {
  10783. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10784. "type": "string"
  10785. },
  10786. "trademode": {
  10787. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10788. "type": "integer"
  10789. },
  10790. "tradeprice": {
  10791. "description": "成交价格",
  10792. "type": "number"
  10793. },
  10794. "tradeqty": {
  10795. "description": "成交数量",
  10796. "type": "integer"
  10797. },
  10798. "vendorname1": {
  10799. "description": "预售商品供应商名称",
  10800. "type": "string"
  10801. },
  10802. "vendorname2": {
  10803. "description": "挂牌商品供应商名称",
  10804. "type": "string"
  10805. }
  10806. }
  10807. },
  10808. "models.HsbyBuyMyTradeDetail": {
  10809. "type": "object",
  10810. "required": [
  10811. "accountid",
  10812. "buyorsell",
  10813. "goodscode",
  10814. "goodsid",
  10815. "goodsname",
  10816. "marketid",
  10817. "orderid",
  10818. "qty",
  10819. "time",
  10820. "trademode"
  10821. ],
  10822. "properties": {
  10823. "accountid": {
  10824. "description": "账户ID[报价币种]",
  10825. "type": "integer"
  10826. },
  10827. "agreeunit": {
  10828. "description": "合约单位",
  10829. "type": "number"
  10830. },
  10831. "amount": {
  10832. "description": "金额 = 价格 * 数量 * 合约单位",
  10833. "type": "number"
  10834. },
  10835. "buyorsell": {
  10836. "description": "买卖 - 0:买 1:卖",
  10837. "type": "integer"
  10838. },
  10839. "currencysign": {
  10840. "description": "货币符号",
  10841. "type": "string"
  10842. },
  10843. "decimalplace": {
  10844. "description": "报价小数位",
  10845. "type": "integer"
  10846. },
  10847. "goodscode": {
  10848. "description": "商品代码(内部)",
  10849. "type": "string"
  10850. },
  10851. "goodsid": {
  10852. "description": "商品ID",
  10853. "type": "integer"
  10854. },
  10855. "goodsname": {
  10856. "description": "商品名称",
  10857. "type": "string"
  10858. },
  10859. "marketid": {
  10860. "description": "市场ID",
  10861. "type": "integer"
  10862. },
  10863. "orderid": {
  10864. "description": "单号(成交单号)",
  10865. "type": "string"
  10866. },
  10867. "picurls1": {
  10868. "description": "预售商品介绍图片[多张用逗号分隔]",
  10869. "type": "string"
  10870. },
  10871. "picurls2": {
  10872. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10873. "type": "string"
  10874. },
  10875. "price": {
  10876. "description": "价格",
  10877. "type": "number"
  10878. },
  10879. "qty": {
  10880. "description": "数量",
  10881. "type": "integer"
  10882. },
  10883. "time": {
  10884. "description": "时间",
  10885. "type": "string"
  10886. },
  10887. "trademode": {
  10888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10889. "type": "integer"
  10890. },
  10891. "vendorname1": {
  10892. "description": "预售商品供应商名称",
  10893. "type": "string"
  10894. },
  10895. "vendorname2": {
  10896. "description": "挂牌商品供应商名称",
  10897. "type": "string"
  10898. }
  10899. }
  10900. },
  10901. "models.HsbyGoodsOrderDetail": {
  10902. "type": "object",
  10903. "required": [
  10904. "buyorsell",
  10905. "orderid",
  10906. "ordertime"
  10907. ],
  10908. "properties": {
  10909. "buyorsell": {
  10910. "description": "买卖 - 0:买 1:卖",
  10911. "type": "integer"
  10912. },
  10913. "currencysign": {
  10914. "description": "货币符号",
  10915. "type": "string"
  10916. },
  10917. "customername": {
  10918. "description": "客户名称(企业名称),已脱敏",
  10919. "type": "string"
  10920. },
  10921. "enableqty": {
  10922. "description": "可用数量",
  10923. "type": "integer"
  10924. },
  10925. "goodunit": {
  10926. "description": "报价单位",
  10927. "type": "string"
  10928. },
  10929. "orderid": {
  10930. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10931. "type": "string"
  10932. },
  10933. "orderprice": {
  10934. "description": "委托价格",
  10935. "type": "number"
  10936. },
  10937. "ordertime": {
  10938. "description": "委托时间",
  10939. "type": "string"
  10940. }
  10941. }
  10942. },
  10943. "models.HsbyListingGoodsDetail": {
  10944. "type": "object",
  10945. "required": [
  10946. "goodscode",
  10947. "goodsid",
  10948. "goodsname",
  10949. "marketid",
  10950. "trademode"
  10951. ],
  10952. "properties": {
  10953. "agreeunit": {
  10954. "description": "合约单位",
  10955. "type": "number"
  10956. },
  10957. "buymaxqty": {
  10958. "description": "购买上限 [71] - 0为不限",
  10959. "type": "integer"
  10960. },
  10961. "currency": {
  10962. "description": "货币",
  10963. "type": "string"
  10964. },
  10965. "currencysign": {
  10966. "description": "货币符号",
  10967. "type": "string"
  10968. },
  10969. "decimalplace": {
  10970. "description": "报价小数位",
  10971. "type": "integer"
  10972. },
  10973. "desccityid": {
  10974. "description": "目的地(市)ID",
  10975. "type": "integer"
  10976. },
  10977. "descprovinceid": {
  10978. "description": "目的地(省)ID",
  10979. "type": "integer"
  10980. },
  10981. "goodscode": {
  10982. "description": "商品代码(内部)",
  10983. "type": "string"
  10984. },
  10985. "goodsdesc": {
  10986. "description": "商品详情",
  10987. "type": "string"
  10988. },
  10989. "goodsid": {
  10990. "description": "商品ID(自增ID SEQ_GOODS)",
  10991. "type": "integer"
  10992. },
  10993. "goodsname": {
  10994. "description": "商品名称",
  10995. "type": "string"
  10996. },
  10997. "goodsprice": {
  10998. "description": "商品价格",
  10999. "type": "number"
  11000. },
  11001. "hotindex": {
  11002. "description": "景点热度",
  11003. "type": "integer"
  11004. },
  11005. "last": {
  11006. "description": "现价",
  11007. "type": "number"
  11008. },
  11009. "limitdown": {
  11010. "description": "跌停价",
  11011. "type": "number"
  11012. },
  11013. "limitup": {
  11014. "description": "涨停价",
  11015. "type": "number"
  11016. },
  11017. "lotsize": {
  11018. "description": "手数最小变动单位",
  11019. "type": "integer"
  11020. },
  11021. "marketid": {
  11022. "description": "所属市场ID",
  11023. "type": "integer"
  11024. },
  11025. "picurls": {
  11026. "description": "介绍图片[多张用逗号分隔]",
  11027. "type": "string"
  11028. },
  11029. "quoteminunit": {
  11030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11031. "type": "integer"
  11032. },
  11033. "stepvalue": {
  11034. "description": "价格最小变动单位",
  11035. "type": "number"
  11036. },
  11037. "trademode": {
  11038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11039. "type": "integer"
  11040. },
  11041. "vendorattr": {
  11042. "description": "供应商附件(多张,逗号分隔)",
  11043. "type": "string"
  11044. },
  11045. "vendorname": {
  11046. "description": "供应商名称",
  11047. "type": "string"
  11048. },
  11049. "vendorphone": {
  11050. "description": "供应商客服电话",
  11051. "type": "string"
  11052. },
  11053. "videourls": {
  11054. "description": "介绍视频[多张用逗号分隔]",
  11055. "type": "string"
  11056. }
  11057. }
  11058. },
  11059. "models.HsbyMarketGoods": {
  11060. "type": "object",
  11061. "required": [
  11062. "accountid",
  11063. "buyorsell",
  11064. "goodscode",
  11065. "goodsid",
  11066. "goodsname",
  11067. "marketid",
  11068. "orderid",
  11069. "trademode"
  11070. ],
  11071. "properties": {
  11072. "accountid": {
  11073. "description": "账户ID[报价币种]",
  11074. "type": "integer"
  11075. },
  11076. "agreeunit": {
  11077. "description": "合约单位",
  11078. "type": "number"
  11079. },
  11080. "buyorsell": {
  11081. "description": "买卖 - 0:买 1:卖",
  11082. "type": "integer"
  11083. },
  11084. "categoryid": {
  11085. "description": "类别ID(WRCATEGORY)",
  11086. "type": "integer"
  11087. },
  11088. "currency": {
  11089. "description": "货币",
  11090. "type": "string"
  11091. },
  11092. "currencysign": {
  11093. "description": "货币符号",
  11094. "type": "string"
  11095. },
  11096. "customername": {
  11097. "description": "卖家名称",
  11098. "type": "string"
  11099. },
  11100. "decimalplace": {
  11101. "description": "报价小数位",
  11102. "type": "integer"
  11103. },
  11104. "goodscode": {
  11105. "description": "商品代码(内部)",
  11106. "type": "string"
  11107. },
  11108. "goodsid": {
  11109. "description": "商品ID",
  11110. "type": "integer"
  11111. },
  11112. "goodsname": {
  11113. "description": "商品名称",
  11114. "type": "string"
  11115. },
  11116. "goodsprice": {
  11117. "description": "商品价格",
  11118. "type": "number"
  11119. },
  11120. "hascoupon": {
  11121. "description": "是否可用优惠卷",
  11122. "type": "boolean"
  11123. },
  11124. "hotindex": {
  11125. "description": "景点热度",
  11126. "type": "integer"
  11127. },
  11128. "marketid": {
  11129. "description": "市场ID",
  11130. "type": "integer"
  11131. },
  11132. "orderid": {
  11133. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11134. "type": "string"
  11135. },
  11136. "orderprice": {
  11137. "description": "委托价格",
  11138. "type": "number"
  11139. },
  11140. "orderstatus": {
  11141. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11142. "type": "integer"
  11143. },
  11144. "picurls": {
  11145. "description": "介绍图片[多张用逗号分隔]",
  11146. "type": "string"
  11147. },
  11148. "quoteminunit": {
  11149. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11150. "type": "integer"
  11151. },
  11152. "sellUserID": {
  11153. "description": "卖方UserID",
  11154. "type": "integer"
  11155. },
  11156. "trademode": {
  11157. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11158. "type": "integer"
  11159. },
  11160. "videourls": {
  11161. "description": "介绍视频[多张用逗号分隔]",
  11162. "type": "string"
  11163. }
  11164. }
  11165. },
  11166. "models.HsbyMarketGoodsDetail": {
  11167. "type": "object",
  11168. "required": [
  11169. "accountid",
  11170. "buyorsell",
  11171. "goodscode",
  11172. "goodsid",
  11173. "goodsname",
  11174. "marketid",
  11175. "orderid",
  11176. "orderqty",
  11177. "trademode"
  11178. ],
  11179. "properties": {
  11180. "accountid": {
  11181. "description": "账户ID[报价币种]",
  11182. "type": "integer"
  11183. },
  11184. "agreeunit": {
  11185. "description": "合约单位",
  11186. "type": "number"
  11187. },
  11188. "buymaxqty": {
  11189. "description": "购买上限 [71] - 0为不限",
  11190. "type": "integer"
  11191. },
  11192. "buyorsell": {
  11193. "description": "买卖 - 0:买 1:卖",
  11194. "type": "integer"
  11195. },
  11196. "cancelqty": {
  11197. "description": "撤单数量",
  11198. "type": "integer"
  11199. },
  11200. "categoryid": {
  11201. "description": "类别ID(WRCATEGORY)",
  11202. "type": "integer"
  11203. },
  11204. "currency": {
  11205. "description": "货币",
  11206. "type": "string"
  11207. },
  11208. "currencysign": {
  11209. "description": "货币符号",
  11210. "type": "string"
  11211. },
  11212. "customername": {
  11213. "description": "卖家名称",
  11214. "type": "string"
  11215. },
  11216. "decimalplace": {
  11217. "description": "报价小数位",
  11218. "type": "integer"
  11219. },
  11220. "goodscode": {
  11221. "description": "商品代码(内部)",
  11222. "type": "string"
  11223. },
  11224. "goodsdesc": {
  11225. "description": "商品详情",
  11226. "type": "string"
  11227. },
  11228. "goodsid": {
  11229. "description": "商品ID",
  11230. "type": "integer"
  11231. },
  11232. "goodsname": {
  11233. "description": "商品名称",
  11234. "type": "string"
  11235. },
  11236. "goodsprice": {
  11237. "description": "商品价格",
  11238. "type": "number"
  11239. },
  11240. "hotindex": {
  11241. "description": "景点热度",
  11242. "type": "integer"
  11243. },
  11244. "lotsize": {
  11245. "description": "手数最小变动单位",
  11246. "type": "integer"
  11247. },
  11248. "marketid": {
  11249. "description": "市场ID",
  11250. "type": "integer"
  11251. },
  11252. "orderid": {
  11253. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11254. "type": "string"
  11255. },
  11256. "orderprice": {
  11257. "description": "委托价格",
  11258. "type": "number"
  11259. },
  11260. "orderqty": {
  11261. "description": "委托数量",
  11262. "type": "integer"
  11263. },
  11264. "orderstatus": {
  11265. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11266. "type": "integer"
  11267. },
  11268. "picurls": {
  11269. "description": "介绍图片[多张用逗号分隔]",
  11270. "type": "string"
  11271. },
  11272. "quoteminunit": {
  11273. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11274. "type": "integer"
  11275. },
  11276. "sellUserID": {
  11277. "description": "卖方UserID",
  11278. "type": "integer"
  11279. },
  11280. "trademode": {
  11281. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11282. "type": "integer"
  11283. },
  11284. "tradeqty": {
  11285. "description": "成交数量",
  11286. "type": "integer"
  11287. },
  11288. "vendorattr": {
  11289. "description": "供应商附件(多张,逗号分隔)",
  11290. "type": "string"
  11291. },
  11292. "vendorname": {
  11293. "description": "供应商名称",
  11294. "type": "string"
  11295. },
  11296. "vendorphone": {
  11297. "description": "供应商客服电话",
  11298. "type": "string"
  11299. },
  11300. "videourls": {
  11301. "description": "介绍视频[多张用逗号分隔]",
  11302. "type": "string"
  11303. }
  11304. }
  11305. },
  11306. "models.HsbyMarketInfo": {
  11307. "type": "object",
  11308. "required": [
  11309. "marketid",
  11310. "marketstatus",
  11311. "trademode"
  11312. ],
  11313. "properties": {
  11314. "marketid": {
  11315. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11316. "type": "integer"
  11317. },
  11318. "marketname": {
  11319. "description": "市场名称",
  11320. "type": "string"
  11321. },
  11322. "marketstatus": {
  11323. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11324. "type": "integer"
  11325. },
  11326. "trademode": {
  11327. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11328. "type": "integer"
  11329. }
  11330. }
  11331. },
  11332. "models.HsbyMyGoods": {
  11333. "type": "object",
  11334. "required": [
  11335. "accountid",
  11336. "goodscode",
  11337. "goodsid",
  11338. "goodsname",
  11339. "marketid",
  11340. "trademode"
  11341. ],
  11342. "properties": {
  11343. "accountid": {
  11344. "description": "账号Id",
  11345. "type": "integer"
  11346. },
  11347. "agreeunit": {
  11348. "description": "合约单位",
  11349. "type": "number"
  11350. },
  11351. "buyaverageprice": {
  11352. "description": "持仓均价",
  11353. "type": "number"
  11354. },
  11355. "buycurholderamount": {
  11356. "description": "买当前持仓总金额[商品币种]",
  11357. "type": "number"
  11358. },
  11359. "buycurpositionqty": {
  11360. "description": "买当前持仓总数量",
  11361. "type": "integer"
  11362. },
  11363. "buymaxqty": {
  11364. "description": "购买上限 [71] - 0为不限",
  11365. "type": "integer"
  11366. },
  11367. "currencysign": {
  11368. "description": "货币符号",
  11369. "type": "string"
  11370. },
  11371. "decimalplace": {
  11372. "description": "报价小数位",
  11373. "type": "integer"
  11374. },
  11375. "enableqty": {
  11376. "description": "可用数量",
  11377. "type": "integer"
  11378. },
  11379. "goodscode": {
  11380. "description": "商品代码(内部)",
  11381. "type": "string"
  11382. },
  11383. "goodsid": {
  11384. "description": "商品Id",
  11385. "type": "integer"
  11386. },
  11387. "goodsname": {
  11388. "description": "商品名称",
  11389. "type": "string"
  11390. },
  11391. "goodsprice": {
  11392. "description": "商品价格",
  11393. "type": "number"
  11394. },
  11395. "goodsstatus": {
  11396. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11397. "type": "integer"
  11398. },
  11399. "last": {
  11400. "description": "现价(仅使用于挂牌点选)",
  11401. "type": "number"
  11402. },
  11403. "limitdown": {
  11404. "description": "跌停价(仅使用于挂牌点选)",
  11405. "type": "number"
  11406. },
  11407. "limitup": {
  11408. "description": "涨停价(仅使用于挂牌点选)",
  11409. "type": "number"
  11410. },
  11411. "lotsize": {
  11412. "description": "手数最小变动单位",
  11413. "type": "integer"
  11414. },
  11415. "marketid": {
  11416. "description": "所属市场ID",
  11417. "type": "integer"
  11418. },
  11419. "picurls": {
  11420. "description": "介绍图片[多张用逗号分隔]",
  11421. "type": "string"
  11422. },
  11423. "quoteminunit": {
  11424. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11425. "type": "integer"
  11426. },
  11427. "stepvalue": {
  11428. "description": "价格最小变动单位",
  11429. "type": "number"
  11430. },
  11431. "trademode": {
  11432. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11433. "type": "integer"
  11434. }
  11435. }
  11436. },
  11437. "models.HsbyMyPackage": {
  11438. "type": "object",
  11439. "required": [
  11440. "goodscode",
  11441. "goodsname",
  11442. "takeorderid",
  11443. "trademode"
  11444. ],
  11445. "properties": {
  11446. "accountid": {
  11447. "description": "账户ID",
  11448. "type": "integer"
  11449. },
  11450. "address": {
  11451. "description": "提货人详细地址",
  11452. "type": "string"
  11453. },
  11454. "agreeunit": {
  11455. "description": "合约单位",
  11456. "type": "number"
  11457. },
  11458. "amount": {
  11459. "description": "提货金额",
  11460. "type": "number"
  11461. },
  11462. "auditer": {
  11463. "description": "审核人",
  11464. "type": "integer"
  11465. },
  11466. "audittime": {
  11467. "description": "审核时间",
  11468. "type": "string"
  11469. },
  11470. "averageprice": {
  11471. "description": "均价",
  11472. "type": "number"
  11473. },
  11474. "cardnum": {
  11475. "description": "提货人证件号码",
  11476. "type": "string"
  11477. },
  11478. "cardtypeid": {
  11479. "description": "提货人证件类型",
  11480. "type": "integer"
  11481. },
  11482. "checkremark": {
  11483. "description": "审核备注",
  11484. "type": "string"
  11485. },
  11486. "currencysign": {
  11487. "description": "货币符号",
  11488. "type": "string"
  11489. },
  11490. "decimalplace": {
  11491. "description": "报价小数位",
  11492. "type": "integer"
  11493. },
  11494. "goodscode": {
  11495. "description": "商品代码(内部)",
  11496. "type": "string"
  11497. },
  11498. "goodsid": {
  11499. "description": "商品ID",
  11500. "type": "integer"
  11501. },
  11502. "goodsname": {
  11503. "description": "商品名称",
  11504. "type": "string"
  11505. },
  11506. "handlestatus": {
  11507. "description": "处理状态",
  11508. "type": "integer"
  11509. },
  11510. "marketid": {
  11511. "description": "市场ID",
  11512. "type": "integer"
  11513. },
  11514. "phonenum": {
  11515. "description": "提货人联系方式",
  11516. "type": "string"
  11517. },
  11518. "picurls": {
  11519. "description": "介绍图片[多张用逗号分隔]",
  11520. "type": "string"
  11521. },
  11522. "qty": {
  11523. "description": "提货数量",
  11524. "type": "number"
  11525. },
  11526. "recivername": {
  11527. "description": "提货人姓名",
  11528. "type": "string"
  11529. },
  11530. "reqtime": {
  11531. "description": "更新时间",
  11532. "type": "string"
  11533. },
  11534. "takemode": {
  11535. "description": "提货方式 - 2:自提 3:配送",
  11536. "type": "integer"
  11537. },
  11538. "takeorderid": {
  11539. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11540. "type": "string"
  11541. },
  11542. "takeorderstatus": {
  11543. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11544. "type": "integer"
  11545. },
  11546. "takeremark": {
  11547. "description": "提货备注",
  11548. "type": "string"
  11549. },
  11550. "tradedate": {
  11551. "description": "交易日(yyyyMMdd)",
  11552. "type": "string"
  11553. },
  11554. "trademode": {
  11555. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11556. "type": "integer"
  11557. },
  11558. "userid": {
  11559. "description": "用户ID",
  11560. "type": "integer"
  11561. },
  11562. "vendorname": {
  11563. "description": "供应商名称",
  11564. "type": "string"
  11565. }
  11566. }
  11567. },
  11568. "models.HsbyPreGoods": {
  11569. "type": "object",
  11570. "required": [
  11571. "goodscode",
  11572. "goodsid",
  11573. "goodsname",
  11574. "marketid",
  11575. "trademode"
  11576. ],
  11577. "properties": {
  11578. "agreeunit": {
  11579. "description": "合约单位",
  11580. "type": "number"
  11581. },
  11582. "currency": {
  11583. "description": "货币",
  11584. "type": "string"
  11585. },
  11586. "currencysign": {
  11587. "description": "货币符号",
  11588. "type": "string"
  11589. },
  11590. "decimalplace": {
  11591. "description": "报价小数位",
  11592. "type": "integer"
  11593. },
  11594. "enableqty": {
  11595. "description": "剩余数量",
  11596. "type": "integer"
  11597. },
  11598. "goodscode": {
  11599. "description": "商品代码(内部)",
  11600. "type": "string"
  11601. },
  11602. "goodsid": {
  11603. "description": "商品ID(自增ID SEQ_GOODS)",
  11604. "type": "integer"
  11605. },
  11606. "goodsname": {
  11607. "description": "商品名称",
  11608. "type": "string"
  11609. },
  11610. "goodsstatus": {
  11611. "description": "商品状态- 2:未上市 3:上市",
  11612. "type": "integer"
  11613. },
  11614. "lasttradedate": {
  11615. "description": "最后交易日期(状态:待退市)",
  11616. "type": "string"
  11617. },
  11618. "listingdate": {
  11619. "description": "交易开始日期",
  11620. "type": "string"
  11621. },
  11622. "marketid": {
  11623. "description": "所属市场ID",
  11624. "type": "integer"
  11625. },
  11626. "picurls": {
  11627. "description": "介绍图片[多张用逗号分隔]",
  11628. "type": "string"
  11629. },
  11630. "presaledqty": {
  11631. "description": "已预售量(预售结束时更新)",
  11632. "type": "integer"
  11633. },
  11634. "presaleqty": {
  11635. "description": "预售数量",
  11636. "type": "integer"
  11637. },
  11638. "quoteminunit": {
  11639. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11640. "type": "integer"
  11641. },
  11642. "refprice": {
  11643. "description": "参考价格[一口价]",
  11644. "type": "number"
  11645. },
  11646. "relatedgoodsid": {
  11647. "description": "关联交易合约ID",
  11648. "type": "integer"
  11649. },
  11650. "trademode": {
  11651. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11652. "type": "integer"
  11653. },
  11654. "videourls": {
  11655. "description": "介绍视频[多张用逗号分隔]",
  11656. "type": "string"
  11657. }
  11658. }
  11659. },
  11660. "models.HsbyPreGoodsDetail": {
  11661. "type": "object",
  11662. "required": [
  11663. "goodscode",
  11664. "goodsid",
  11665. "goodsname",
  11666. "marketid",
  11667. "trademode"
  11668. ],
  11669. "properties": {
  11670. "agreeunit": {
  11671. "description": "合约单位",
  11672. "type": "number"
  11673. },
  11674. "buymaxqty": {
  11675. "description": "购买上限 [71] - 0为不限",
  11676. "type": "integer"
  11677. },
  11678. "currency": {
  11679. "description": "货币",
  11680. "type": "string"
  11681. },
  11682. "currencysign": {
  11683. "description": "货币符号",
  11684. "type": "string"
  11685. },
  11686. "customername": {
  11687. "description": "发行单位",
  11688. "type": "string"
  11689. },
  11690. "decimalplace": {
  11691. "description": "报价小数位",
  11692. "type": "integer"
  11693. },
  11694. "desccityid": {
  11695. "description": "目的地(市)ID",
  11696. "type": "integer"
  11697. },
  11698. "descprovinceid": {
  11699. "description": "目的地(省)ID",
  11700. "type": "integer"
  11701. },
  11702. "enableqty": {
  11703. "description": "剩余数量",
  11704. "type": "integer"
  11705. },
  11706. "goodscode": {
  11707. "description": "商品代码(内部)",
  11708. "type": "string"
  11709. },
  11710. "goodsdesc": {
  11711. "description": "商品详情",
  11712. "type": "string"
  11713. },
  11714. "goodsid": {
  11715. "description": "商品ID(自增ID SEQ_GOODS)",
  11716. "type": "integer"
  11717. },
  11718. "goodsname": {
  11719. "description": "商品名称",
  11720. "type": "string"
  11721. },
  11722. "goodsstatus": {
  11723. "description": "商品状态- 2:未上市 3:上市",
  11724. "type": "integer"
  11725. },
  11726. "goodunit": {
  11727. "description": "报价单位",
  11728. "type": "string"
  11729. },
  11730. "lasttradedate": {
  11731. "description": "最后交易日期(状态:待退市)",
  11732. "type": "string"
  11733. },
  11734. "listingdate": {
  11735. "description": "交易开始日期",
  11736. "type": "string"
  11737. },
  11738. "lotsize": {
  11739. "description": "手数最小变动单位",
  11740. "type": "integer"
  11741. },
  11742. "marketid": {
  11743. "description": "所属市场ID",
  11744. "type": "integer"
  11745. },
  11746. "picurls": {
  11747. "description": "介绍图片[多张用逗号分隔]",
  11748. "type": "string"
  11749. },
  11750. "presaledqty": {
  11751. "description": "已预售量(预售结束时更新)",
  11752. "type": "integer"
  11753. },
  11754. "presaleqty": {
  11755. "description": "预售数量",
  11756. "type": "integer"
  11757. },
  11758. "quoteminunit": {
  11759. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11760. "type": "integer"
  11761. },
  11762. "refprice": {
  11763. "description": "参考价格[一口价]",
  11764. "type": "number"
  11765. },
  11766. "relatedgoodsid": {
  11767. "description": "关联交易合约ID",
  11768. "type": "integer"
  11769. },
  11770. "stepvalue": {
  11771. "description": "价格最小变动单位",
  11772. "type": "number"
  11773. },
  11774. "trademode": {
  11775. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11776. "type": "integer"
  11777. },
  11778. "vendorattr": {
  11779. "description": "供应商附件(多张,逗号分隔)",
  11780. "type": "string"
  11781. },
  11782. "vendorname": {
  11783. "description": "供应商名称",
  11784. "type": "string"
  11785. },
  11786. "vendorphone": {
  11787. "description": "供应商客服电话",
  11788. "type": "string"
  11789. },
  11790. "videourls": {
  11791. "description": "介绍视频[多张用逗号分隔]",
  11792. "type": "string"
  11793. }
  11794. }
  11795. },
  11796. "models.HsbySellCollectionOrder": {
  11797. "type": "object",
  11798. "required": [
  11799. "goodscode",
  11800. "goodsname",
  11801. "tradeid",
  11802. "trademode"
  11803. ],
  11804. "properties": {
  11805. "agreeunit": {
  11806. "description": "合约单位",
  11807. "type": "number"
  11808. },
  11809. "buyaccountid": {
  11810. "description": "买方账号ID[报价币种]",
  11811. "type": "integer"
  11812. },
  11813. "buyorderid": {
  11814. "description": "买方委托单号",
  11815. "type": "string"
  11816. },
  11817. "createtime": {
  11818. "description": "创建时间",
  11819. "type": "string"
  11820. },
  11821. "currencysign": {
  11822. "description": "货币符号",
  11823. "type": "string"
  11824. },
  11825. "decimalplace": {
  11826. "description": "报价小数位",
  11827. "type": "integer"
  11828. },
  11829. "goodscode": {
  11830. "description": "商品代码(内部)",
  11831. "type": "string"
  11832. },
  11833. "goodsid": {
  11834. "description": "商品ID",
  11835. "type": "integer"
  11836. },
  11837. "goodsname": {
  11838. "description": "商品名称",
  11839. "type": "string"
  11840. },
  11841. "marketid": {
  11842. "description": "市场ID",
  11843. "type": "integer"
  11844. },
  11845. "offamount": {
  11846. "description": "优惠金额",
  11847. "type": "number"
  11848. },
  11849. "payamount": {
  11850. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11851. "type": "number"
  11852. },
  11853. "payflag": {
  11854. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11855. "type": "integer"
  11856. },
  11857. "paylimitedtime": {
  11858. "description": "支付期限",
  11859. "type": "string"
  11860. },
  11861. "paytime": {
  11862. "description": "付款时间",
  11863. "type": "string"
  11864. },
  11865. "picurls": {
  11866. "description": "商品介绍图片[多张用逗号分隔]",
  11867. "type": "string"
  11868. },
  11869. "sellaccountid": {
  11870. "description": "卖方账号ID[报价币种]",
  11871. "type": "integer"
  11872. },
  11873. "sellorderid": {
  11874. "description": "卖方委托单号",
  11875. "type": "string"
  11876. },
  11877. "tradeamount": {
  11878. "description": "成交金额",
  11879. "type": "number"
  11880. },
  11881. "tradecharge": {
  11882. "description": "成交手续费(买方)",
  11883. "type": "number"
  11884. },
  11885. "tradedate": {
  11886. "description": "交易日(yyyyMMdd)",
  11887. "type": "string"
  11888. },
  11889. "tradeid": {
  11890. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11891. "type": "string"
  11892. },
  11893. "trademode": {
  11894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11895. "type": "integer"
  11896. },
  11897. "tradeprice": {
  11898. "description": "成交价格",
  11899. "type": "number"
  11900. },
  11901. "tradeqty": {
  11902. "description": "成交数量",
  11903. "type": "integer"
  11904. }
  11905. }
  11906. },
  11907. "models.HsbySellMyDetail": {
  11908. "type": "object",
  11909. "required": [
  11910. "accountid",
  11911. "buyorsell",
  11912. "goodscode",
  11913. "goodsid",
  11914. "goodsname",
  11915. "marketid",
  11916. "orderid",
  11917. "time",
  11918. "trademode"
  11919. ],
  11920. "properties": {
  11921. "accountid": {
  11922. "description": "账户ID[报价币种]",
  11923. "type": "integer"
  11924. },
  11925. "agreeunit": {
  11926. "description": "合约单位",
  11927. "type": "number"
  11928. },
  11929. "buyorsell": {
  11930. "description": "买卖 - 0:买 1:卖",
  11931. "type": "integer"
  11932. },
  11933. "currencysign": {
  11934. "description": "货币符号",
  11935. "type": "string"
  11936. },
  11937. "decimalplace": {
  11938. "description": "报价小数位",
  11939. "type": "integer"
  11940. },
  11941. "goodscode": {
  11942. "description": "商品代码(内部)",
  11943. "type": "string"
  11944. },
  11945. "goodsid": {
  11946. "description": "商品ID",
  11947. "type": "integer"
  11948. },
  11949. "goodsname": {
  11950. "description": "商品名称",
  11951. "type": "string"
  11952. },
  11953. "marketid": {
  11954. "description": "市场ID",
  11955. "type": "integer"
  11956. },
  11957. "orderid": {
  11958. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11959. "type": "string"
  11960. },
  11961. "ordertype": {
  11962. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11963. "type": "integer"
  11964. },
  11965. "picurls": {
  11966. "description": "介绍图片[多张用逗号分隔]",
  11967. "type": "string"
  11968. },
  11969. "price": {
  11970. "description": "价格",
  11971. "type": "number"
  11972. },
  11973. "qty": {
  11974. "description": "数量",
  11975. "type": "integer"
  11976. },
  11977. "time": {
  11978. "description": "时间",
  11979. "type": "string"
  11980. },
  11981. "trademode": {
  11982. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11983. "type": "integer"
  11984. },
  11985. "vendorname": {
  11986. "description": "供应商名称",
  11987. "type": "string"
  11988. }
  11989. }
  11990. },
  11991. "models.HsbyTopGoods": {
  11992. "type": "object",
  11993. "required": [
  11994. "goodscode",
  11995. "goodsid",
  11996. "goodsname",
  11997. "marketid",
  11998. "trademode"
  11999. ],
  12000. "properties": {
  12001. "agreeunit": {
  12002. "description": "合约单位",
  12003. "type": "number"
  12004. },
  12005. "currency": {
  12006. "description": "货币",
  12007. "type": "string"
  12008. },
  12009. "currencysign": {
  12010. "description": "货币符号",
  12011. "type": "string"
  12012. },
  12013. "decimalplace": {
  12014. "description": "报价小数位",
  12015. "type": "integer"
  12016. },
  12017. "goodscode": {
  12018. "description": "商品代码(内部)",
  12019. "type": "string"
  12020. },
  12021. "goodsid": {
  12022. "description": "商品ID(自增ID SEQ_GOODS)",
  12023. "type": "integer"
  12024. },
  12025. "goodsname": {
  12026. "description": "商品名称",
  12027. "type": "string"
  12028. },
  12029. "hotindex": {
  12030. "description": "景点热度",
  12031. "type": "integer"
  12032. },
  12033. "last": {
  12034. "description": "现价",
  12035. "type": "number"
  12036. },
  12037. "marketid": {
  12038. "description": "所属市场ID",
  12039. "type": "integer"
  12040. },
  12041. "picurls": {
  12042. "description": "介绍图片[多张用逗号分隔]",
  12043. "type": "string"
  12044. },
  12045. "quoteminunit": {
  12046. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12047. "type": "integer"
  12048. },
  12049. "trademode": {
  12050. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12051. "type": "integer"
  12052. },
  12053. "videourls": {
  12054. "description": "介绍视频[多张用逗号分隔]",
  12055. "type": "string"
  12056. }
  12057. }
  12058. },
  12059. "models.HybsMyBuyOrderDetail": {
  12060. "type": "object",
  12061. "required": [
  12062. "accountid",
  12063. "buyorsell",
  12064. "goodscode",
  12065. "goodsid",
  12066. "goodsname",
  12067. "marketid",
  12068. "orderid",
  12069. "orderqty",
  12070. "ordertime",
  12071. "trademode"
  12072. ],
  12073. "properties": {
  12074. "accountid": {
  12075. "description": "账户ID[报价币种]",
  12076. "type": "integer"
  12077. },
  12078. "agreeunit": {
  12079. "description": "合约单位",
  12080. "type": "number"
  12081. },
  12082. "buyorsell": {
  12083. "description": "买卖 - 0:买 1:卖",
  12084. "type": "integer"
  12085. },
  12086. "cancelqty": {
  12087. "description": "撤单数量",
  12088. "type": "integer"
  12089. },
  12090. "currencysign": {
  12091. "description": "货币符号",
  12092. "type": "string"
  12093. },
  12094. "decimalplace": {
  12095. "description": "报价小数位",
  12096. "type": "integer"
  12097. },
  12098. "goodscode": {
  12099. "description": "商品代码(内部)",
  12100. "type": "string"
  12101. },
  12102. "goodsid": {
  12103. "description": "商品ID",
  12104. "type": "integer"
  12105. },
  12106. "goodsname": {
  12107. "description": "商品名称",
  12108. "type": "string"
  12109. },
  12110. "listingselecttype": {
  12111. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12112. "type": "integer"
  12113. },
  12114. "marketid": {
  12115. "description": "市场ID",
  12116. "type": "integer"
  12117. },
  12118. "mybuystatus": {
  12119. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  12120. "type": "integer"
  12121. },
  12122. "orderamount": {
  12123. "description": "委托金额",
  12124. "type": "number"
  12125. },
  12126. "orderid": {
  12127. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12128. "type": "string"
  12129. },
  12130. "orderprice": {
  12131. "description": "委托价格",
  12132. "type": "number"
  12133. },
  12134. "orderqty": {
  12135. "description": "委托数量",
  12136. "type": "integer"
  12137. },
  12138. "orderstatus": {
  12139. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12140. "type": "integer"
  12141. },
  12142. "ordertime": {
  12143. "description": "委托时间",
  12144. "type": "string"
  12145. },
  12146. "picurls1": {
  12147. "description": "预售商品介绍图片[多张用逗号分隔]",
  12148. "type": "string"
  12149. },
  12150. "picurls2": {
  12151. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12152. "type": "string"
  12153. },
  12154. "trademode": {
  12155. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12156. "type": "integer"
  12157. },
  12158. "tradeqty": {
  12159. "description": "成交数量",
  12160. "type": "integer"
  12161. },
  12162. "vendorname1": {
  12163. "description": "预售商品供应商名称",
  12164. "type": "string"
  12165. },
  12166. "vendorname2": {
  12167. "description": "挂牌商品供应商名称",
  12168. "type": "string"
  12169. }
  12170. }
  12171. },
  12172. "models.Market": {
  12173. "type": "object",
  12174. "required": [
  12175. "marketid",
  12176. "marketstatus",
  12177. "openmethod",
  12178. "reckonpricealgorithm",
  12179. "trademode",
  12180. "tradeproperty"
  12181. ],
  12182. "properties": {
  12183. "auctionwrtype": {
  12184. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  12185. "type": "integer"
  12186. },
  12187. "canacceptquote": {
  12188. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  12189. "type": "integer"
  12190. },
  12191. "cangoodsexercise": {
  12192. "description": "[期权]是否可现货行权- 0:否 1:是",
  12193. "type": "integer"
  12194. },
  12195. "cangoodsexercisetype": {
  12196. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  12197. "type": "integer"
  12198. },
  12199. "canmanualquotestrike": {
  12200. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  12201. "type": "integer"
  12202. },
  12203. "canmutistage": {
  12204. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  12205. "type": "integer"
  12206. },
  12207. "canpreexercise": {
  12208. "description": "[期权]是否可预申报- 0:否 1:是",
  12209. "type": "integer"
  12210. },
  12211. "clearinterval": {
  12212. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  12213. "type": "integer"
  12214. },
  12215. "contracttmp": {
  12216. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  12217. "type": "string"
  12218. },
  12219. "exchareaid": {
  12220. "description": "所属交易所,可以没有",
  12221. "type": "integer"
  12222. },
  12223. "goodstype": {
  12224. "description": "商品类型 - 1:交易商品 2:仓单商品",
  12225. "type": "integer"
  12226. },
  12227. "hasrebate": {
  12228. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  12229. "type": "integer"
  12230. },
  12231. "hastradecredit": {
  12232. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  12233. "type": "integer"
  12234. },
  12235. "haswr": {
  12236. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  12237. "type": "integer"
  12238. },
  12239. "isdeductmargin": {
  12240. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  12241. "type": "integer"
  12242. },
  12243. "isrecordsource": {
  12244. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  12245. "type": "integer"
  12246. },
  12247. "isreleasemargin": {
  12248. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  12249. "type": "integer"
  12250. },
  12251. "marginformula": {
  12252. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12253. "type": "integer"
  12254. },
  12255. "marginformula2": {
  12256. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12257. "type": "integer"
  12258. },
  12259. "marketid": {
  12260. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12261. "type": "integer"
  12262. },
  12263. "marketname": {
  12264. "description": "市场名称",
  12265. "type": "string"
  12266. },
  12267. "marketserviceid": {
  12268. "description": "市场服务ID",
  12269. "type": "integer"
  12270. },
  12271. "marketstatus": {
  12272. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12273. "type": "integer"
  12274. },
  12275. "markettype": {
  12276. "description": "市场类型- 1:非交易服务 2:交易服务",
  12277. "type": "integer"
  12278. },
  12279. "matchermode": {
  12280. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  12281. "type": "integer"
  12282. },
  12283. "openmethod": {
  12284. "description": "开盘模式 - 0 自动 1手动",
  12285. "type": "integer"
  12286. },
  12287. "otcuserid": {
  12288. "description": "场外期权做市商[场外期权]",
  12289. "type": "integer"
  12290. },
  12291. "outersynctime": {
  12292. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  12293. "type": "string"
  12294. },
  12295. "pendingflag": {
  12296. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  12297. "type": "integer"
  12298. },
  12299. "pendingtime": {
  12300. "description": "待开市时间[通道交易-对冲](HH:mm)",
  12301. "type": "string"
  12302. },
  12303. "performancetempid": {
  12304. "description": "履约计划模板ID - 作废",
  12305. "type": "integer"
  12306. },
  12307. "premiumquotemode": {
  12308. "description": "权利金报价方式 - 1:自动 2:手动",
  12309. "type": "integer"
  12310. },
  12311. "rebateratio": {
  12312. "description": "返利比率[竞价式]",
  12313. "type": "number"
  12314. },
  12315. "reckonorder": {
  12316. "description": "结算顺序",
  12317. "type": "integer"
  12318. },
  12319. "reckonpricealgorithm": {
  12320. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  12321. "type": "integer"
  12322. },
  12323. "reckonpriceparam": {
  12324. "description": "结算价参数",
  12325. "type": "integer"
  12326. },
  12327. "reckontime": {
  12328. "description": "结算时间[通道交易-对冲](HH:mm)",
  12329. "type": "string"
  12330. },
  12331. "roleprioritytype": {
  12332. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  12333. "type": "integer"
  12334. },
  12335. "selllistingauditflag": {
  12336. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  12337. "type": "integer"
  12338. },
  12339. "trademarkettype": {
  12340. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  12341. "type": "integer"
  12342. },
  12343. "trademode": {
  12344. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12345. "type": "integer"
  12346. },
  12347. "tradeproperty": {
  12348. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  12349. "type": "integer"
  12350. },
  12351. "tradetype": {
  12352. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  12353. "type": "integer"
  12354. }
  12355. }
  12356. },
  12357. "models.Marketrun": {
  12358. "type": "object",
  12359. "required": [
  12360. "marketid",
  12361. "nexttradedate",
  12362. "reckonflag",
  12363. "runstatus",
  12364. "tradedate",
  12365. "tradedate2"
  12366. ],
  12367. "properties": {
  12368. "afternexttradedate": {
  12369. "description": "下下交易日",
  12370. "type": "string"
  12371. },
  12372. "clearquoteflag": {
  12373. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  12374. "type": "integer"
  12375. },
  12376. "lastreckondate": {
  12377. "description": "最新交易日(结算成功)",
  12378. "type": "string"
  12379. },
  12380. "machinedate": {
  12381. "description": "机器时间",
  12382. "type": "string"
  12383. },
  12384. "manualflag": {
  12385. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  12386. "type": "integer"
  12387. },
  12388. "marketid": {
  12389. "description": "市场ID",
  12390. "type": "integer"
  12391. },
  12392. "nexttradedate": {
  12393. "description": "下一交易日",
  12394. "type": "string"
  12395. },
  12396. "pretradedate": {
  12397. "description": "上一交易日",
  12398. "type": "string"
  12399. },
  12400. "reckonflag": {
  12401. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  12402. "type": "integer"
  12403. },
  12404. "runstatus": {
  12405. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  12406. "type": "integer"
  12407. },
  12408. "sectionid": {
  12409. "description": "时间段号[多时段时用]",
  12410. "type": "integer"
  12411. },
  12412. "tradedate": {
  12413. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  12414. "type": "string"
  12415. },
  12416. "tradedate2": {
  12417. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  12418. "type": "string"
  12419. },
  12420. "updatetime": {
  12421. "description": "更新时间",
  12422. "type": "string"
  12423. }
  12424. }
  12425. },
  12426. "models.Messageboard": {
  12427. "type": "object",
  12428. "required": [
  12429. "messageboardid"
  12430. ],
  12431. "properties": {
  12432. "createtime": {
  12433. "description": "创建时间",
  12434. "type": "string"
  12435. },
  12436. "message": {
  12437. "description": "留言信息",
  12438. "type": "string"
  12439. },
  12440. "messageboardid": {
  12441. "description": "留言簿ID(SEQ_MessageBoard)",
  12442. "type": "integer"
  12443. },
  12444. "userid": {
  12445. "description": "用户ID",
  12446. "type": "integer"
  12447. }
  12448. }
  12449. },
  12450. "models.MyCoupon": {
  12451. "type": "object",
  12452. "required": [
  12453. "accountid",
  12454. "coupontypeid"
  12455. ],
  12456. "properties": {
  12457. "accountid": {
  12458. "description": "资金账户ID",
  12459. "type": "integer"
  12460. },
  12461. "areauserid": {
  12462. "description": "所属机构",
  12463. "type": "integer"
  12464. },
  12465. "conditionvalue": {
  12466. "description": "条件阈值(可为0)",
  12467. "type": "number"
  12468. },
  12469. "couponcategroy": {
  12470. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  12471. "type": "integer"
  12472. },
  12473. "couponname": {
  12474. "description": "优惠券名称",
  12475. "type": "string"
  12476. },
  12477. "coupontypeid": {
  12478. "description": "优惠券类型ID",
  12479. "type": "string"
  12480. },
  12481. "couponvalue": {
  12482. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12483. "type": "number"
  12484. },
  12485. "curfreezeqty": {
  12486. "description": "期末冻结数量",
  12487. "type": "integer"
  12488. },
  12489. "curqty": {
  12490. "description": "期末数量",
  12491. "type": "integer"
  12492. },
  12493. "isgeneral": {
  12494. "description": "是否通用券 - 0:否 1:是",
  12495. "type": "integer"
  12496. },
  12497. "isunusable": {
  12498. "description": "是否不可用",
  12499. "type": "boolean"
  12500. },
  12501. "limitedflag": {
  12502. "description": "是否指定商品 - 0:不限 1:限制",
  12503. "type": "integer"
  12504. },
  12505. "limitedgoodsids": {
  12506. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  12507. "type": "string"
  12508. },
  12509. "orifreezeqty": {
  12510. "description": "期初冻结数量",
  12511. "type": "integer"
  12512. },
  12513. "oriqty": {
  12514. "description": "期初数量",
  12515. "type": "integer"
  12516. },
  12517. "reasontype": {
  12518. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  12519. "type": "integer"
  12520. },
  12521. "todaydecrease": {
  12522. "description": "今日减少",
  12523. "type": "integer"
  12524. },
  12525. "todayincrease": {
  12526. "description": "今日增加",
  12527. "type": "integer"
  12528. },
  12529. "userid": {
  12530. "description": "用户ID",
  12531. "type": "integer"
  12532. },
  12533. "userscope": {
  12534. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  12535. "type": "string"
  12536. }
  12537. }
  12538. },
  12539. "models.MyCouponHold": {
  12540. "type": "object",
  12541. "required": [
  12542. "couponholdid"
  12543. ],
  12544. "properties": {
  12545. "accountid": {
  12546. "description": "资金账户ID",
  12547. "type": "integer"
  12548. },
  12549. "conditionvalue": {
  12550. "description": "条件阈值(可为0)",
  12551. "type": "number"
  12552. },
  12553. "couponcategroy": {
  12554. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  12555. "type": "integer"
  12556. },
  12557. "couponholdid": {
  12558. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  12559. "type": "string"
  12560. },
  12561. "couponname": {
  12562. "description": "优惠券名称",
  12563. "type": "string"
  12564. },
  12565. "coupontypeid": {
  12566. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  12567. "type": "string"
  12568. },
  12569. "couponvalue": {
  12570. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12571. "type": "number"
  12572. },
  12573. "createtime": {
  12574. "description": "创建时间",
  12575. "type": "string"
  12576. },
  12577. "enddate": {
  12578. "description": "结束日期",
  12579. "type": "string"
  12580. },
  12581. "giveapplyid": {
  12582. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12583. "type": "integer"
  12584. },
  12585. "holdstatus": {
  12586. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12587. "type": "integer"
  12588. },
  12589. "isgeneral": {
  12590. "description": "是否通用券 - 0:否 1:是",
  12591. "type": "integer"
  12592. },
  12593. "limitedflag": {
  12594. "description": "是否指定商品 - 0:不限 1:限制",
  12595. "type": "integer"
  12596. },
  12597. "limitedgoodsids": {
  12598. "description": "指定商品IDs[逗号分隔]",
  12599. "type": "string"
  12600. },
  12601. "qty": {
  12602. "description": "数量(按1平铺)",
  12603. "type": "integer"
  12604. },
  12605. "startdate": {
  12606. "description": "开始日期",
  12607. "type": "string"
  12608. },
  12609. "userid": {
  12610. "description": "用户ID",
  12611. "type": "integer"
  12612. },
  12613. "userscope": {
  12614. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12615. "type": "string"
  12616. }
  12617. }
  12618. },
  12619. "models.MyUsedCoupon": {
  12620. "type": "object",
  12621. "required": [
  12622. "coupontypeid",
  12623. "orderid"
  12624. ],
  12625. "properties": {
  12626. "accountid": {
  12627. "description": "资金账户ID(买方)",
  12628. "type": "integer"
  12629. },
  12630. "conditionvalue": {
  12631. "description": "条件阈值(可为0)",
  12632. "type": "number"
  12633. },
  12634. "couponcategroy": {
  12635. "description": "种类 - 1:现金券 2:折扣券",
  12636. "type": "integer"
  12637. },
  12638. "couponname": {
  12639. "description": "优惠券名称",
  12640. "type": "string"
  12641. },
  12642. "coupontypeid": {
  12643. "description": "优惠券类型ID(买方)",
  12644. "type": "string"
  12645. },
  12646. "couponvalue": {
  12647. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12648. "type": "number"
  12649. },
  12650. "createtime": {
  12651. "description": "创建时间",
  12652. "type": "string"
  12653. },
  12654. "goodsid": {
  12655. "description": "商品ID",
  12656. "type": "integer"
  12657. },
  12658. "handlestatus": {
  12659. "description": "处理状态",
  12660. "type": "integer"
  12661. },
  12662. "marketid": {
  12663. "description": "市场ID",
  12664. "type": "integer"
  12665. },
  12666. "offamount": {
  12667. "description": "优惠金额",
  12668. "type": "number"
  12669. },
  12670. "orderid": {
  12671. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12672. "type": "string"
  12673. },
  12674. "sellaccountid": {
  12675. "description": "资金账户ID(卖方)",
  12676. "type": "integer"
  12677. },
  12678. "tradeamount": {
  12679. "description": "成交金额",
  12680. "type": "number"
  12681. },
  12682. "tradeid": {
  12683. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12684. "type": "string"
  12685. },
  12686. "usedqty": {
  12687. "description": "使用数量",
  12688. "type": "integer"
  12689. }
  12690. }
  12691. },
  12692. "models.OperationPrimaryMenu": {
  12693. "type": "object",
  12694. "properties": {
  12695. "Children": {
  12696. "description": "二级功能菜单",
  12697. "type": "array",
  12698. "items": {
  12699. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12700. }
  12701. },
  12702. "Key": {
  12703. "description": "菜单KEY",
  12704. "type": "string"
  12705. },
  12706. "Label": {
  12707. "description": "菜单标题",
  12708. "type": "string"
  12709. }
  12710. }
  12711. },
  12712. "models.OperationSecondaryMenu": {
  12713. "type": "object",
  12714. "properties": {
  12715. "Key": {
  12716. "description": "菜单KEY",
  12717. "type": "string"
  12718. },
  12719. "Label": {
  12720. "description": "菜单标题",
  12721. "type": "string"
  12722. },
  12723. "TabList": {
  12724. "description": "三级功能菜单",
  12725. "type": "array",
  12726. "items": {
  12727. "$ref": "#/definitions/models.OperationTabMenu"
  12728. }
  12729. }
  12730. }
  12731. },
  12732. "models.OperationTabMenu": {
  12733. "type": "object",
  12734. "properties": {
  12735. "Key": {
  12736. "description": "菜单KEY",
  12737. "type": "string"
  12738. },
  12739. "Label": {
  12740. "description": "菜单标题",
  12741. "type": "string"
  12742. }
  12743. }
  12744. },
  12745. "models.PendingAuditBizModel": {
  12746. "type": "object",
  12747. "properties": {
  12748. "accountid": {
  12749. "description": "现货账户",
  12750. "type": "string"
  12751. },
  12752. "areaname": {
  12753. "description": "所属部门",
  12754. "type": "string"
  12755. },
  12756. "bizid": {
  12757. "description": "业务ID",
  12758. "type": "string"
  12759. },
  12760. "bizname": {
  12761. "description": "业务名称",
  12762. "type": "string"
  12763. },
  12764. "status": {
  12765. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12766. "type": "integer"
  12767. },
  12768. "type": {
  12769. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12770. "type": "integer"
  12771. }
  12772. }
  12773. },
  12774. "models.QuotePrimaryMenu": {
  12775. "type": "object",
  12776. "properties": {
  12777. "Index": {
  12778. "description": "序号",
  12779. "type": "integer"
  12780. },
  12781. "Key": {
  12782. "description": "键名",
  12783. "type": "string"
  12784. },
  12785. "Name": {
  12786. "description": "菜单名称",
  12787. "type": "string"
  12788. },
  12789. "SubMenus": {
  12790. "description": "子菜单",
  12791. "type": "array",
  12792. "items": {
  12793. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12794. }
  12795. },
  12796. "SubTitleType": {
  12797. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12798. "type": "integer"
  12799. },
  12800. "TradeModes": {
  12801. "description": "包含市场交易类型",
  12802. "type": "string"
  12803. }
  12804. }
  12805. },
  12806. "models.QuoteSecondaryMenu": {
  12807. "type": "object",
  12808. "properties": {
  12809. "ExExchangeCode": {
  12810. "description": "外部交易所代码",
  12811. "type": "string"
  12812. },
  12813. "ExExchangeID": {
  12814. "description": "外部交易所ID",
  12815. "type": "integer"
  12816. },
  12817. "GoodsGroupIDs": {
  12818. "description": "商品组ID列表",
  12819. "type": "array",
  12820. "items": {
  12821. "type": "integer"
  12822. }
  12823. },
  12824. "Index": {
  12825. "description": "序号",
  12826. "type": "integer"
  12827. },
  12828. "MarketID": {
  12829. "description": "市场ID",
  12830. "type": "integer"
  12831. },
  12832. "MenuTitle": {
  12833. "description": "菜单标题(市场名称或外部交易所名称)",
  12834. "type": "string"
  12835. },
  12836. "TradeMode": {
  12837. "description": "交易模式",
  12838. "type": "integer"
  12839. }
  12840. }
  12841. },
  12842. "models.SearchGoods": {
  12843. "type": "object",
  12844. "required": [
  12845. "goodscode",
  12846. "goodsid",
  12847. "goodsname",
  12848. "marketid",
  12849. "trademode"
  12850. ],
  12851. "properties": {
  12852. "goodscode": {
  12853. "description": "商品代码(内部)",
  12854. "type": "string"
  12855. },
  12856. "goodsid": {
  12857. "description": "商品ID(自增ID SEQ_GOODS)",
  12858. "type": "integer"
  12859. },
  12860. "goodsname": {
  12861. "description": "商品名称",
  12862. "type": "string"
  12863. },
  12864. "marketid": {
  12865. "description": "所属市场ID",
  12866. "type": "integer"
  12867. },
  12868. "marketname": {
  12869. "description": "市场名称",
  12870. "type": "string"
  12871. },
  12872. "trademode": {
  12873. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12874. "type": "integer"
  12875. }
  12876. }
  12877. },
  12878. "models.Szdz2imageconfig": {
  12879. "type": "object",
  12880. "required": [
  12881. "configid"
  12882. ],
  12883. "properties": {
  12884. "configid": {
  12885. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12886. "type": "integer"
  12887. },
  12888. "imagepath": {
  12889. "description": "图片",
  12890. "type": "string"
  12891. },
  12892. "imagetype": {
  12893. "description": "类型 - 1:App首页轮播 2:我的",
  12894. "type": "integer"
  12895. },
  12896. "sort": {
  12897. "description": "排序",
  12898. "type": "integer"
  12899. },
  12900. "title": {
  12901. "description": "标题",
  12902. "type": "string"
  12903. },
  12904. "url": {
  12905. "description": "链接",
  12906. "type": "string"
  12907. }
  12908. }
  12909. },
  12910. "models.Szdz3convertconfig": {
  12911. "type": "object",
  12912. "required": [
  12913. "converttype",
  12914. "innergoodsid",
  12915. "outergoodscode"
  12916. ],
  12917. "properties": {
  12918. "canin": {
  12919. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12920. "type": "integer"
  12921. },
  12922. "canout": {
  12923. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12924. "type": "integer"
  12925. },
  12926. "converttype": {
  12927. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12928. "type": "integer"
  12929. },
  12930. "createtime": {
  12931. "description": "创建时间",
  12932. "type": "string"
  12933. },
  12934. "creatorid": {
  12935. "description": "创建人",
  12936. "type": "integer"
  12937. },
  12938. "daymaxvalue": {
  12939. "description": "当日最大转入限制",
  12940. "type": "number"
  12941. },
  12942. "freezedays": {
  12943. "description": "冻结天数 [5:花生米转交易]",
  12944. "type": "integer"
  12945. },
  12946. "innergoodsid": {
  12947. "description": "内部商品ID[交易]",
  12948. "type": "integer"
  12949. },
  12950. "inratio": {
  12951. "description": "目标值",
  12952. "type": "integer"
  12953. },
  12954. "modifierid": {
  12955. "description": "修改人",
  12956. "type": "integer"
  12957. },
  12958. "modifytime": {
  12959. "description": "修改时间",
  12960. "type": "string"
  12961. },
  12962. "outergoodscode": {
  12963. "description": "外部商品代码[JD\\PD]",
  12964. "type": "string"
  12965. },
  12966. "outratio": {
  12967. "description": "源值",
  12968. "type": "integer"
  12969. },
  12970. "pddecimalplace": {
  12971. "description": "PD小数位",
  12972. "type": "integer"
  12973. },
  12974. "timemaxvalue": {
  12975. "description": "单次最大转入限制",
  12976. "type": "number"
  12977. },
  12978. "timeminvalue": {
  12979. "description": "单次最小转入限制",
  12980. "type": "number"
  12981. }
  12982. }
  12983. },
  12984. "models.Szdz3searchwhitelist": {
  12985. "type": "object",
  12986. "required": [
  12987. "userid"
  12988. ],
  12989. "properties": {
  12990. "createtime": {
  12991. "description": "创建时间",
  12992. "type": "string"
  12993. },
  12994. "creatorid": {
  12995. "description": "创建人",
  12996. "type": "integer"
  12997. },
  12998. "modifierid": {
  12999. "description": "修改人",
  13000. "type": "integer"
  13001. },
  13002. "modifytime": {
  13003. "description": "修改时间",
  13004. "type": "string"
  13005. },
  13006. "userid": {
  13007. "description": "用户ID",
  13008. "type": "integer"
  13009. }
  13010. }
  13011. },
  13012. "models.Tablecolumnconfig": {
  13013. "type": "object",
  13014. "required": [
  13015. "autoid"
  13016. ],
  13017. "properties": {
  13018. "aligntype": {
  13019. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  13020. "type": "integer"
  13021. },
  13022. "autoid": {
  13023. "description": "AutoID",
  13024. "type": "integer"
  13025. },
  13026. "columnfield": {
  13027. "description": "列字段",
  13028. "type": "string"
  13029. },
  13030. "columntitle": {
  13031. "description": "列Title",
  13032. "type": "string"
  13033. },
  13034. "columnwidth": {
  13035. "description": "列宽",
  13036. "type": "string"
  13037. },
  13038. "formatterstring": {
  13039. "description": "格式化字符",
  13040. "type": "string"
  13041. },
  13042. "formattertype": {
  13043. "description": "格式化类型",
  13044. "type": "string"
  13045. },
  13046. "groupname": {
  13047. "description": "表头分组名称",
  13048. "type": "string"
  13049. },
  13050. "isshow": {
  13051. "description": "是否显示 - 0:不显示 1:显示",
  13052. "type": "integer"
  13053. },
  13054. "needsummary": {
  13055. "description": "是否需要汇总 - 0:不需要 1:需要",
  13056. "type": "integer"
  13057. },
  13058. "orderindex": {
  13059. "description": "顺序",
  13060. "type": "integer"
  13061. },
  13062. "remark": {
  13063. "description": "备注",
  13064. "type": "string"
  13065. },
  13066. "summarytype": {
  13067. "description": "汇总类型 - 1:加总 2:最后一个",
  13068. "type": "integer"
  13069. },
  13070. "tablekey": {
  13071. "description": "列表Key",
  13072. "type": "string"
  13073. }
  13074. }
  13075. },
  13076. "models.Useraccount": {
  13077. "type": "object",
  13078. "required": [
  13079. "userid"
  13080. ],
  13081. "properties": {
  13082. "accountname": {
  13083. "description": "账户名称(机构名称)",
  13084. "type": "string"
  13085. },
  13086. "accountstatus": {
  13087. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13088. "type": "integer"
  13089. },
  13090. "auditremark": {
  13091. "description": "审核备注",
  13092. "type": "string"
  13093. },
  13094. "audittime": {
  13095. "description": "审核时间",
  13096. "type": "string"
  13097. },
  13098. "audituserid": {
  13099. "description": "审核人",
  13100. "type": "integer"
  13101. },
  13102. "broker": {
  13103. "description": "所属经纪人ID",
  13104. "type": "integer"
  13105. },
  13106. "canceltime": {
  13107. "description": "销户时间",
  13108. "type": "string"
  13109. },
  13110. "canceluserid": {
  13111. "description": "销户人",
  13112. "type": "integer"
  13113. },
  13114. "createtime": {
  13115. "description": "创建时间",
  13116. "type": "string"
  13117. },
  13118. "creatorid": {
  13119. "description": "创建人",
  13120. "type": "integer"
  13121. },
  13122. "hasauth": {
  13123. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  13124. "type": "integer"
  13125. },
  13126. "isanonymous": {
  13127. "description": "是否匿名下单 - 0:否 1:是",
  13128. "type": "integer"
  13129. },
  13130. "maxinvestornum": {
  13131. "description": "最大用户数(经纪会员下投资者个数)",
  13132. "type": "integer"
  13133. },
  13134. "memberuserid": {
  13135. "description": "所属会员ID",
  13136. "type": "integer"
  13137. },
  13138. "modifierid": {
  13139. "description": "修改人",
  13140. "type": "integer"
  13141. },
  13142. "modifyremark": {
  13143. "description": "变更备注",
  13144. "type": "string"
  13145. },
  13146. "modifystatus": {
  13147. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  13148. "type": "integer"
  13149. },
  13150. "modifytime": {
  13151. "description": "修改时间",
  13152. "type": "string"
  13153. },
  13154. "parentuserid": {
  13155. "description": "所属机构ID",
  13156. "type": "integer"
  13157. },
  13158. "reckonaccountid": {
  13159. "description": "默认结算资金账号ID(机构分润使用) 作废",
  13160. "type": "integer"
  13161. },
  13162. "refercount": {
  13163. "description": "推荐总人数",
  13164. "type": "integer"
  13165. },
  13166. "refereeuserid": {
  13167. "description": "推荐人ID",
  13168. "type": "integer"
  13169. },
  13170. "refernum": {
  13171. "description": "推荐码",
  13172. "type": "string"
  13173. },
  13174. "subarealevelpath": {
  13175. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  13176. "type": "string"
  13177. },
  13178. "userid": {
  13179. "description": "用户ID",
  13180. "type": "integer"
  13181. },
  13182. "usertype": {
  13183. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13184. "type": "integer"
  13185. }
  13186. }
  13187. },
  13188. "models.Userfavoritegoods": {
  13189. "type": "object",
  13190. "required": [
  13191. "goodsid"
  13192. ],
  13193. "properties": {
  13194. "goodsid": {
  13195. "description": "商品ID",
  13196. "type": "integer"
  13197. }
  13198. }
  13199. },
  13200. "models.Userinfo": {
  13201. "type": "object",
  13202. "required": [
  13203. "userid"
  13204. ],
  13205. "properties": {
  13206. "address": {
  13207. "description": "地址",
  13208. "type": "string"
  13209. },
  13210. "attachment1": {
  13211. "description": "附件1",
  13212. "type": "string"
  13213. },
  13214. "attachment2": {
  13215. "description": "附件2",
  13216. "type": "string"
  13217. },
  13218. "bankaccount": {
  13219. "description": "银行帐号 (加密存储)",
  13220. "type": "string"
  13221. },
  13222. "bankaccountname": {
  13223. "description": "收款人名称",
  13224. "type": "string"
  13225. },
  13226. "bankcardfrontphotourl": {
  13227. "description": "银行卡正面照地址",
  13228. "type": "string"
  13229. },
  13230. "bankid": {
  13231. "description": "银行编码",
  13232. "type": "string"
  13233. },
  13234. "bankname": {
  13235. "description": "银行名称",
  13236. "type": "string"
  13237. },
  13238. "biznature": {
  13239. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13240. "type": "integer"
  13241. },
  13242. "bizscope": {
  13243. "description": "企业经营范围(企业)",
  13244. "type": "string"
  13245. },
  13246. "cardbackphotourl": {
  13247. "description": "证件背面图片地址",
  13248. "type": "string"
  13249. },
  13250. "cardfrontphotourl": {
  13251. "description": "证件正面图片地址",
  13252. "type": "string"
  13253. },
  13254. "cardnum": {
  13255. "description": "证件号码(加密存储)",
  13256. "type": "string"
  13257. },
  13258. "cardtypeid": {
  13259. "description": "证件类型ID",
  13260. "type": "integer"
  13261. },
  13262. "cityid": {
  13263. "description": "市",
  13264. "type": "integer"
  13265. },
  13266. "company": {
  13267. "description": "公司(个人)",
  13268. "type": "string"
  13269. },
  13270. "contactname": {
  13271. "description": "联系人",
  13272. "type": "string"
  13273. },
  13274. "countryid": {
  13275. "description": "国家",
  13276. "type": "integer"
  13277. },
  13278. "createtime": {
  13279. "description": "创建时间",
  13280. "type": "string"
  13281. },
  13282. "creatorid": {
  13283. "description": "创建人",
  13284. "type": "integer"
  13285. },
  13286. "customername": {
  13287. "description": "客户名称(企业名称)",
  13288. "type": "string"
  13289. },
  13290. "districtid": {
  13291. "description": "地区",
  13292. "type": "integer"
  13293. },
  13294. "email": {
  13295. "description": "邮件(加密存储)",
  13296. "type": "string"
  13297. },
  13298. "fax": {
  13299. "description": "传真(加密存储)",
  13300. "type": "string"
  13301. },
  13302. "halfbodyphotourl": {
  13303. "description": "半身照地址",
  13304. "type": "string"
  13305. },
  13306. "hasencrypt": {
  13307. "description": "数据是否已加密 - 0:未加密 1:已加密",
  13308. "type": "integer"
  13309. },
  13310. "headurl": {
  13311. "description": "头像地址",
  13312. "type": "string"
  13313. },
  13314. "legalcardbackphotourl": {
  13315. "description": "法人身份证背面照地址",
  13316. "type": "string"
  13317. },
  13318. "legalcardfrontphotourl": {
  13319. "description": "法人身份证正面照地址",
  13320. "type": "string"
  13321. },
  13322. "legalpersonname": {
  13323. "description": "法人姓名(企业)",
  13324. "type": "string"
  13325. },
  13326. "mobile": {
  13327. "description": "手机号码(加密存储)",
  13328. "type": "string"
  13329. },
  13330. "mobile2": {
  13331. "description": "手机号码[明文-尚志]",
  13332. "type": "string"
  13333. },
  13334. "modifierid": {
  13335. "description": "修改人",
  13336. "type": "integer"
  13337. },
  13338. "modifiertime": {
  13339. "description": "修改时间",
  13340. "type": "string"
  13341. },
  13342. "needinvoice": {
  13343. "description": "是否需要发票 - 0:不需要 1:需要",
  13344. "type": "integer"
  13345. },
  13346. "nickname": {
  13347. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  13348. "type": "string"
  13349. },
  13350. "openmode": {
  13351. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  13352. "type": "integer"
  13353. },
  13354. "otherurl": {
  13355. "description": "其它图片地址[使用分号分隔]",
  13356. "type": "string"
  13357. },
  13358. "postalcode": {
  13359. "description": "邮政编码",
  13360. "type": "string"
  13361. },
  13362. "provinceid": {
  13363. "description": "省",
  13364. "type": "integer"
  13365. },
  13366. "qq": {
  13367. "description": "QQ(加密存储",
  13368. "type": "string"
  13369. },
  13370. "remark": {
  13371. "description": "备注",
  13372. "type": "string"
  13373. },
  13374. "sex": {
  13375. "description": "用户性别 0: 女 1: 男",
  13376. "type": "integer"
  13377. },
  13378. "signpdfurl": {
  13379. "description": "签约pdf文件",
  13380. "type": "string"
  13381. },
  13382. "telphone": {
  13383. "description": "联系电话(加密存储)",
  13384. "type": "string"
  13385. },
  13386. "userid": {
  13387. "description": "用户ID",
  13388. "type": "integer"
  13389. },
  13390. "userinfotype": {
  13391. "description": "用户信息类型 - 1:个人 2:企业",
  13392. "type": "integer"
  13393. },
  13394. "userstatus": {
  13395. "description": "用户状态 - 1:正常 2:注销",
  13396. "type": "integer"
  13397. },
  13398. "usertype": {
  13399. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13400. "type": "integer"
  13401. },
  13402. "wechat": {
  13403. "description": "微信(加密存储)",
  13404. "type": "string"
  13405. },
  13406. "wskhinfo": {
  13407. "description": "开户申请信息(JSON)",
  13408. "type": "string"
  13409. }
  13410. }
  13411. },
  13412. "models.WRCategoryTree": {
  13413. "type": "object",
  13414. "required": [
  13415. "categoryid"
  13416. ],
  13417. "properties": {
  13418. "areauserid": {
  13419. "description": "所属机构",
  13420. "type": "integer"
  13421. },
  13422. "categorydesc": {
  13423. "description": "类别描述",
  13424. "type": "string"
  13425. },
  13426. "categoryid": {
  13427. "description": "类别ID(SEQ_WRCATEGORY)",
  13428. "type": "integer"
  13429. },
  13430. "categoryname": {
  13431. "description": "类别名称",
  13432. "type": "string"
  13433. },
  13434. "iconurl": {
  13435. "description": "图标地址",
  13436. "type": "string"
  13437. },
  13438. "orderindex": {
  13439. "description": "顺序",
  13440. "type": "integer"
  13441. },
  13442. "parentcategoryid": {
  13443. "description": "父类别ID",
  13444. "type": "integer"
  13445. },
  13446. "subcategory": {
  13447. "description": "子分类",
  13448. "type": "array",
  13449. "items": {
  13450. "$ref": "#/definitions/models.WRCategoryTree"
  13451. }
  13452. }
  13453. }
  13454. },
  13455. "models.WRSConverTDetail": {
  13456. "type": "object",
  13457. "properties": {
  13458. "convertratio": {
  13459. "description": "套保系数",
  13460. "type": "number"
  13461. },
  13462. "deliverygoodsid": {
  13463. "description": "现货品种ID",
  13464. "type": "integer"
  13465. },
  13466. "middlegoodscode": {
  13467. "description": "套保品种代码",
  13468. "type": "string"
  13469. },
  13470. "middlegoodsid": {
  13471. "description": "套保品种ID",
  13472. "type": "integer"
  13473. },
  13474. "middlegoodsname": {
  13475. "description": "套保品种名称",
  13476. "type": "string"
  13477. },
  13478. "modifytime": {
  13479. "description": "修改时间",
  13480. "type": "string"
  13481. },
  13482. "wrstandardid": {
  13483. "description": "现货商品ID",
  13484. "type": "integer"
  13485. }
  13486. }
  13487. },
  13488. "models.WRStandardInfo": {
  13489. "type": "object",
  13490. "required": [
  13491. "wrstandardid"
  13492. ],
  13493. "properties": {
  13494. "createtime": {
  13495. "description": "创建时间",
  13496. "type": "string"
  13497. },
  13498. "creatorid": {
  13499. "description": "创建人",
  13500. "type": "integer"
  13501. },
  13502. "deliverygoodsid": {
  13503. "description": "品种ID",
  13504. "type": "integer"
  13505. },
  13506. "deliverygoodsname": {
  13507. "description": "交割商品名称",
  13508. "type": "string"
  13509. },
  13510. "factoryitemjson": {
  13511. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  13512. "type": "string"
  13513. },
  13514. "isvalid": {
  13515. "description": "是否有效 - 0:无效 1:有效",
  13516. "type": "integer"
  13517. },
  13518. "minivalue": {
  13519. "description": "最小变动值",
  13520. "type": "integer"
  13521. },
  13522. "minivaluedp": {
  13523. "description": "最小变动值小数位",
  13524. "type": "integer"
  13525. },
  13526. "realminivalue": {
  13527. "description": "实际最小变动值",
  13528. "type": "integer"
  13529. },
  13530. "realminivaluedp": {
  13531. "description": "实际最小变动值小数位",
  13532. "type": "integer"
  13533. },
  13534. "unitid": {
  13535. "description": "单位ID",
  13536. "type": "integer"
  13537. },
  13538. "unitname": {
  13539. "description": "单位",
  13540. "type": "string"
  13541. },
  13542. "updatetime": {
  13543. "description": "更新时间",
  13544. "type": "string"
  13545. },
  13546. "updatorid": {
  13547. "description": "更新人",
  13548. "type": "integer"
  13549. },
  13550. "wrsstatus": {
  13551. "description": "状态 - 作废 - 0:未激活 1:正常",
  13552. "type": "integer"
  13553. },
  13554. "wrstandardcode": {
  13555. "description": "仓单标准代码",
  13556. "type": "string"
  13557. },
  13558. "wrstandardid": {
  13559. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13560. "type": "integer"
  13561. },
  13562. "wrstandardname": {
  13563. "description": "仓单标准名称",
  13564. "type": "string"
  13565. }
  13566. }
  13567. },
  13568. "models.Warehouseinfo": {
  13569. "type": "object",
  13570. "required": [
  13571. "autoid",
  13572. "warehousecode"
  13573. ],
  13574. "properties": {
  13575. "address": {
  13576. "description": "详细地址",
  13577. "type": "string"
  13578. },
  13579. "areauserid": {
  13580. "description": "所属机构",
  13581. "type": "integer"
  13582. },
  13583. "autoid": {
  13584. "description": "自增ID",
  13585. "type": "integer"
  13586. },
  13587. "cityid": {
  13588. "description": "市",
  13589. "type": "integer"
  13590. },
  13591. "contactname": {
  13592. "description": "联系人",
  13593. "type": "string"
  13594. },
  13595. "contactnum": {
  13596. "description": "联系电话",
  13597. "type": "string"
  13598. },
  13599. "countryid": {
  13600. "description": "国家",
  13601. "type": "integer"
  13602. },
  13603. "createtime": {
  13604. "description": "创建时间",
  13605. "type": "string"
  13606. },
  13607. "districtid": {
  13608. "description": "区",
  13609. "type": "integer"
  13610. },
  13611. "hasvideo": {
  13612. "description": "是否有视频 - 0:无 1:有",
  13613. "type": "integer"
  13614. },
  13615. "provinceid": {
  13616. "description": "省",
  13617. "type": "integer"
  13618. },
  13619. "remark": {
  13620. "description": "审核备注",
  13621. "type": "string"
  13622. },
  13623. "videourl": {
  13624. "description": "视频地址",
  13625. "type": "string"
  13626. },
  13627. "warehousecode": {
  13628. "description": "仓库代码",
  13629. "type": "string"
  13630. },
  13631. "warehousename": {
  13632. "description": "仓库名称",
  13633. "type": "string"
  13634. },
  13635. "warehousestatus": {
  13636. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13637. "type": "integer"
  13638. },
  13639. "warehousetype": {
  13640. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13641. "type": "integer"
  13642. }
  13643. }
  13644. },
  13645. "order.QueryHisTradeDetailRsp": {
  13646. "type": "object",
  13647. "required": [
  13648. "accountid",
  13649. "buyorsell",
  13650. "goodsid",
  13651. "histradedate",
  13652. "marketid",
  13653. "memberuserid",
  13654. "orderid",
  13655. "tradeamount",
  13656. "tradedate",
  13657. "tradeid",
  13658. "tradeprice",
  13659. "tradeqty",
  13660. "tradetime"
  13661. ],
  13662. "properties": {
  13663. "accountid": {
  13664. "description": "账户ID[报价币种]",
  13665. "type": "integer"
  13666. },
  13667. "buildtype": {
  13668. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13669. "type": "integer"
  13670. },
  13671. "buyorsell": {
  13672. "description": "方向 - 0:买 1:卖",
  13673. "type": "integer"
  13674. },
  13675. "charge": {
  13676. "description": "手续费",
  13677. "type": "number"
  13678. },
  13679. "closecharge": {
  13680. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13681. "type": "number"
  13682. },
  13683. "closeexchagechargevalue": {
  13684. "description": "平仓交易所手续费设置值",
  13685. "type": "number"
  13686. },
  13687. "closefeealgorithm": {
  13688. "description": "平仓手续费收取方式 1:比率 2:固定",
  13689. "type": "integer"
  13690. },
  13691. "closememberchargevalue": {
  13692. "description": "平仓会员手续费设置值",
  13693. "type": "number"
  13694. },
  13695. "closepl": {
  13696. "description": "平仓盈亏",
  13697. "type": "number"
  13698. },
  13699. "closepl2": {
  13700. "description": "平仓盈亏[逐笔]",
  13701. "type": "number"
  13702. },
  13703. "closeqty": {
  13704. "description": "平仓数量(先建后平操作 需要记录)",
  13705. "type": "integer"
  13706. },
  13707. "creditamount": {
  13708. "description": "授信金额",
  13709. "type": "number"
  13710. },
  13711. "gcaccountid": {
  13712. "description": "账户ID[合约币种]",
  13713. "type": "integer"
  13714. },
  13715. "goodscode": {
  13716. "description": "商品代码",
  13717. "type": "string"
  13718. },
  13719. "goodsid": {
  13720. "description": "商品ID",
  13721. "type": "integer"
  13722. },
  13723. "goodsname": {
  13724. "description": "商品名称",
  13725. "type": "string"
  13726. },
  13727. "histradedate": {
  13728. "description": "历史交易日",
  13729. "type": "string"
  13730. },
  13731. "intclosepl": {
  13732. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13733. "type": "integer"
  13734. },
  13735. "isconfirmexercise": {
  13736. "description": "是否确认行权- 0:否 1:是",
  13737. "type": "integer"
  13738. },
  13739. "ismain": {
  13740. "description": "是否主单 - 0:不是 1:是",
  13741. "type": "integer"
  13742. },
  13743. "ispreexercise": {
  13744. "description": "是否预申报- 0:否 1:是",
  13745. "type": "integer"
  13746. },
  13747. "isreckoned": {
  13748. "description": "是否结算 - 0:未结算 1:已结算",
  13749. "type": "integer"
  13750. },
  13751. "isvaliddata": {
  13752. "description": "是否有效 - 0:无效 1:有效",
  13753. "type": "integer"
  13754. },
  13755. "listingselecttype": {
  13756. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13757. "type": "integer"
  13758. },
  13759. "marketid": {
  13760. "description": "市场ID",
  13761. "type": "integer"
  13762. },
  13763. "marketname": {
  13764. "description": "市场名称",
  13765. "type": "string"
  13766. },
  13767. "matchaccountid": {
  13768. "description": "对手账号id",
  13769. "type": "integer"
  13770. },
  13771. "memberuserid": {
  13772. "description": "会员id 个人投资者 需要填写",
  13773. "type": "integer"
  13774. },
  13775. "opencharge": {
  13776. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13777. "type": "number"
  13778. },
  13779. "openexchagechargevalue": {
  13780. "description": "建仓交易所手续费设置值",
  13781. "type": "number"
  13782. },
  13783. "openfeealgorithm": {
  13784. "description": "建仓手续费收取方式 1:比率 2:固定",
  13785. "type": "integer"
  13786. },
  13787. "openmemberchargevalue": {
  13788. "description": "建仓会员手续费设置值",
  13789. "type": "number"
  13790. },
  13791. "openqty": {
  13792. "description": "开仓数量(先建后平操作 需要记录)",
  13793. "type": "integer"
  13794. },
  13795. "optiontype": {
  13796. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13797. "type": "integer"
  13798. },
  13799. "orderid": {
  13800. "description": "委托单号",
  13801. "type": "string"
  13802. },
  13803. "performanceplanid": {
  13804. "description": "履约计划ID[期权]",
  13805. "type": "integer"
  13806. },
  13807. "performancestatus": {
  13808. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13809. "type": "integer"
  13810. },
  13811. "preexerciseprice": {
  13812. "description": "预申报价格",
  13813. "type": "number"
  13814. },
  13815. "premium": {
  13816. "description": "权利金 - [持仓单的权利金]",
  13817. "type": "number"
  13818. },
  13819. "relatedouttradeid": {
  13820. "description": "关联外部成交单ID",
  13821. "type": "integer"
  13822. },
  13823. "status": {
  13824. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13825. "type": "integer"
  13826. },
  13827. "tradeamount": {
  13828. "description": "成交金额[账户币种,用于所有权]",
  13829. "type": "number"
  13830. },
  13831. "tradedate": {
  13832. "description": "交易日(yyyyMMdd)",
  13833. "type": "string"
  13834. },
  13835. "tradeid": {
  13836. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13837. "type": "string"
  13838. },
  13839. "trademode": {
  13840. "description": "交易模式",
  13841. "type": "integer"
  13842. },
  13843. "tradeprice": {
  13844. "description": "成交价格",
  13845. "type": "number"
  13846. },
  13847. "tradeproperty": {
  13848. "description": "交易属性",
  13849. "type": "integer"
  13850. },
  13851. "tradeqty": {
  13852. "description": "成交数量",
  13853. "type": "integer"
  13854. },
  13855. "tradetime": {
  13856. "description": "成交时间",
  13857. "type": "string"
  13858. },
  13859. "tradetype": {
  13860. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13861. "type": "integer"
  13862. }
  13863. }
  13864. },
  13865. "order.QueryHisTradeOrderDetailRsp": {
  13866. "type": "object",
  13867. "required": [
  13868. "accountid",
  13869. "buildtype",
  13870. "buyorsell",
  13871. "goodsid",
  13872. "histradedate",
  13873. "marketid",
  13874. "memberuserid",
  13875. "operatetype",
  13876. "orderid",
  13877. "orderqty",
  13878. "ordertime",
  13879. "pricemode",
  13880. "tradedate",
  13881. "validtype"
  13882. ],
  13883. "properties": {
  13884. "accountid": {
  13885. "description": "账户ID[报价币种]",
  13886. "type": "integer"
  13887. },
  13888. "buildtype": {
  13889. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13890. "type": "integer"
  13891. },
  13892. "buyorsell": {
  13893. "description": "买卖 - 0:买 1:卖",
  13894. "type": "integer"
  13895. },
  13896. "cancelorderid": {
  13897. "description": "撤单单号(撤单时填写)",
  13898. "type": "string"
  13899. },
  13900. "cancelqty": {
  13901. "description": "撤单数量",
  13902. "type": "integer"
  13903. },
  13904. "clientordertime": {
  13905. "description": "客户端委托时间",
  13906. "type": "string"
  13907. },
  13908. "clientticket": {
  13909. "description": "客户端流水号",
  13910. "type": "string"
  13911. },
  13912. "clienttype": {
  13913. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13914. "type": "integer"
  13915. },
  13916. "closeexchagechargevalue": {
  13917. "description": "平仓交易所手续费设置值",
  13918. "type": "number"
  13919. },
  13920. "closefeealgorithm": {
  13921. "description": "平仓手续费收取方式 1:比率 2:固定",
  13922. "type": "integer"
  13923. },
  13924. "closefreezecharge": {
  13925. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13926. "type": "number"
  13927. },
  13928. "closememberchargevalue": {
  13929. "description": "平仓会员手续费设置值",
  13930. "type": "number"
  13931. },
  13932. "closeqty": {
  13933. "description": "平仓数量(先建后平操作 需要记录)",
  13934. "type": "integer"
  13935. },
  13936. "closetradeqty": {
  13937. "description": "平仓成交数量(先建后平操作,需要记录)",
  13938. "type": "integer"
  13939. },
  13940. "closeunfreezecharge": {
  13941. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13942. "type": "number"
  13943. },
  13944. "delistingtype": {
  13945. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13946. "type": "integer"
  13947. },
  13948. "freezecharge": {
  13949. "description": "冻结手续费",
  13950. "type": "number"
  13951. },
  13952. "freezemargin": {
  13953. "description": "冻结保证金(冻结交易金额)",
  13954. "type": "number"
  13955. },
  13956. "gcaccountid": {
  13957. "description": "账户ID[合约币种]",
  13958. "type": "integer"
  13959. },
  13960. "goodscode": {
  13961. "description": "商品代码",
  13962. "type": "string"
  13963. },
  13964. "goodsid": {
  13965. "description": "商品ID",
  13966. "type": "integer"
  13967. },
  13968. "goodsname": {
  13969. "description": "商品名称",
  13970. "type": "string"
  13971. },
  13972. "histradedate": {
  13973. "description": "历史交易日",
  13974. "type": "string"
  13975. },
  13976. "isconfirmexercise": {
  13977. "description": "是否确认行权- 0:否 1:是",
  13978. "type": "integer"
  13979. },
  13980. "ispreexercise": {
  13981. "description": "是否预申报- 0:否 1:是",
  13982. "type": "integer"
  13983. },
  13984. "isvaliddata": {
  13985. "description": "是否有效 - 0:无效 1:有效",
  13986. "type": "integer"
  13987. },
  13988. "listingselecttype": {
  13989. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13990. "type": "integer"
  13991. },
  13992. "marginalgorithm": {
  13993. "description": "保证金收取方式 1:比率 2:固定",
  13994. "type": "integer"
  13995. },
  13996. "marginvalue": {
  13997. "description": "即市保证金设置值",
  13998. "type": "number"
  13999. },
  14000. "marketid": {
  14001. "description": "市场ID",
  14002. "type": "integer"
  14003. },
  14004. "marketmaxsub": {
  14005. "description": "市价最大偏移范围",
  14006. "type": "number"
  14007. },
  14008. "marketname": {
  14009. "description": "市场名称",
  14010. "type": "string"
  14011. },
  14012. "memberuserid": {
  14013. "description": "所属会员UserID",
  14014. "type": "integer"
  14015. },
  14016. "openexchagechargevalue": {
  14017. "description": "建仓交易所手续费设置值",
  14018. "type": "number"
  14019. },
  14020. "openfeealgorithm": {
  14021. "description": "建仓手续费收取方式 1:比率 2:固定",
  14022. "type": "integer"
  14023. },
  14024. "openfreezecharge": {
  14025. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14026. "type": "number"
  14027. },
  14028. "openmemberchargevalue": {
  14029. "description": "建仓会员手续费设置值",
  14030. "type": "number"
  14031. },
  14032. "openqty": {
  14033. "description": "开仓数量(先建后平操作,需要记录)",
  14034. "type": "integer"
  14035. },
  14036. "opentradeqty": {
  14037. "description": "开仓成交数量(先建后平操作,需要记录)",
  14038. "type": "integer"
  14039. },
  14040. "openunfreezecharge": {
  14041. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14042. "type": "number"
  14043. },
  14044. "operatetype": {
  14045. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14046. "type": "integer"
  14047. },
  14048. "operatorid": {
  14049. "description": "登录账号(LoginID)",
  14050. "type": "integer"
  14051. },
  14052. "optiontype": {
  14053. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14054. "type": "integer"
  14055. },
  14056. "orderid": {
  14057. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14058. "type": "string"
  14059. },
  14060. "orderprice": {
  14061. "description": "委托价格",
  14062. "type": "number"
  14063. },
  14064. "orderqty": {
  14065. "description": "委托数量",
  14066. "type": "integer"
  14067. },
  14068. "ordersrc": {
  14069. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14070. "type": "integer"
  14071. },
  14072. "orderstatus": {
  14073. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14074. "type": "integer"
  14075. },
  14076. "ordertime": {
  14077. "description": "委托时间",
  14078. "type": "string"
  14079. },
  14080. "preexerciseprice": {
  14081. "description": "预申报价格",
  14082. "type": "number"
  14083. },
  14084. "premium": {
  14085. "description": "权利金",
  14086. "type": "number"
  14087. },
  14088. "preorderid": {
  14089. "description": "关联预埋单号(止盈止损单时填写)",
  14090. "type": "string"
  14091. },
  14092. "pricemode": {
  14093. "description": "取价方式 - 1:市价 2: 限价",
  14094. "type": "integer"
  14095. },
  14096. "quoteid": {
  14097. "description": "报价单ID",
  14098. "type": "integer"
  14099. },
  14100. "relatedid": {
  14101. "description": "关联单号(交割单)",
  14102. "type": "string"
  14103. },
  14104. "retcode": {
  14105. "description": "错误代码",
  14106. "type": "integer"
  14107. },
  14108. "sessionid": {
  14109. "description": "会话ID",
  14110. "type": "integer"
  14111. },
  14112. "tradedate": {
  14113. "description": "交易日(yyyyMMdd)",
  14114. "type": "string"
  14115. },
  14116. "trademode": {
  14117. "description": "交易模式",
  14118. "type": "integer"
  14119. },
  14120. "tradeproperty": {
  14121. "description": "交易属性",
  14122. "type": "integer"
  14123. },
  14124. "tradeqty": {
  14125. "description": "成交数量",
  14126. "type": "integer"
  14127. },
  14128. "unfreezecharge": {
  14129. "description": "解冻手续费",
  14130. "type": "number"
  14131. },
  14132. "unfreezemargin": {
  14133. "description": "解冻保证金",
  14134. "type": "number"
  14135. },
  14136. "updatetime": {
  14137. "description": "更新时间",
  14138. "type": "string"
  14139. },
  14140. "uuid": {
  14141. "description": "发起端唯一id",
  14142. "type": "string"
  14143. },
  14144. "validtime": {
  14145. "description": "有效期限",
  14146. "type": "string"
  14147. },
  14148. "validtype": {
  14149. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14150. "type": "integer"
  14151. },
  14152. "volumetype": {
  14153. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14154. "type": "integer"
  14155. }
  14156. }
  14157. },
  14158. "order.QueryTradeDetailRsp": {
  14159. "type": "object",
  14160. "required": [
  14161. "accountid",
  14162. "buyorsell",
  14163. "goodsid",
  14164. "marketid",
  14165. "memberuserid",
  14166. "orderid",
  14167. "tradeamount",
  14168. "tradedate",
  14169. "tradeid",
  14170. "tradeprice",
  14171. "tradeqty",
  14172. "tradetime"
  14173. ],
  14174. "properties": {
  14175. "accountid": {
  14176. "description": "账户ID[报价币种]",
  14177. "type": "integer"
  14178. },
  14179. "buildtype": {
  14180. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14181. "type": "integer"
  14182. },
  14183. "buyorsell": {
  14184. "description": "方向 - 0:买 1:卖",
  14185. "type": "integer"
  14186. },
  14187. "charge": {
  14188. "description": "手续费",
  14189. "type": "number"
  14190. },
  14191. "closecharge": {
  14192. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14193. "type": "number"
  14194. },
  14195. "closeexchagechargevalue": {
  14196. "description": "平仓交易所手续费设置值",
  14197. "type": "number"
  14198. },
  14199. "closefeealgorithm": {
  14200. "description": "平仓手续费收取方式 1:比率 2:固定",
  14201. "type": "integer"
  14202. },
  14203. "closememberchargevalue": {
  14204. "description": "平仓会员手续费设置值",
  14205. "type": "number"
  14206. },
  14207. "closepl": {
  14208. "description": "平仓盈亏",
  14209. "type": "number"
  14210. },
  14211. "closepl2": {
  14212. "description": "平仓盈亏[逐笔]",
  14213. "type": "number"
  14214. },
  14215. "closeqty": {
  14216. "description": "平仓数量(先建后平操作 需要记录)",
  14217. "type": "integer"
  14218. },
  14219. "creditamount": {
  14220. "description": "授信金额",
  14221. "type": "number"
  14222. },
  14223. "gcaccountid": {
  14224. "description": "账户ID[合约币种]",
  14225. "type": "integer"
  14226. },
  14227. "goodscode": {
  14228. "description": "商品代码",
  14229. "type": "string"
  14230. },
  14231. "goodsid": {
  14232. "description": "商品ID",
  14233. "type": "integer"
  14234. },
  14235. "goodsname": {
  14236. "description": "商品名称",
  14237. "type": "string"
  14238. },
  14239. "intclosepl": {
  14240. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14241. "type": "integer"
  14242. },
  14243. "isconfirmexercise": {
  14244. "description": "是否确认行权- 0:否 1:是",
  14245. "type": "integer"
  14246. },
  14247. "ismain": {
  14248. "description": "是否主单 - 0:不是 1:是",
  14249. "type": "integer"
  14250. },
  14251. "ispreexercise": {
  14252. "description": "是否预申报- 0:否 1:是",
  14253. "type": "integer"
  14254. },
  14255. "isreckoned": {
  14256. "description": "是否结算 - 0:未结算 1:已结算",
  14257. "type": "integer"
  14258. },
  14259. "listingselecttype": {
  14260. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14261. "type": "integer"
  14262. },
  14263. "marketid": {
  14264. "description": "市场ID",
  14265. "type": "integer"
  14266. },
  14267. "marketname": {
  14268. "description": "市场名称",
  14269. "type": "string"
  14270. },
  14271. "matchaccountid": {
  14272. "description": "对手账号id",
  14273. "type": "integer"
  14274. },
  14275. "memberuserid": {
  14276. "description": "会员id 个人投资者 需要填写",
  14277. "type": "integer"
  14278. },
  14279. "opencharge": {
  14280. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14281. "type": "number"
  14282. },
  14283. "openexchagechargevalue": {
  14284. "description": "建仓交易所手续费设置值",
  14285. "type": "number"
  14286. },
  14287. "openfeealgorithm": {
  14288. "description": "建仓手续费收取方式 1:比率 2:固定",
  14289. "type": "integer"
  14290. },
  14291. "openmemberchargevalue": {
  14292. "description": "建仓会员手续费设置值",
  14293. "type": "number"
  14294. },
  14295. "openqty": {
  14296. "description": "开仓数量(先建后平操作 需要记录)",
  14297. "type": "integer"
  14298. },
  14299. "optiontype": {
  14300. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14301. "type": "integer"
  14302. },
  14303. "orderid": {
  14304. "description": "委托单号",
  14305. "type": "string"
  14306. },
  14307. "performanceplanid": {
  14308. "description": "履约计划ID[期权]",
  14309. "type": "integer"
  14310. },
  14311. "performancestatus": {
  14312. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14313. "type": "integer"
  14314. },
  14315. "preexerciseprice": {
  14316. "description": "预申报价格",
  14317. "type": "number"
  14318. },
  14319. "premium": {
  14320. "description": "权利金 - [持仓单的权利金]",
  14321. "type": "number"
  14322. },
  14323. "relatedouttradeid": {
  14324. "description": "关联外部成交单ID",
  14325. "type": "integer"
  14326. },
  14327. "status": {
  14328. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14329. "type": "integer"
  14330. },
  14331. "tradeamount": {
  14332. "description": "成交金额[账户币种,用于所有权]",
  14333. "type": "number"
  14334. },
  14335. "tradedate": {
  14336. "description": "交易日(yyyyMMdd)",
  14337. "type": "string"
  14338. },
  14339. "tradeid": {
  14340. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14341. "type": "string"
  14342. },
  14343. "trademode": {
  14344. "description": "交易模式",
  14345. "type": "integer"
  14346. },
  14347. "tradeprice": {
  14348. "description": "成交价格",
  14349. "type": "number"
  14350. },
  14351. "tradeproperty": {
  14352. "description": "交易属性",
  14353. "type": "integer"
  14354. },
  14355. "tradeqty": {
  14356. "description": "成交数量",
  14357. "type": "integer"
  14358. },
  14359. "tradetime": {
  14360. "description": "成交时间",
  14361. "type": "string"
  14362. },
  14363. "tradetype": {
  14364. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14365. "type": "integer"
  14366. }
  14367. }
  14368. },
  14369. "order.QueryTradeOrderDetailRsp": {
  14370. "type": "object",
  14371. "required": [
  14372. "accountid",
  14373. "buildtype",
  14374. "buyorsell",
  14375. "goodsid",
  14376. "marketid",
  14377. "operatetype",
  14378. "orderqty",
  14379. "ordertime",
  14380. "pricemode",
  14381. "tradedate",
  14382. "validtype"
  14383. ],
  14384. "properties": {
  14385. "accountid": {
  14386. "description": "账户ID[报价币种]",
  14387. "type": "integer"
  14388. },
  14389. "buildtype": {
  14390. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14391. "type": "integer"
  14392. },
  14393. "buyorsell": {
  14394. "description": "买卖 - 0:买 1:卖",
  14395. "type": "integer"
  14396. },
  14397. "cancelorderid": {
  14398. "description": "撤单单号(撤单时填写)",
  14399. "type": "string"
  14400. },
  14401. "cancelqty": {
  14402. "description": "撤单数量",
  14403. "type": "integer"
  14404. },
  14405. "clienttype": {
  14406. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14407. "type": "integer"
  14408. },
  14409. "closefreezecharge": {
  14410. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14411. "type": "number"
  14412. },
  14413. "closeqty": {
  14414. "description": "平仓数量(先建后平操作 需要记录)",
  14415. "type": "integer"
  14416. },
  14417. "closetradeqty": {
  14418. "description": "平仓成交数量(先建后平操作,需要记录)",
  14419. "type": "integer"
  14420. },
  14421. "closeunfreezecharge": {
  14422. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14423. "type": "number"
  14424. },
  14425. "delistingtype": {
  14426. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14427. "type": "integer"
  14428. },
  14429. "enableqty": {
  14430. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  14431. "type": "integer"
  14432. },
  14433. "freezecharge": {
  14434. "description": "冻结手续费",
  14435. "type": "number"
  14436. },
  14437. "freezemargin": {
  14438. "description": "冻结保证金(冻结交易金额)",
  14439. "type": "number"
  14440. },
  14441. "goodscode": {
  14442. "description": "商品代码",
  14443. "type": "string"
  14444. },
  14445. "goodsid": {
  14446. "description": "商品ID",
  14447. "type": "integer"
  14448. },
  14449. "goodsname": {
  14450. "description": "商品名称",
  14451. "type": "string"
  14452. },
  14453. "listingselecttype": {
  14454. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14455. "type": "integer"
  14456. },
  14457. "marketid": {
  14458. "description": "市场ID",
  14459. "type": "integer"
  14460. },
  14461. "marketname": {
  14462. "description": "市场名称",
  14463. "type": "string"
  14464. },
  14465. "openfreezecharge": {
  14466. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14467. "type": "number"
  14468. },
  14469. "openqty": {
  14470. "description": "开仓数量(先建后平操作,需要记录)",
  14471. "type": "integer"
  14472. },
  14473. "opentradeqty": {
  14474. "description": "开仓成交数量(先建后平操作,需要记录)",
  14475. "type": "integer"
  14476. },
  14477. "openunfreezecharge": {
  14478. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14479. "type": "number"
  14480. },
  14481. "operatetype": {
  14482. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14483. "type": "integer"
  14484. },
  14485. "operatorid": {
  14486. "description": "登录账号(LoginID)",
  14487. "type": "integer"
  14488. },
  14489. "orderid": {
  14490. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14491. "type": "string"
  14492. },
  14493. "orderprice": {
  14494. "description": "委托价格",
  14495. "type": "number"
  14496. },
  14497. "orderqty": {
  14498. "description": "委托数量",
  14499. "type": "integer"
  14500. },
  14501. "ordersrc": {
  14502. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14503. "type": "integer"
  14504. },
  14505. "orderstatus": {
  14506. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14507. "type": "integer"
  14508. },
  14509. "ordertime": {
  14510. "description": "委托时间",
  14511. "type": "string"
  14512. },
  14513. "preorderid": {
  14514. "description": "关联预埋单号(止盈止损单时填写)",
  14515. "type": "string"
  14516. },
  14517. "pricemode": {
  14518. "description": "取价方式 - 1:市价 2: 限价",
  14519. "type": "integer"
  14520. },
  14521. "relatedid": {
  14522. "description": "关联单号(交割单)",
  14523. "type": "string"
  14524. },
  14525. "tradedate": {
  14526. "description": "交易日(yyyyMMdd)",
  14527. "type": "string"
  14528. },
  14529. "trademode": {
  14530. "description": "交易模式",
  14531. "type": "integer"
  14532. },
  14533. "tradeqty": {
  14534. "description": "成交数量",
  14535. "type": "integer"
  14536. },
  14537. "unfreezecharge": {
  14538. "description": "解冻手续费",
  14539. "type": "number"
  14540. },
  14541. "unfreezemargin": {
  14542. "description": "解冻保证金",
  14543. "type": "number"
  14544. },
  14545. "validtime": {
  14546. "description": "有效期限",
  14547. "type": "string"
  14548. },
  14549. "validtype": {
  14550. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14551. "type": "integer"
  14552. },
  14553. "volumetype": {
  14554. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14555. "type": "integer"
  14556. }
  14557. }
  14558. },
  14559. "order.QueryTradePositionRsp": {
  14560. "type": "object",
  14561. "required": [
  14562. "goodsid"
  14563. ],
  14564. "properties": {
  14565. "accountid": {
  14566. "description": "资金账户",
  14567. "type": "integer"
  14568. },
  14569. "agreeunit": {
  14570. "description": "合约单位",
  14571. "type": "number"
  14572. },
  14573. "averageprice": {
  14574. "description": "持仓均价",
  14575. "type": "number"
  14576. },
  14577. "buyorsell": {
  14578. "description": "方向 - 0:买 1:卖",
  14579. "type": "integer"
  14580. },
  14581. "closetotalqty": {
  14582. "description": "平仓总数量",
  14583. "type": "integer"
  14584. },
  14585. "curholderamount": {
  14586. "description": "当前持仓总金额[商品币种]",
  14587. "type": "number"
  14588. },
  14589. "curpositionqty": {
  14590. "description": "当前持仓总数量",
  14591. "type": "integer"
  14592. },
  14593. "currencyid": {
  14594. "description": "报价货币ID",
  14595. "type": "integer"
  14596. },
  14597. "curtdposition": {
  14598. "description": "期末今日头寸",
  14599. "type": "integer"
  14600. },
  14601. "decimalplace": {
  14602. "description": "报价小数位",
  14603. "type": "integer"
  14604. },
  14605. "enableqty": {
  14606. "description": "可用量",
  14607. "type": "integer"
  14608. },
  14609. "fretdposition": {
  14610. "description": "冻结今日头寸",
  14611. "type": "integer"
  14612. },
  14613. "frozenqty": {
  14614. "description": "持仓冻结数量",
  14615. "type": "integer"
  14616. },
  14617. "goodscode": {
  14618. "description": "商品代码",
  14619. "type": "string"
  14620. },
  14621. "goodsid": {
  14622. "description": "商品Id",
  14623. "type": "integer"
  14624. },
  14625. "goodsname": {
  14626. "description": "商品名称",
  14627. "type": "string"
  14628. },
  14629. "goodunit": {
  14630. "description": "报价单位",
  14631. "type": "string"
  14632. },
  14633. "goodunitid": {
  14634. "description": "报价单位ID",
  14635. "type": "integer"
  14636. },
  14637. "holderamount": {
  14638. "description": "期初持仓总金额[商品币种]",
  14639. "type": "number"
  14640. },
  14641. "marketid": {
  14642. "description": "所属市场ID",
  14643. "type": "integer"
  14644. },
  14645. "openreqqty": {
  14646. "description": "开仓申请数量(用于比较最大持仓数量)",
  14647. "type": "integer"
  14648. },
  14649. "opentotalqty": {
  14650. "description": "开仓总数量",
  14651. "type": "integer"
  14652. },
  14653. "otherfrozenqty": {
  14654. "description": "持仓其他冻结数量(交割冻结)",
  14655. "type": "integer"
  14656. },
  14657. "positionqty": {
  14658. "description": "期初持仓数量",
  14659. "type": "integer"
  14660. },
  14661. "tnqty": {
  14662. "description": "T+N冻结总量",
  14663. "type": "integer"
  14664. },
  14665. "tnusedqty": {
  14666. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14667. "type": "integer"
  14668. },
  14669. "trademode": {
  14670. "description": "交易模式",
  14671. "type": "integer"
  14672. },
  14673. "usedmargin": {
  14674. "description": "占用保证金[商品币种]",
  14675. "type": "number"
  14676. }
  14677. }
  14678. },
  14679. "quote.HistoryData": {
  14680. "type": "object",
  14681. "properties": {
  14682. "c": {
  14683. "description": "收盘价",
  14684. "type": "number"
  14685. },
  14686. "h": {
  14687. "description": "最高价",
  14688. "type": "number"
  14689. },
  14690. "hv": {
  14691. "description": "持仓量",
  14692. "type": "integer"
  14693. },
  14694. "l": {
  14695. "description": "最低价",
  14696. "type": "number"
  14697. },
  14698. "o": {
  14699. "description": "开盘价",
  14700. "type": "number"
  14701. },
  14702. "s": {
  14703. "description": "结算价,日线周期(包括)以上才有",
  14704. "type": "number"
  14705. },
  14706. "ts": {
  14707. "description": "时间",
  14708. "type": "string"
  14709. },
  14710. "tt": {
  14711. "description": "总金额",
  14712. "type": "number"
  14713. },
  14714. "tv": {
  14715. "description": "总量",
  14716. "type": "integer"
  14717. }
  14718. }
  14719. },
  14720. "quote.QueryTSDataRsp": {
  14721. "type": "object",
  14722. "properties": {
  14723. "decimalPlace": {
  14724. "description": "小数位",
  14725. "type": "integer"
  14726. },
  14727. "endTime": {
  14728. "description": "结束时间",
  14729. "type": "string"
  14730. },
  14731. "goodsCode": {
  14732. "description": "商品代码",
  14733. "type": "string"
  14734. },
  14735. "historyDatas": {
  14736. "description": "历史数据",
  14737. "type": "array",
  14738. "items": {
  14739. "$ref": "#/definitions/quote.HistoryData"
  14740. }
  14741. },
  14742. "preSettle": {
  14743. "description": "昨结",
  14744. "type": "number"
  14745. },
  14746. "startTime": {
  14747. "description": "开始时间",
  14748. "type": "string"
  14749. },
  14750. "tradeDate": {
  14751. "description": "交易日",
  14752. "type": "string"
  14753. }
  14754. }
  14755. },
  14756. "szdz.QueryConvertLogRsp": {
  14757. "type": "object",
  14758. "required": [
  14759. "logid"
  14760. ],
  14761. "properties": {
  14762. "accountid": {
  14763. "description": "资金账户ID",
  14764. "type": "integer"
  14765. },
  14766. "clientticket": {
  14767. "description": "客户端流水号",
  14768. "type": "string"
  14769. },
  14770. "converttype": {
  14771. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14772. "type": "integer"
  14773. },
  14774. "createtime": {
  14775. "description": "记账时间",
  14776. "type": "string"
  14777. },
  14778. "daymaxvalue": {
  14779. "description": "配置当日最大转入限制",
  14780. "type": "number"
  14781. },
  14782. "daymaxvalue2": {
  14783. "description": "配置当日最大转入限制(转入)",
  14784. "type": "number"
  14785. },
  14786. "goodscode": {
  14787. "description": "商品代码",
  14788. "type": "string"
  14789. },
  14790. "goodsname": {
  14791. "description": "商品名称",
  14792. "type": "string"
  14793. },
  14794. "handlestatus": {
  14795. "description": "处理状态",
  14796. "type": "integer"
  14797. },
  14798. "innergoodsid": {
  14799. "description": "内部商品ID",
  14800. "type": "integer"
  14801. },
  14802. "inratio": {
  14803. "description": "配置转入比值",
  14804. "type": "integer"
  14805. },
  14806. "invalue": {
  14807. "description": "目标值",
  14808. "type": "number"
  14809. },
  14810. "logid": {
  14811. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14812. "type": "integer"
  14813. },
  14814. "mobile": {
  14815. "description": "手机号码(加密存储)",
  14816. "type": "string"
  14817. },
  14818. "outergoodscode": {
  14819. "description": "外部商品代码[JD\\PD]",
  14820. "type": "string"
  14821. },
  14822. "outratio": {
  14823. "description": "配置转出比值",
  14824. "type": "integer"
  14825. },
  14826. "outvalue": {
  14827. "description": "源值",
  14828. "type": "number"
  14829. },
  14830. "pddecimalplace": {
  14831. "description": "PD小数位",
  14832. "type": "integer"
  14833. },
  14834. "qty": {
  14835. "description": "数量",
  14836. "type": "string"
  14837. },
  14838. "remark": {
  14839. "description": "备注",
  14840. "type": "string"
  14841. },
  14842. "sessionid": {
  14843. "description": "会话ID",
  14844. "type": "integer"
  14845. },
  14846. "timemaxvalue": {
  14847. "description": "配置单次最大转入限制",
  14848. "type": "number"
  14849. },
  14850. "timemaxvalue2": {
  14851. "description": "配置单次最大转入限制(转入)",
  14852. "type": "number"
  14853. },
  14854. "timeminvalue": {
  14855. "description": "配置单次最小数量限制",
  14856. "type": "number"
  14857. },
  14858. "timeminvalue2": {
  14859. "description": "配置单次最小数量限制(转入)",
  14860. "type": "number"
  14861. },
  14862. "tradedate": {
  14863. "description": "交易日(yyyyMMdd)",
  14864. "type": "string"
  14865. },
  14866. "userid": {
  14867. "description": "用户ID",
  14868. "type": "integer"
  14869. }
  14870. }
  14871. },
  14872. "szdz.QueryGoodsPickupRsp": {
  14873. "type": "object",
  14874. "required": [
  14875. "takeorderid"
  14876. ],
  14877. "properties": {
  14878. "accountid": {
  14879. "description": "账户ID",
  14880. "type": "integer"
  14881. },
  14882. "address": {
  14883. "description": "提货人详细地址",
  14884. "type": "string"
  14885. },
  14886. "auditer": {
  14887. "description": "审核人",
  14888. "type": "integer"
  14889. },
  14890. "audittime": {
  14891. "description": "审核时间",
  14892. "type": "string"
  14893. },
  14894. "cardnum": {
  14895. "description": "提货人证件号码",
  14896. "type": "string"
  14897. },
  14898. "cardtypeid": {
  14899. "description": "提货人证件类型",
  14900. "type": "integer"
  14901. },
  14902. "checkremark": {
  14903. "description": "审核备注",
  14904. "type": "string"
  14905. },
  14906. "goodscode": {
  14907. "description": "商品代码",
  14908. "type": "string"
  14909. },
  14910. "goodsid": {
  14911. "description": "商品ID",
  14912. "type": "integer"
  14913. },
  14914. "goodsname": {
  14915. "description": "商品名称",
  14916. "type": "string"
  14917. },
  14918. "handlestatus": {
  14919. "description": "处理状态",
  14920. "type": "integer"
  14921. },
  14922. "marketid": {
  14923. "description": "市场ID",
  14924. "type": "integer"
  14925. },
  14926. "phonenum": {
  14927. "description": "提货人联系方式",
  14928. "type": "string"
  14929. },
  14930. "qty": {
  14931. "description": "提货数量",
  14932. "type": "number"
  14933. },
  14934. "recivername": {
  14935. "description": "提货人姓名",
  14936. "type": "string"
  14937. },
  14938. "reqtime": {
  14939. "description": "更新时间",
  14940. "type": "string"
  14941. },
  14942. "takemode": {
  14943. "description": "提货方式 - 2:自提 3:配送",
  14944. "type": "integer"
  14945. },
  14946. "takeorderid": {
  14947. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14948. "type": "string"
  14949. },
  14950. "takeorderstatus": {
  14951. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14952. "type": "integer"
  14953. },
  14954. "takeremark": {
  14955. "description": "提货备注",
  14956. "type": "string"
  14957. },
  14958. "tradedate": {
  14959. "description": "交易日(yyyyMMdd)",
  14960. "type": "string"
  14961. },
  14962. "userid": {
  14963. "description": "用户ID",
  14964. "type": "integer"
  14965. }
  14966. }
  14967. },
  14968. "szdz.QueryRecieptOrderRsp": {
  14969. "type": "object",
  14970. "required": [
  14971. "ordertime"
  14972. ],
  14973. "properties": {
  14974. "accountName": {
  14975. "description": "所属账号名称(已脱敏)",
  14976. "type": "string"
  14977. },
  14978. "accountid": {
  14979. "description": "资金账号",
  14980. "type": "integer"
  14981. },
  14982. "buyorsell": {
  14983. "description": "方向 - 0:买 1:卖",
  14984. "type": "integer"
  14985. },
  14986. "enableqty": {
  14987. "description": "可摘数量",
  14988. "type": "integer"
  14989. },
  14990. "goodscode": {
  14991. "description": "商品代码",
  14992. "type": "string"
  14993. },
  14994. "goodsid": {
  14995. "description": "商品ID",
  14996. "type": "integer"
  14997. },
  14998. "goodsname": {
  14999. "description": "商品名称",
  15000. "type": "string"
  15001. },
  15002. "orderid": {
  15003. "description": "委托单号",
  15004. "type": "string"
  15005. },
  15006. "orderprice": {
  15007. "description": "委托价格",
  15008. "type": "number"
  15009. },
  15010. "ordertime": {
  15011. "description": "委托时间",
  15012. "type": "string"
  15013. },
  15014. "tradedate": {
  15015. "description": "交易日(yyyyMMdd)",
  15016. "type": "string"
  15017. }
  15018. }
  15019. },
  15020. "szdz.QuerySZDZTradePositionRsp": {
  15021. "type": "object",
  15022. "properties": {
  15023. "accountid": {
  15024. "description": "账号Id",
  15025. "type": "integer"
  15026. },
  15027. "agreeunit": {
  15028. "description": "合约单位",
  15029. "type": "number"
  15030. },
  15031. "averageprice": {
  15032. "description": "持仓均价",
  15033. "type": "number"
  15034. },
  15035. "buyorsell": {
  15036. "description": "方向 - 0:买 1:卖",
  15037. "type": "integer"
  15038. },
  15039. "closetotalqty": {
  15040. "description": "平仓总数量",
  15041. "type": "integer"
  15042. },
  15043. "curholderamount": {
  15044. "description": "当前持仓总金额",
  15045. "type": "number"
  15046. },
  15047. "curpositionqty": {
  15048. "description": "当前持仓总数量",
  15049. "type": "integer"
  15050. },
  15051. "currencyid": {
  15052. "description": "报价货币ID",
  15053. "type": "integer"
  15054. },
  15055. "curtdposition": {
  15056. "description": "期末今日头寸",
  15057. "type": "integer"
  15058. },
  15059. "decimalplace": {
  15060. "description": "报价小数位",
  15061. "type": "integer"
  15062. },
  15063. "enableqty": {
  15064. "description": "可用量",
  15065. "type": "integer"
  15066. },
  15067. "fretdposition": {
  15068. "description": "冻结今日头寸",
  15069. "type": "integer"
  15070. },
  15071. "frozenqty": {
  15072. "description": "持仓冻结数量",
  15073. "type": "integer"
  15074. },
  15075. "goodscode": {
  15076. "description": "商品代码(内部)",
  15077. "type": "string"
  15078. },
  15079. "goodsid": {
  15080. "description": "商品Id",
  15081. "type": "integer"
  15082. },
  15083. "goodsname": {
  15084. "description": "商品名称",
  15085. "type": "string"
  15086. },
  15087. "goodunit": {
  15088. "description": "报价单位",
  15089. "type": "string"
  15090. },
  15091. "goodunitid": {
  15092. "description": "报价单位ID",
  15093. "type": "integer"
  15094. },
  15095. "holderamount": {
  15096. "description": "期初持仓总金额",
  15097. "type": "number"
  15098. },
  15099. "marketid": {
  15100. "description": "市场ID",
  15101. "type": "integer"
  15102. },
  15103. "openreqqty": {
  15104. "description": "开仓申请数量",
  15105. "type": "integer"
  15106. },
  15107. "opentotalqty": {
  15108. "description": "开仓总数量",
  15109. "type": "integer"
  15110. },
  15111. "otherfrozenqty": {
  15112. "description": "持仓其他冻结数量(交割冻结)",
  15113. "type": "integer"
  15114. },
  15115. "positionqty": {
  15116. "description": "期初持仓数量",
  15117. "type": "integer"
  15118. },
  15119. "szdz3freezqty": {
  15120. "description": "尚志大宗转换冻结总数量",
  15121. "type": "integer"
  15122. },
  15123. "tnqty": {
  15124. "description": "T+N冻结总量",
  15125. "type": "integer"
  15126. },
  15127. "tnusedqty": {
  15128. "description": "T+N使用量",
  15129. "type": "integer"
  15130. },
  15131. "trademode": {
  15132. "description": "交易模式",
  15133. "type": "integer"
  15134. },
  15135. "usedmargin": {
  15136. "description": "占用保证金",
  15137. "type": "number"
  15138. }
  15139. }
  15140. },
  15141. "taaccount.QueryAmountLogRsp": {
  15142. "type": "object",
  15143. "required": [
  15144. "accountid",
  15145. "amount",
  15146. "amountadjusttype",
  15147. "autoid",
  15148. "balance",
  15149. "createtime",
  15150. "currentbalance",
  15151. "operatetype"
  15152. ],
  15153. "properties": {
  15154. "OPERATETYPENAME": {
  15155. "description": "资金操作类型名称",
  15156. "type": "string"
  15157. },
  15158. "accountid": {
  15159. "description": "资金账户ID",
  15160. "type": "integer"
  15161. },
  15162. "agoodscode": {
  15163. "description": "竞拍商品代码",
  15164. "type": "string"
  15165. },
  15166. "agoodsname": {
  15167. "description": "竞拍商品名称",
  15168. "type": "string"
  15169. },
  15170. "amount": {
  15171. "description": "资金金额",
  15172. "type": "number"
  15173. },
  15174. "amountadjusttype": {
  15175. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15176. "type": "integer"
  15177. },
  15178. "autoid": {
  15179. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15180. "type": "integer"
  15181. },
  15182. "balance": {
  15183. "description": "期初余额",
  15184. "type": "number"
  15185. },
  15186. "businesscode": {
  15187. "description": "业务编号",
  15188. "type": "integer"
  15189. },
  15190. "createtime": {
  15191. "description": "发生时间",
  15192. "type": "string"
  15193. },
  15194. "currencyid": {
  15195. "description": "币种ID",
  15196. "type": "integer"
  15197. },
  15198. "currentbalance": {
  15199. "description": "期末余额(变动后金额)",
  15200. "type": "number"
  15201. },
  15202. "dgoodscode": {
  15203. "description": "交割商品代码",
  15204. "type": "string"
  15205. },
  15206. "dgoodsname": {
  15207. "description": "交割商品名称",
  15208. "type": "string"
  15209. },
  15210. "goodscode": {
  15211. "description": "商品代码",
  15212. "type": "string"
  15213. },
  15214. "goodsid": {
  15215. "description": "商品ID",
  15216. "type": "integer"
  15217. },
  15218. "goodsname": {
  15219. "description": "商品名称",
  15220. "type": "string"
  15221. },
  15222. "marketid": {
  15223. "description": "市场ID",
  15224. "type": "integer"
  15225. },
  15226. "marketname": {
  15227. "description": "市场名称",
  15228. "type": "string"
  15229. },
  15230. "moneyticket": {
  15231. "description": "资金流水号:银行端流水号",
  15232. "type": "integer"
  15233. },
  15234. "operatetype": {
  15235. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  15236. "type": "integer"
  15237. },
  15238. "relationorderid": {
  15239. "description": "关联单号",
  15240. "type": "string"
  15241. },
  15242. "remark": {
  15243. "description": "备注",
  15244. "type": "string"
  15245. },
  15246. "trademode": {
  15247. "description": "交易模式",
  15248. "type": "integer"
  15249. }
  15250. }
  15251. },
  15252. "taaccount.QueryHisAmountLogRsp": {
  15253. "type": "object",
  15254. "required": [
  15255. "accountid",
  15256. "amount",
  15257. "amountadjusttype",
  15258. "autoid",
  15259. "balance",
  15260. "createtime",
  15261. "currentbalance",
  15262. "histradedate",
  15263. "operatetype"
  15264. ],
  15265. "properties": {
  15266. "OPERATETYPENAME": {
  15267. "description": "资金操作类型名称",
  15268. "type": "string"
  15269. },
  15270. "accountid": {
  15271. "description": "资金账户ID",
  15272. "type": "integer"
  15273. },
  15274. "agoodscode": {
  15275. "description": "竞拍商品代码",
  15276. "type": "string"
  15277. },
  15278. "agoodsname": {
  15279. "description": "竞拍商品名称",
  15280. "type": "string"
  15281. },
  15282. "amount": {
  15283. "description": "资金金额",
  15284. "type": "number"
  15285. },
  15286. "amountadjusttype": {
  15287. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15288. "type": "integer"
  15289. },
  15290. "autoid": {
  15291. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15292. "type": "integer"
  15293. },
  15294. "balance": {
  15295. "description": "期初余额",
  15296. "type": "number"
  15297. },
  15298. "businesscode": {
  15299. "description": "业务编号",
  15300. "type": "integer"
  15301. },
  15302. "createtime": {
  15303. "description": "发生时间",
  15304. "type": "string"
  15305. },
  15306. "currencyid": {
  15307. "description": "币种ID",
  15308. "type": "integer"
  15309. },
  15310. "currentbalance": {
  15311. "description": "期末余额(变动后金额)",
  15312. "type": "number"
  15313. },
  15314. "dgoodscode": {
  15315. "description": "交割商品代码",
  15316. "type": "string"
  15317. },
  15318. "dgoodsname": {
  15319. "description": "交割商品名称",
  15320. "type": "string"
  15321. },
  15322. "goodscode": {
  15323. "description": "商品代码",
  15324. "type": "string"
  15325. },
  15326. "goodsid": {
  15327. "description": "商品ID",
  15328. "type": "integer"
  15329. },
  15330. "goodsname": {
  15331. "description": "商品名称",
  15332. "type": "string"
  15333. },
  15334. "histradedate": {
  15335. "description": "历史交易日",
  15336. "type": "string"
  15337. },
  15338. "isvaliddata": {
  15339. "description": "是否有效 - 0:无效 1:有效",
  15340. "type": "integer"
  15341. },
  15342. "marketid": {
  15343. "description": "市场ID",
  15344. "type": "integer"
  15345. },
  15346. "marketname": {
  15347. "description": "市场名称",
  15348. "type": "string"
  15349. },
  15350. "moneyticket": {
  15351. "description": "资金流水号:银行端流水号",
  15352. "type": "integer"
  15353. },
  15354. "operatetype": {
  15355. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  15356. "type": "integer"
  15357. },
  15358. "relationorderid": {
  15359. "description": "关联单号",
  15360. "type": "string"
  15361. },
  15362. "remark": {
  15363. "description": "备注",
  15364. "type": "string"
  15365. },
  15366. "trademode": {
  15367. "description": "交易模式",
  15368. "type": "integer"
  15369. }
  15370. }
  15371. },
  15372. "trade.QueryRecieptOrderRsp": {
  15373. "type": "object",
  15374. "required": [
  15375. "ordertime"
  15376. ],
  15377. "properties": {
  15378. "accountName": {
  15379. "description": "所属账号名称(已脱敏)",
  15380. "type": "string"
  15381. },
  15382. "accountid": {
  15383. "description": "资金账号",
  15384. "type": "integer"
  15385. },
  15386. "buyorsell": {
  15387. "description": "方向 - 0:买 1:卖",
  15388. "type": "integer"
  15389. },
  15390. "enableqty": {
  15391. "description": "可摘数量",
  15392. "type": "integer"
  15393. },
  15394. "goodscode": {
  15395. "description": "商品代码",
  15396. "type": "string"
  15397. },
  15398. "goodsid": {
  15399. "description": "商品ID",
  15400. "type": "integer"
  15401. },
  15402. "goodsname": {
  15403. "description": "商品名称",
  15404. "type": "string"
  15405. },
  15406. "orderid": {
  15407. "description": "委托单号",
  15408. "type": "string"
  15409. },
  15410. "orderprice": {
  15411. "description": "委托价格",
  15412. "type": "number"
  15413. },
  15414. "ordertime": {
  15415. "description": "委托时间",
  15416. "type": "string"
  15417. },
  15418. "tradedate": {
  15419. "description": "交易日(yyyyMMdd)",
  15420. "type": "string"
  15421. }
  15422. }
  15423. }
  15424. },
  15425. "securityDefinitions": {
  15426. "ApiKeyAuth": {
  15427. "type": "apiKey",
  15428. "name": "Authorization",
  15429. "in": "header"
  15430. }
  15431. }
  15432. }`
  15433. type swaggerInfo struct {
  15434. Version string
  15435. Host string
  15436. BasePath string
  15437. Schemes []string
  15438. Title string
  15439. Description string
  15440. }
  15441. // SwaggerInfo holds exported Swagger Info so clients can modify it
  15442. var SwaggerInfo = swaggerInfo{
  15443. Version: "1.0",
  15444. Host: "",
  15445. BasePath: "/api",
  15446. Schemes: []string{},
  15447. Title: "MTP2.0 查询服务 API",
  15448. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  15449. }
  15450. type s struct{}
  15451. func (s *s) ReadDoc() string {
  15452. sInfo := SwaggerInfo
  15453. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  15454. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  15455. "marshal": func(v interface{}) string {
  15456. a, _ := json.Marshal(v)
  15457. return string(a)
  15458. },
  15459. }).Parse(doc)
  15460. if err != nil {
  15461. return doc
  15462. }
  15463. var tpl bytes.Buffer
  15464. if err := t.Execute(&tpl, sInfo); err != nil {
  15465. return doc
  15466. }
  15467. return tpl.String()
  15468. }
  15469. func init() {
  15470. swag.Register(swag.Name, &s{})
  15471. }