docs.go 368 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "TableKey",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryTableDefineRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryTraderMenu": {
  626. "get": {
  627. "produces": [
  628. "application/json"
  629. ],
  630. "tags": [
  631. "通用服务"
  632. ],
  633. "summary": "查询交易端菜单",
  634. "parameters": [
  635. {
  636. "type": "integer",
  637. "description": "登录账号",
  638. "name": "loginid",
  639. "in": "query",
  640. "required": true
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Delivery/QueryDeliveryRelation": {
  660. "get": {
  661. "security": [
  662. {
  663. "ApiKeyAuth": []
  664. }
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "交割服务"
  671. ],
  672. "summary": "查询商品交割关系表",
  673. "parameters": [
  674. {
  675. "type": "integer",
  676. "description": "商品ID",
  677. "name": "goodsid",
  678. "in": "query"
  679. },
  680. {
  681. "type": "integer",
  682. "description": "品种ID",
  683. "name": "deliverygoodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "市场ID",
  689. "name": "marketid",
  690. "in": "query"
  691. }
  692. ],
  693. "responses": {
  694. "200": {
  695. "description": "OK",
  696. "schema": {
  697. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  698. }
  699. },
  700. "500": {
  701. "description": "Internal Server Error",
  702. "schema": {
  703. "$ref": "#/definitions/app.Response"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/Erms2/QueryArbitrageStrategy": {
  710. "get": {
  711. "security": [
  712. {
  713. "ApiKeyAuth": []
  714. }
  715. ],
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "风险管理"
  721. ],
  722. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  723. "parameters": [
  724. {
  725. "type": "integer",
  726. "description": "账户ID",
  727. "name": "userid",
  728. "in": "query",
  729. "required": true
  730. },
  731. {
  732. "type": "string",
  733. "description": "商品组ID(品种ID)",
  734. "name": "goodsgroupid",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Erms2/QueryInnerTradeDetail": {
  755. "get": {
  756. "security": [
  757. {
  758. "ApiKeyAuth": []
  759. }
  760. ],
  761. "produces": [
  762. "application/json"
  763. ],
  764. "tags": [
  765. "风险管理"
  766. ],
  767. "summary": "查询内部成交单信息",
  768. "parameters": [
  769. {
  770. "type": "integer",
  771. "description": "资金账户",
  772. "name": "accountid",
  773. "in": "query",
  774. "required": true
  775. }
  776. ],
  777. "responses": {
  778. "200": {
  779. "description": "OK",
  780. "schema": {
  781. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  782. }
  783. },
  784. "500": {
  785. "description": "Internal Server Error",
  786. "schema": {
  787. "$ref": "#/definitions/app.Response"
  788. }
  789. }
  790. }
  791. }
  792. },
  793. "/Erms2/QuerySpotContract": {
  794. "get": {
  795. "security": [
  796. {
  797. "ApiKeyAuth": []
  798. }
  799. ],
  800. "produces": [
  801. "application/json"
  802. ],
  803. "tags": [
  804. "风险管理"
  805. ],
  806. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  807. "parameters": [
  808. {
  809. "type": "integer",
  810. "description": "策略申请ID",
  811. "name": "asapplyid",
  812. "in": "query",
  813. "required": true
  814. },
  815. {
  816. "type": "integer",
  817. "description": "现货合同ID",
  818. "name": "spotcontractid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Erms3/AddErms2ASApply": {
  839. "post": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "风险管理v3"
  850. ],
  851. "summary": "新增期现套利业务申请",
  852. "parameters": [
  853. {
  854. "description": "申请参数",
  855. "name": "jsonBody",
  856. "in": "body",
  857. "required": true,
  858. "schema": {
  859. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  860. }
  861. }
  862. ],
  863. "responses": {
  864. "200": {
  865. "description": "OK",
  866. "schema": {
  867. "$ref": "#/definitions/app.Response"
  868. }
  869. },
  870. "500": {
  871. "description": "Internal Server Error",
  872. "schema": {
  873. "$ref": "#/definitions/app.Response"
  874. }
  875. }
  876. }
  877. }
  878. },
  879. "/Erms3/AddErms2SpotTradeApply": {
  880. "post": {
  881. "security": [
  882. {
  883. "ApiKeyAuth": []
  884. }
  885. ],
  886. "produces": [
  887. "application/json"
  888. ],
  889. "tags": [
  890. "风险管理v3"
  891. ],
  892. "summary": "新增现货贸易业务申请",
  893. "parameters": [
  894. {
  895. "description": "申请参数",
  896. "name": "jsonBody",
  897. "in": "body",
  898. "required": true,
  899. "schema": {
  900. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  901. }
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Erms3/AddSpotContractApply": {
  921. "post": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "风险管理v3"
  932. ],
  933. "summary": "新增现货合同申请",
  934. "parameters": [
  935. {
  936. "description": "申请参数",
  937. "name": "jsonBody",
  938. "in": "body",
  939. "required": true,
  940. "schema": {
  941. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  942. }
  943. }
  944. ],
  945. "responses": {
  946. "200": {
  947. "description": "OK",
  948. "schema": {
  949. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  950. }
  951. },
  952. "500": {
  953. "description": "Internal Server Error",
  954. "schema": {
  955. "$ref": "#/definitions/app.Response"
  956. }
  957. }
  958. }
  959. }
  960. },
  961. "/Erms3/AddUserInfoApply": {
  962. "post": {
  963. "security": [
  964. {
  965. "ApiKeyAuth": []
  966. }
  967. ],
  968. "produces": [
  969. "application/json"
  970. ],
  971. "tags": [
  972. "风险管理v3"
  973. ],
  974. "summary": "新增客户申请",
  975. "parameters": [
  976. {
  977. "description": "申请参数",
  978. "name": "jsonBody",
  979. "in": "body",
  980. "required": true,
  981. "schema": {
  982. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  983. }
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "$ref": "#/definitions/app.Response"
  991. }
  992. },
  993. "500": {
  994. "description": "Internal Server Error",
  995. "schema": {
  996. "$ref": "#/definitions/app.Response"
  997. }
  998. }
  999. }
  1000. }
  1001. },
  1002. "/Erms3/QueryBusinessInfo": {
  1003. "get": {
  1004. "security": [
  1005. {
  1006. "ApiKeyAuth": []
  1007. }
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "风险管理v3"
  1014. ],
  1015. "summary": "查询业务表单数据",
  1016. "parameters": [
  1017. {
  1018. "type": "string",
  1019. "description": "资金账号ID列表,用逗号分隔",
  1020. "name": "accountids",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "integer",
  1026. "description": "状态,0为未结束 1为已结束",
  1027. "name": "status",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Erms3/QueryPendingAuditContract": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "风险管理v3"
  1063. ],
  1064. "summary": "查询待审核合同",
  1065. "parameters": [
  1066. {
  1067. "type": "string",
  1068. "description": "资金账号ID列表,逗号隔开",
  1069. "name": "accountids",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "合同类型 1-采购 -1-销售",
  1076. "name": "contracttype",
  1077. "in": "query",
  1078. "required": true
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "合同模式 1-普通 2-回购",
  1083. "name": "contractmode",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Erms3/QueryPendingBusiness": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "风险管理v3"
  1119. ],
  1120. "summary": "查询待审核基差贸易业务",
  1121. "parameters": [
  1122. {
  1123. "type": "string",
  1124. "description": "资金账号ID列表,逗号隔开",
  1125. "name": "accountids",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "type": "array",
  1135. "items": {
  1136. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1137. }
  1138. }
  1139. },
  1140. "500": {
  1141. "description": "Internal Server Error",
  1142. "schema": {
  1143. "$ref": "#/definitions/app.Response"
  1144. }
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "/Erms3/QuerySpotContractAppleForm": {
  1150. "get": {
  1151. "security": [
  1152. {
  1153. "ApiKeyAuth": []
  1154. }
  1155. ],
  1156. "produces": [
  1157. "application/json"
  1158. ],
  1159. "tags": [
  1160. "风险管理v3"
  1161. ],
  1162. "summary": "查询合同申请表单数据",
  1163. "parameters": [
  1164. {
  1165. "type": "integer",
  1166. "description": "登录账号",
  1167. "name": "loginID",
  1168. "in": "query",
  1169. "required": true
  1170. }
  1171. ],
  1172. "responses": {
  1173. "200": {
  1174. "description": "OK",
  1175. "schema": {
  1176. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Erms3/QuerySpotContractDetail": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "风险管理v3"
  1200. ],
  1201. "summary": "查询合同详细信息",
  1202. "parameters": [
  1203. {
  1204. "type": "string",
  1205. "description": "资金账号ID列表,用逗号分隔",
  1206. "name": "accountids",
  1207. "in": "query",
  1208. "required": true
  1209. },
  1210. {
  1211. "type": "integer",
  1212. "description": "合同类型,1为采购合同 -1为销售合同",
  1213. "name": "contracttype",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "integer",
  1219. "description": "合同模式,1为普通合同 2为回购销售合同",
  1220. "name": "contractmode",
  1221. "in": "query",
  1222. "required": true
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "状态,0为履约中 1为已完成",
  1227. "name": "status",
  1228. "in": "query",
  1229. "required": true
  1230. }
  1231. ],
  1232. "responses": {
  1233. "200": {
  1234. "description": "OK",
  1235. "schema": {
  1236. "type": "array",
  1237. "items": {
  1238. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1239. }
  1240. }
  1241. },
  1242. "500": {
  1243. "description": "Internal Server Error",
  1244. "schema": {
  1245. "$ref": "#/definitions/app.Response"
  1246. }
  1247. }
  1248. }
  1249. }
  1250. },
  1251. "/Erms3/QueryUserInfoApplies": {
  1252. "get": {
  1253. "security": [
  1254. {
  1255. "ApiKeyAuth": []
  1256. }
  1257. ],
  1258. "produces": [
  1259. "application/json"
  1260. ],
  1261. "tags": [
  1262. "风险管理v3"
  1263. ],
  1264. "summary": "客户申请信息查询",
  1265. "parameters": [
  1266. {
  1267. "type": "integer",
  1268. "description": "页码",
  1269. "name": "page",
  1270. "in": "query"
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "每页条数",
  1275. "name": "pagesize",
  1276. "in": "query"
  1277. },
  1278. {
  1279. "type": "string",
  1280. "description": "客户名称,支持模糊查询",
  1281. "name": "userName",
  1282. "in": "query"
  1283. }
  1284. ],
  1285. "responses": {
  1286. "200": {
  1287. "description": "OK",
  1288. "schema": {
  1289. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1290. }
  1291. },
  1292. "500": {
  1293. "description": "Internal Server Error",
  1294. "schema": {
  1295. "$ref": "#/definitions/app.Response"
  1296. }
  1297. }
  1298. }
  1299. }
  1300. },
  1301. "/Erms3/QueryUserInfos": {
  1302. "get": {
  1303. "security": [
  1304. {
  1305. "ApiKeyAuth": []
  1306. }
  1307. ],
  1308. "produces": [
  1309. "application/json"
  1310. ],
  1311. "tags": [
  1312. "风险管理v3"
  1313. ],
  1314. "summary": "客户信息查询",
  1315. "parameters": [
  1316. {
  1317. "type": "integer",
  1318. "description": "页码",
  1319. "name": "page",
  1320. "in": "query"
  1321. },
  1322. {
  1323. "type": "integer",
  1324. "description": "每页条数",
  1325. "name": "pagesize",
  1326. "in": "query"
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "客户名称,支持模糊查询",
  1331. "name": "userName",
  1332. "in": "query"
  1333. }
  1334. ],
  1335. "responses": {
  1336. "200": {
  1337. "description": "OK",
  1338. "schema": {
  1339. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/HSBY/GetHsbyMyCount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "description": "说明: 不包括已完成的数量。",
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "定制【海商报业】"
  1364. ],
  1365. "summary": "获取我的订单与包裹数量",
  1366. "parameters": [
  1367. {
  1368. "type": "string",
  1369. "description": "资金账户列表,格式:1,2,3",
  1370. "name": "accountIDs",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1380. }
  1381. },
  1382. "500": {
  1383. "description": "Internal Server Error",
  1384. "schema": {
  1385. "$ref": "#/definitions/app.Response"
  1386. }
  1387. }
  1388. }
  1389. }
  1390. },
  1391. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1392. "get": {
  1393. "security": [
  1394. {
  1395. "ApiKeyAuth": []
  1396. }
  1397. ],
  1398. "produces": [
  1399. "application/json"
  1400. ],
  1401. "tags": [
  1402. "定制【海商报业】"
  1403. ],
  1404. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1405. "parameters": [
  1406. {
  1407. "type": "integer",
  1408. "description": "页码",
  1409. "name": "page",
  1410. "in": "query"
  1411. },
  1412. {
  1413. "type": "integer",
  1414. "description": "每页条数",
  1415. "name": "pagesize",
  1416. "in": "query"
  1417. },
  1418. {
  1419. "type": "string",
  1420. "description": "资金账户列表,格式:1,2,3",
  1421. "name": "accountIDs",
  1422. "in": "query",
  1423. "required": true
  1424. }
  1425. ],
  1426. "responses": {
  1427. "200": {
  1428. "description": "OK",
  1429. "schema": {
  1430. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "description": "说明:查询结果已按委托价格和委托时间排序",
  1450. "produces": [
  1451. "application/json"
  1452. ],
  1453. "tags": [
  1454. "定制【海商报业】"
  1455. ],
  1456. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1457. "parameters": [
  1458. {
  1459. "type": "integer",
  1460. "description": "商品ID",
  1461. "name": "goodsID",
  1462. "in": "query",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "string",
  1467. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1468. "name": "accountIDs",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1474. "name": "buyOrSell",
  1475. "in": "query"
  1476. },
  1477. {
  1478. "type": "number",
  1479. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1480. "name": "price",
  1481. "in": "query"
  1482. },
  1483. {
  1484. "type": "integer",
  1485. "description": "档位,不传则默认为3档",
  1486. "name": "speed",
  1487. "in": "query"
  1488. }
  1489. ],
  1490. "responses": {
  1491. "200": {
  1492. "description": "OK",
  1493. "schema": {
  1494. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/HSBY/QueryHsbyListingGoodsDetail": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "定制【海商报业】"
  1518. ],
  1519. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "商品ID",
  1524. "name": "goodsID",
  1525. "in": "query",
  1526. "required": true
  1527. },
  1528. {
  1529. "type": "integer",
  1530. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1531. "name": "AccountID",
  1532. "in": "query"
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1540. }
  1541. },
  1542. "500": {
  1543. "description": "Internal Server Error",
  1544. "schema": {
  1545. "$ref": "#/definitions/app.Response"
  1546. }
  1547. }
  1548. }
  1549. }
  1550. },
  1551. "/HSBY/QueryHsbyMarkets": {
  1552. "get": {
  1553. "security": [
  1554. {
  1555. "ApiKeyAuth": []
  1556. }
  1557. ],
  1558. "produces": [
  1559. "application/json"
  1560. ],
  1561. "tags": [
  1562. "定制【海商报业】"
  1563. ],
  1564. "summary": "查询海商报业相关市场信息",
  1565. "responses": {
  1566. "200": {
  1567. "description": "OK",
  1568. "schema": {
  1569. "$ref": "#/definitions/models.HsbyMarketInfo"
  1570. }
  1571. },
  1572. "500": {
  1573. "description": "Internal Server Error",
  1574. "schema": {
  1575. "$ref": "#/definitions/app.Response"
  1576. }
  1577. }
  1578. }
  1579. }
  1580. },
  1581. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1582. "get": {
  1583. "security": [
  1584. {
  1585. "ApiKeyAuth": []
  1586. }
  1587. ],
  1588. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1589. "produces": [
  1590. "application/json"
  1591. ],
  1592. "tags": [
  1593. "定制【海商报业】"
  1594. ],
  1595. "summary": "查询“我的订单”信息",
  1596. "parameters": [
  1597. {
  1598. "type": "string",
  1599. "description": "资金账户列表,格式:1,2,3",
  1600. "name": "accountIDs",
  1601. "in": "query",
  1602. "required": true
  1603. },
  1604. {
  1605. "type": "integer",
  1606. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1607. "name": "myBuyStatus",
  1608. "in": "query"
  1609. }
  1610. ],
  1611. "responses": {
  1612. "200": {
  1613. "description": "OK",
  1614. "schema": {
  1615. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/HSBY/QueryHsbyMyGoods": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "定制【海商报业】"
  1639. ],
  1640. "summary": "查询“我的商品”信息",
  1641. "parameters": [
  1642. {
  1643. "type": "string",
  1644. "description": "资金账户列表,格式:1,2,3",
  1645. "name": "accountIDs",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "$ref": "#/definitions/models.HsbyMyGoods"
  1655. }
  1656. },
  1657. "500": {
  1658. "description": "Internal Server Error",
  1659. "schema": {
  1660. "$ref": "#/definitions/app.Response"
  1661. }
  1662. }
  1663. }
  1664. }
  1665. },
  1666. "/HSBY/QueryHsbyMyPackages": {
  1667. "get": {
  1668. "security": [
  1669. {
  1670. "ApiKeyAuth": []
  1671. }
  1672. ],
  1673. "produces": [
  1674. "application/json"
  1675. ],
  1676. "tags": [
  1677. "定制【海商报业】"
  1678. ],
  1679. "summary": "查询我的包裹信息",
  1680. "parameters": [
  1681. {
  1682. "type": "string",
  1683. "description": "资金账户列表,格式:1,2,3",
  1684. "name": "accountIDs",
  1685. "in": "query",
  1686. "required": true
  1687. },
  1688. {
  1689. "type": "integer",
  1690. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1691. "name": "takeOrderStatus",
  1692. "in": "query"
  1693. }
  1694. ],
  1695. "responses": {
  1696. "200": {
  1697. "description": "OK",
  1698. "schema": {
  1699. "$ref": "#/definitions/models.HsbyMyPackage"
  1700. }
  1701. },
  1702. "500": {
  1703. "description": "Internal Server Error",
  1704. "schema": {
  1705. "$ref": "#/definitions/app.Response"
  1706. }
  1707. }
  1708. }
  1709. }
  1710. },
  1711. "/HSBY/QueryHsbyPreGoodsDetail": {
  1712. "get": {
  1713. "security": [
  1714. {
  1715. "ApiKeyAuth": []
  1716. }
  1717. ],
  1718. "produces": [
  1719. "application/json"
  1720. ],
  1721. "tags": [
  1722. "定制【海商报业】"
  1723. ],
  1724. "summary": "查询一级市场(预售)商品信息详情",
  1725. "parameters": [
  1726. {
  1727. "type": "integer",
  1728. "description": "商品ID",
  1729. "name": "goodsID",
  1730. "in": "query",
  1731. "required": true
  1732. },
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户,主要用于获取预售商品购买上限",
  1736. "name": "accountID",
  1737. "in": "query"
  1738. }
  1739. ],
  1740. "responses": {
  1741. "200": {
  1742. "description": "OK",
  1743. "schema": {
  1744. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/HSBY/QueryHsbyPreGoodses": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1764. "produces": [
  1765. "application/json"
  1766. ],
  1767. "tags": [
  1768. "定制【海商报业】"
  1769. ],
  1770. "summary": "查询新品上市商品列表(一级市场预售)",
  1771. "parameters": [
  1772. {
  1773. "type": "integer",
  1774. "description": "页码",
  1775. "name": "page",
  1776. "in": "query"
  1777. },
  1778. {
  1779. "type": "integer",
  1780. "description": "每页条数",
  1781. "name": "pagesize",
  1782. "in": "query"
  1783. },
  1784. {
  1785. "type": "string",
  1786. "description": "市场ID列表,格式:1,2,3",
  1787. "name": "marketIDs",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "目的地(省)ID",
  1794. "name": "descProvinceID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "目的地(市)ID",
  1800. "name": "descCityID",
  1801. "in": "query"
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/models.HsbyPreGoods"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/HSBY/QueryHsbySellMyDetails": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1828. "produces": [
  1829. "application/json"
  1830. ],
  1831. "tags": [
  1832. "定制【海商报业】"
  1833. ],
  1834. "summary": "查询\"我的闲置\"单据信息",
  1835. "parameters": [
  1836. {
  1837. "type": "integer",
  1838. "description": "页码",
  1839. "name": "page",
  1840. "in": "query"
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "每页条数",
  1845. "name": "pagesize",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "string",
  1850. "description": "资金账户列表,格式:1,2,3",
  1851. "name": "accountIDs",
  1852. "in": "query",
  1853. "required": true
  1854. },
  1855. {
  1856. "type": "integer",
  1857. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  1858. "name": "orderType",
  1859. "in": "query"
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "$ref": "#/definitions/models.HsbySellMyDetail"
  1867. }
  1868. },
  1869. "500": {
  1870. "description": "Internal Server Error",
  1871. "schema": {
  1872. "$ref": "#/definitions/app.Response"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. },
  1878. "/HSBY/QueryHsbyTopGoodses": {
  1879. "get": {
  1880. "security": [
  1881. {
  1882. "ApiKeyAuth": []
  1883. }
  1884. ],
  1885. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1886. "produces": [
  1887. "application/json"
  1888. ],
  1889. "tags": [
  1890. "定制【海商报业】"
  1891. ],
  1892. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1893. "parameters": [
  1894. {
  1895. "type": "integer",
  1896. "description": "页码",
  1897. "name": "page",
  1898. "in": "query"
  1899. },
  1900. {
  1901. "type": "integer",
  1902. "description": "每页条数",
  1903. "name": "pagesize",
  1904. "in": "query"
  1905. },
  1906. {
  1907. "type": "string",
  1908. "description": "市场ID列表,格式:1,2,3",
  1909. "name": "marketIDs",
  1910. "in": "query",
  1911. "required": true
  1912. },
  1913. {
  1914. "type": "integer",
  1915. "description": "目的地(省)ID",
  1916. "name": "descProvinceID",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "目的地(市)ID",
  1922. "name": "descCityID",
  1923. "in": "query"
  1924. }
  1925. ],
  1926. "responses": {
  1927. "200": {
  1928. "description": "OK",
  1929. "schema": {
  1930. "$ref": "#/definitions/models.HsbyTopGoods"
  1931. }
  1932. },
  1933. "500": {
  1934. "description": "Internal Server Error",
  1935. "schema": {
  1936. "$ref": "#/definitions/app.Response"
  1937. }
  1938. }
  1939. }
  1940. }
  1941. },
  1942. "/HSBY/QueryMyCollectionOrders": {
  1943. "get": {
  1944. "security": [
  1945. {
  1946. "ApiKeyAuth": []
  1947. }
  1948. ],
  1949. "produces": [
  1950. "application/json"
  1951. ],
  1952. "tags": [
  1953. "定制【海商报业】"
  1954. ],
  1955. "summary": "我的闲置中收款信息查询",
  1956. "parameters": [
  1957. {
  1958. "type": "integer",
  1959. "description": "页码",
  1960. "name": "page",
  1961. "in": "query"
  1962. },
  1963. {
  1964. "type": "integer",
  1965. "description": "每页条数",
  1966. "name": "pagesize",
  1967. "in": "query"
  1968. },
  1969. {
  1970. "type": "string",
  1971. "description": "资金账户,格式:1,2,3",
  1972. "name": "accountIDs",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/HSBY/QueryMyPayOrders": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "定制【海商报业】"
  2005. ],
  2006. "summary": "获取我的订单中待付款信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "页码",
  2011. "name": "page",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "每页条数",
  2017. "name": "pagesize",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "资金账户列表,格式:1,2,3",
  2023. "name": "accountIDs",
  2024. "in": "query",
  2025. "required": true
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "买方委托单号",
  2030. "name": "buyOrderID",
  2031. "in": "query"
  2032. },
  2033. {
  2034. "type": "integer",
  2035. "description": "卖方委托单号",
  2036. "name": "sellOrderID",
  2037. "in": "query"
  2038. }
  2039. ],
  2040. "responses": {
  2041. "200": {
  2042. "description": "OK",
  2043. "schema": {
  2044. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2045. }
  2046. },
  2047. "500": {
  2048. "description": "Internal Server Error",
  2049. "schema": {
  2050. "$ref": "#/definitions/app.Response"
  2051. }
  2052. }
  2053. }
  2054. }
  2055. },
  2056. "/HSBY/QueryProvincesAndCities": {
  2057. "get": {
  2058. "security": [
  2059. {
  2060. "ApiKeyAuth": []
  2061. }
  2062. ],
  2063. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2064. "produces": [
  2065. "application/json"
  2066. ],
  2067. "tags": [
  2068. "定制【海商报业】"
  2069. ],
  2070. "summary": "查询省市信息(不包括区)",
  2071. "parameters": [
  2072. {
  2073. "type": "integer",
  2074. "description": "省ID",
  2075. "name": "provinceID",
  2076. "in": "query"
  2077. }
  2078. ],
  2079. "responses": {
  2080. "200": {
  2081. "description": "OK",
  2082. "schema": {
  2083. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/HSBY/SetHsbyMyPackagesStatus": {
  2096. "post": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "定制【海商报业】"
  2107. ],
  2108. "summary": "设置我的包裹已收货状态",
  2109. "parameters": [
  2110. {
  2111. "type": "string",
  2112. "description": "提货单号",
  2113. "name": "takeOrderID",
  2114. "in": "query",
  2115. "required": true
  2116. },
  2117. {
  2118. "type": "integer",
  2119. "description": "资金账号",
  2120. "name": "accountID",
  2121. "in": "query",
  2122. "required": true
  2123. }
  2124. ],
  2125. "responses": {
  2126. "200": {
  2127. "description": "OK",
  2128. "schema": {
  2129. "$ref": "#/definitions/app.Response"
  2130. }
  2131. },
  2132. "500": {
  2133. "description": "Internal Server Error",
  2134. "schema": {
  2135. "$ref": "#/definitions/app.Response"
  2136. }
  2137. }
  2138. }
  2139. }
  2140. },
  2141. "/Order/QueryHisTradeDetail": {
  2142. "get": {
  2143. "security": [
  2144. {
  2145. "ApiKeyAuth": []
  2146. }
  2147. ],
  2148. "produces": [
  2149. "application/json"
  2150. ],
  2151. "tags": [
  2152. "通用单据"
  2153. ],
  2154. "summary": "历史成交单查询(合约市场)",
  2155. "parameters": [
  2156. {
  2157. "type": "string",
  2158. "description": "资金账户 - 格式:1,2,3",
  2159. "name": "accountID",
  2160. "in": "query",
  2161. "required": true
  2162. },
  2163. {
  2164. "type": "integer",
  2165. "description": "成交单号",
  2166. "name": "tradeID",
  2167. "in": "query"
  2168. },
  2169. {
  2170. "type": "integer",
  2171. "description": "委托单号",
  2172. "name": "orderID",
  2173. "in": "query"
  2174. },
  2175. {
  2176. "type": "string",
  2177. "description": "交易模式 - 格式:1,2,3",
  2178. "name": "tradeMode",
  2179. "in": "query"
  2180. },
  2181. {
  2182. "type": "integer",
  2183. "description": "委托单据类型",
  2184. "name": "buildType",
  2185. "in": "query"
  2186. },
  2187. {
  2188. "type": "string",
  2189. "description": "成交类别 - 格式:1,2,3",
  2190. "name": "tradeType",
  2191. "in": "query"
  2192. },
  2193. {
  2194. "type": "string",
  2195. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2196. "name": "startDate",
  2197. "in": "query"
  2198. },
  2199. {
  2200. "type": "string",
  2201. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2202. "name": "endDate",
  2203. "in": "query"
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2211. }
  2212. },
  2213. "500": {
  2214. "description": "Internal Server Error",
  2215. "schema": {
  2216. "$ref": "#/definitions/app.Response"
  2217. }
  2218. }
  2219. }
  2220. }
  2221. },
  2222. "/Order/QueryHisTradeOrderDetail": {
  2223. "get": {
  2224. "security": [
  2225. {
  2226. "ApiKeyAuth": []
  2227. }
  2228. ],
  2229. "produces": [
  2230. "application/json"
  2231. ],
  2232. "tags": [
  2233. "通用单据"
  2234. ],
  2235. "summary": "历史委托单查询请求(合约市场)",
  2236. "parameters": [
  2237. {
  2238. "type": "string",
  2239. "description": "资金账户 - 格式:1,2,3",
  2240. "name": "accountID",
  2241. "in": "query",
  2242. "required": true
  2243. },
  2244. {
  2245. "type": "string",
  2246. "description": "交易模式 - 格式:1,2,3",
  2247. "name": "tradeMode",
  2248. "in": "query"
  2249. },
  2250. {
  2251. "type": "string",
  2252. "description": "委托状态 - 格式:1,2,3",
  2253. "name": "orderStatus",
  2254. "in": "query"
  2255. },
  2256. {
  2257. "type": "integer",
  2258. "description": "委托单号",
  2259. "name": "orderID",
  2260. "in": "query"
  2261. },
  2262. {
  2263. "type": "string",
  2264. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2265. "name": "startDate",
  2266. "in": "query"
  2267. },
  2268. {
  2269. "type": "string",
  2270. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2271. "name": "endDate",
  2272. "in": "query"
  2273. }
  2274. ],
  2275. "responses": {
  2276. "200": {
  2277. "description": "OK",
  2278. "schema": {
  2279. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2280. }
  2281. },
  2282. "500": {
  2283. "description": "Internal Server Error",
  2284. "schema": {
  2285. "$ref": "#/definitions/app.Response"
  2286. }
  2287. }
  2288. }
  2289. }
  2290. },
  2291. "/Order/QueryTradeDetail": {
  2292. "get": {
  2293. "security": [
  2294. {
  2295. "ApiKeyAuth": []
  2296. }
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "通用单据"
  2303. ],
  2304. "summary": "成交单查询(合约市场)",
  2305. "parameters": [
  2306. {
  2307. "type": "string",
  2308. "description": "资金账户 - 格式:1,2,3",
  2309. "name": "accountID",
  2310. "in": "query",
  2311. "required": true
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "成交单号",
  2316. "name": "tradeID",
  2317. "in": "query"
  2318. },
  2319. {
  2320. "type": "integer",
  2321. "description": "委托单号",
  2322. "name": "orderID",
  2323. "in": "query"
  2324. },
  2325. {
  2326. "type": "string",
  2327. "description": "交易模式 - 格式:1,2,3",
  2328. "name": "tradeMode",
  2329. "in": "query"
  2330. },
  2331. {
  2332. "type": "integer",
  2333. "description": "委托单据类型",
  2334. "name": "buildType",
  2335. "in": "query"
  2336. },
  2337. {
  2338. "type": "string",
  2339. "description": "成交类别 - 格式:1,2,3",
  2340. "name": "tradeType",
  2341. "in": "query"
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2349. }
  2350. },
  2351. "500": {
  2352. "description": "Internal Server Error",
  2353. "schema": {
  2354. "$ref": "#/definitions/app.Response"
  2355. }
  2356. }
  2357. }
  2358. }
  2359. },
  2360. "/Order/QueryTradeOrderDetail": {
  2361. "get": {
  2362. "security": [
  2363. {
  2364. "ApiKeyAuth": []
  2365. }
  2366. ],
  2367. "produces": [
  2368. "application/json"
  2369. ],
  2370. "tags": [
  2371. "通用单据"
  2372. ],
  2373. "summary": "委托单查询请求(合约市场)",
  2374. "parameters": [
  2375. {
  2376. "type": "string",
  2377. "description": "资金账户 - 格式:1,2,3",
  2378. "name": "accountID",
  2379. "in": "query",
  2380. "required": true
  2381. },
  2382. {
  2383. "type": "string",
  2384. "description": "交易模式 - 格式:1,2,3",
  2385. "name": "tradeMode",
  2386. "in": "query"
  2387. },
  2388. {
  2389. "type": "string",
  2390. "description": "委托状态 - 格式:1,2,3",
  2391. "name": "orderStatus",
  2392. "in": "query"
  2393. },
  2394. {
  2395. "type": "integer",
  2396. "description": "委托单号",
  2397. "name": "orderID",
  2398. "in": "query"
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2406. }
  2407. },
  2408. "500": {
  2409. "description": "Internal Server Error",
  2410. "schema": {
  2411. "$ref": "#/definitions/app.Response"
  2412. }
  2413. }
  2414. }
  2415. }
  2416. },
  2417. "/Order/QueryTradePosition": {
  2418. "get": {
  2419. "security": [
  2420. {
  2421. "ApiKeyAuth": []
  2422. }
  2423. ],
  2424. "produces": [
  2425. "application/json"
  2426. ],
  2427. "tags": [
  2428. "通用单据"
  2429. ],
  2430. "summary": "持仓汇总查询(合约市场)",
  2431. "parameters": [
  2432. {
  2433. "type": "string",
  2434. "description": "资金账户 - 格式:1,2,3",
  2435. "name": "accountID",
  2436. "in": "query",
  2437. "required": true
  2438. },
  2439. {
  2440. "type": "string",
  2441. "description": "交易模式 - 格式:1,2,3",
  2442. "name": "tradeMode",
  2443. "in": "query"
  2444. }
  2445. ],
  2446. "responses": {
  2447. "200": {
  2448. "description": "OK",
  2449. "schema": {
  2450. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2451. }
  2452. },
  2453. "500": {
  2454. "description": "Internal Server Error",
  2455. "schema": {
  2456. "$ref": "#/definitions/app.Response"
  2457. }
  2458. }
  2459. }
  2460. }
  2461. },
  2462. "/Quote/QueryHistoryDatas": {
  2463. "get": {
  2464. "security": [
  2465. {
  2466. "ApiKeyAuth": []
  2467. }
  2468. ],
  2469. "produces": [
  2470. "application/json"
  2471. ],
  2472. "tags": [
  2473. "行情服务"
  2474. ],
  2475. "summary": "查询行情历史数据",
  2476. "parameters": [
  2477. {
  2478. "type": "integer",
  2479. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2480. "name": "cycleType",
  2481. "in": "query",
  2482. "required": true
  2483. },
  2484. {
  2485. "type": "string",
  2486. "description": "商品代码",
  2487. "name": "goodsCode",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "string",
  2493. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2494. "name": "startTime",
  2495. "in": "query"
  2496. },
  2497. {
  2498. "type": "string",
  2499. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2500. "name": "endTime",
  2501. "in": "query"
  2502. },
  2503. {
  2504. "type": "integer",
  2505. "description": "条数",
  2506. "name": "count",
  2507. "in": "query"
  2508. },
  2509. {
  2510. "type": "boolean",
  2511. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2512. "name": "isAsc",
  2513. "in": "query"
  2514. }
  2515. ],
  2516. "responses": {
  2517. "200": {
  2518. "description": "OK",
  2519. "schema": {
  2520. "$ref": "#/definitions/quote.HistoryData"
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Internal Server Error",
  2525. "schema": {
  2526. "$ref": "#/definitions/app.Response"
  2527. }
  2528. }
  2529. }
  2530. }
  2531. },
  2532. "/Quote/QueryTSData": {
  2533. "get": {
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "行情服务"
  2539. ],
  2540. "summary": "分时图数据查询",
  2541. "parameters": [
  2542. {
  2543. "type": "string",
  2544. "description": "商品代码",
  2545. "name": "GoodsCode",
  2546. "in": "query",
  2547. "required": true
  2548. }
  2549. ],
  2550. "responses": {
  2551. "200": {
  2552. "description": "OK",
  2553. "schema": {
  2554. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/SZDZ/QueryConvertConfig": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "定制【尚志大宗】"
  2578. ],
  2579. "summary": "查询交易系统转换设置",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2584. "name": "convertType",
  2585. "in": "query"
  2586. },
  2587. {
  2588. "type": "string",
  2589. "description": "外部商品代码[JD\\PD]",
  2590. "name": "outerGoodsCode",
  2591. "in": "query"
  2592. },
  2593. {
  2594. "type": "string",
  2595. "description": "内部商品ID列表[交易],格式:1,2,3",
  2596. "name": "innerGoodsIDs",
  2597. "in": "query"
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "$ref": "#/definitions/models.Szdz3convertconfig"
  2605. }
  2606. },
  2607. "500": {
  2608. "description": "Internal Server Error",
  2609. "schema": {
  2610. "$ref": "#/definitions/app.Response"
  2611. }
  2612. }
  2613. }
  2614. }
  2615. },
  2616. "/SZDZ/QueryConvertLog": {
  2617. "get": {
  2618. "security": [
  2619. {
  2620. "ApiKeyAuth": []
  2621. }
  2622. ],
  2623. "produces": [
  2624. "application/json"
  2625. ],
  2626. "tags": [
  2627. "定制【尚志大宗】"
  2628. ],
  2629. "summary": "交易系统转换流水查询",
  2630. "parameters": [
  2631. {
  2632. "type": "string",
  2633. "description": "资金账户 - 格式:1,2,3",
  2634. "name": "accountID",
  2635. "in": "query",
  2636. "required": true
  2637. },
  2638. {
  2639. "type": "string",
  2640. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2641. "name": "startDate",
  2642. "in": "query"
  2643. },
  2644. {
  2645. "type": "string",
  2646. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2647. "name": "endDate",
  2648. "in": "query"
  2649. }
  2650. ],
  2651. "responses": {
  2652. "200": {
  2653. "description": "OK",
  2654. "schema": {
  2655. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2656. }
  2657. },
  2658. "500": {
  2659. "description": "Internal Server Error",
  2660. "schema": {
  2661. "$ref": "#/definitions/app.Response"
  2662. }
  2663. }
  2664. }
  2665. }
  2666. },
  2667. "/SZDZ/QueryGoodsPickup": {
  2668. "get": {
  2669. "security": [
  2670. {
  2671. "ApiKeyAuth": []
  2672. }
  2673. ],
  2674. "produces": [
  2675. "application/json"
  2676. ],
  2677. "tags": [
  2678. "定制【尚志大宗】"
  2679. ],
  2680. "summary": "商品提货单查询",
  2681. "parameters": [
  2682. {
  2683. "type": "string",
  2684. "description": "资金账户 - 格式:1,2,3",
  2685. "name": "accountID",
  2686. "in": "query",
  2687. "required": true
  2688. },
  2689. {
  2690. "type": "integer",
  2691. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2692. "name": "takeOrderStatus",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/SZDZ/QueryRecieptOrder": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【尚志大宗】"
  2725. ],
  2726. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "页码",
  2731. "name": "page",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "每页条数",
  2737. "name": "pagesize",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "integer",
  2742. "description": "商品ID",
  2743. "name": "goodsID",
  2744. "in": "query",
  2745. "required": true
  2746. },
  2747. {
  2748. "type": "string",
  2749. "description": "所属账户名称",
  2750. "name": "accountName",
  2751. "in": "query"
  2752. },
  2753. {
  2754. "type": "integer",
  2755. "description": "市场ID",
  2756. "name": "marketID",
  2757. "in": "query"
  2758. },
  2759. {
  2760. "type": "integer",
  2761. "description": "方向 - 0:买 1:卖",
  2762. "name": "buyorsell",
  2763. "in": "query",
  2764. "required": true
  2765. }
  2766. ],
  2767. "responses": {
  2768. "200": {
  2769. "description": "OK",
  2770. "schema": {
  2771. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2772. }
  2773. },
  2774. "500": {
  2775. "description": "Internal Server Error",
  2776. "schema": {
  2777. "$ref": "#/definitions/app.Response"
  2778. }
  2779. }
  2780. }
  2781. }
  2782. },
  2783. "/SZDZ/QuerySZDZTradePosition": {
  2784. "get": {
  2785. "security": [
  2786. {
  2787. "ApiKeyAuth": []
  2788. }
  2789. ],
  2790. "produces": [
  2791. "application/json"
  2792. ],
  2793. "tags": [
  2794. "定制【尚志大宗】"
  2795. ],
  2796. "summary": "持仓汇总查询(尚志大宗)",
  2797. "parameters": [
  2798. {
  2799. "type": "integer",
  2800. "description": "资金账户",
  2801. "name": "accountID",
  2802. "in": "query",
  2803. "required": true
  2804. }
  2805. ],
  2806. "responses": {
  2807. "200": {
  2808. "description": "OK",
  2809. "schema": {
  2810. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2811. }
  2812. },
  2813. "500": {
  2814. "description": "Internal Server Error",
  2815. "schema": {
  2816. "$ref": "#/definitions/app.Response"
  2817. }
  2818. }
  2819. }
  2820. }
  2821. },
  2822. "/SZDZ/SearchWhite": {
  2823. "get": {
  2824. "security": [
  2825. {
  2826. "ApiKeyAuth": []
  2827. }
  2828. ],
  2829. "produces": [
  2830. "application/json"
  2831. ],
  2832. "tags": [
  2833. "定制【尚志大宗】"
  2834. ],
  2835. "summary": "搜索白名单",
  2836. "parameters": [
  2837. {
  2838. "type": "integer",
  2839. "description": "用户ID",
  2840. "name": "userID",
  2841. "in": "query",
  2842. "required": true
  2843. }
  2844. ],
  2845. "responses": {
  2846. "200": {
  2847. "description": "OK",
  2848. "schema": {
  2849. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Search/SearchGoodses": {
  2862. "get": {
  2863. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2864. "produces": [
  2865. "application/json"
  2866. ],
  2867. "tags": [
  2868. "检索服务"
  2869. ],
  2870. "summary": "检索商品信息",
  2871. "parameters": [
  2872. {
  2873. "type": "string",
  2874. "description": "检索内容",
  2875. "name": "content",
  2876. "in": "query",
  2877. "required": true
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "$ref": "#/definitions/models.SearchGoods"
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/TaAccount/QueryAmountLog": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "资金账户"
  2908. ],
  2909. "summary": "资金流水查询(当前)",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "页码",
  2914. "name": "page",
  2915. "in": "query"
  2916. },
  2917. {
  2918. "type": "integer",
  2919. "description": "每页条数",
  2920. "name": "pagesize",
  2921. "in": "query"
  2922. },
  2923. {
  2924. "type": "string",
  2925. "description": "资金账户 - 格式:1,2,3",
  2926. "name": "accountID",
  2927. "in": "query",
  2928. "required": true
  2929. },
  2930. {
  2931. "type": "string",
  2932. "description": "资金操作类型 - 格式:1,2,3",
  2933. "name": "OperateType",
  2934. "in": "query"
  2935. }
  2936. ],
  2937. "responses": {
  2938. "200": {
  2939. "description": "OK",
  2940. "schema": {
  2941. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/TaAccount/QueryHisAmountLog": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "资金账户"
  2965. ],
  2966. "summary": "资金流水查询(历史)",
  2967. "parameters": [
  2968. {
  2969. "type": "integer",
  2970. "description": "页码",
  2971. "name": "page",
  2972. "in": "query"
  2973. },
  2974. {
  2975. "type": "integer",
  2976. "description": "每页条数",
  2977. "name": "pagesize",
  2978. "in": "query"
  2979. },
  2980. {
  2981. "type": "string",
  2982. "description": "资金账户 - 格式:1,2,3",
  2983. "name": "accountID",
  2984. "in": "query",
  2985. "required": true
  2986. },
  2987. {
  2988. "type": "string",
  2989. "description": "资金操作类型 - 格式:1,2,3",
  2990. "name": "OperateType",
  2991. "in": "query"
  2992. },
  2993. {
  2994. "type": "string",
  2995. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2996. "name": "startDate",
  2997. "in": "query"
  2998. },
  2999. {
  3000. "type": "string",
  3001. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3002. "name": "endDate",
  3003. "in": "query"
  3004. }
  3005. ],
  3006. "responses": {
  3007. "200": {
  3008. "description": "OK",
  3009. "schema": {
  3010. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3011. }
  3012. },
  3013. "500": {
  3014. "description": "Internal Server Error",
  3015. "schema": {
  3016. "$ref": "#/definitions/app.Response"
  3017. }
  3018. }
  3019. }
  3020. }
  3021. },
  3022. "/Trade/QueryRecieptOrder": {
  3023. "get": {
  3024. "security": [
  3025. {
  3026. "ApiKeyAuth": []
  3027. }
  3028. ],
  3029. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3030. "produces": [
  3031. "application/json"
  3032. ],
  3033. "tags": [
  3034. "通用交易"
  3035. ],
  3036. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3037. "parameters": [
  3038. {
  3039. "type": "integer",
  3040. "description": "页码",
  3041. "name": "page",
  3042. "in": "query"
  3043. },
  3044. {
  3045. "type": "integer",
  3046. "description": "每页条数",
  3047. "name": "pagesize",
  3048. "in": "query"
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "商品ID",
  3053. "name": "goodsID",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "string",
  3059. "description": "所属账户名称",
  3060. "name": "accountName",
  3061. "in": "query"
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "市场ID",
  3066. "name": "marketID",
  3067. "in": "query"
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "方向 - 0:买 1:卖",
  3072. "name": "buyorsell",
  3073. "in": "query",
  3074. "required": true
  3075. }
  3076. ],
  3077. "responses": {
  3078. "200": {
  3079. "description": "OK",
  3080. "schema": {
  3081. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/User/AddMessageBoard": {
  3094. "post": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "produces": [
  3101. "application/json"
  3102. ],
  3103. "tags": [
  3104. "用户信息"
  3105. ],
  3106. "summary": "添加用户留言板信息",
  3107. "parameters": [
  3108. {
  3109. "type": "integer",
  3110. "description": "用户ID",
  3111. "name": "userID",
  3112. "in": "query",
  3113. "required": true
  3114. },
  3115. {
  3116. "type": "string",
  3117. "description": "留言信息",
  3118. "name": "message",
  3119. "in": "query",
  3120. "required": true
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/app.Response"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/User/AddUserFavoriteGoods": {
  3140. "post": {
  3141. "security": [
  3142. {
  3143. "ApiKeyAuth": []
  3144. }
  3145. ],
  3146. "produces": [
  3147. "application/json"
  3148. ],
  3149. "tags": [
  3150. "用户信息"
  3151. ],
  3152. "summary": "添加用户商品收藏信息",
  3153. "parameters": [
  3154. {
  3155. "type": "integer",
  3156. "description": "用户ID",
  3157. "name": "userID",
  3158. "in": "query",
  3159. "required": true
  3160. },
  3161. {
  3162. "type": "integer",
  3163. "description": "商品ID",
  3164. "name": "goodsID",
  3165. "in": "query",
  3166. "required": true
  3167. }
  3168. ],
  3169. "responses": {
  3170. "200": {
  3171. "description": "OK",
  3172. "schema": {
  3173. "$ref": "#/definitions/app.Response"
  3174. }
  3175. },
  3176. "500": {
  3177. "description": "Internal Server Error",
  3178. "schema": {
  3179. "$ref": "#/definitions/app.Response"
  3180. }
  3181. }
  3182. }
  3183. }
  3184. },
  3185. "/User/GetLoginID": {
  3186. "get": {
  3187. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3188. "produces": [
  3189. "application/json"
  3190. ],
  3191. "tags": [
  3192. "用户信息"
  3193. ],
  3194. "summary": "获取登录ID",
  3195. "parameters": [
  3196. {
  3197. "type": "string",
  3198. "description": "登录代码",
  3199. "name": "username",
  3200. "in": "query",
  3201. "required": true
  3202. }
  3203. ],
  3204. "responses": {
  3205. "200": {
  3206. "description": "OK",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. },
  3211. "500": {
  3212. "description": "Internal Server Error",
  3213. "schema": {
  3214. "$ref": "#/definitions/app.Response"
  3215. }
  3216. }
  3217. }
  3218. }
  3219. },
  3220. "/User/GetUserAccount": {
  3221. "get": {
  3222. "security": [
  3223. {
  3224. "ApiKeyAuth": []
  3225. }
  3226. ],
  3227. "produces": [
  3228. "application/json"
  3229. ],
  3230. "tags": [
  3231. "用户信息"
  3232. ],
  3233. "summary": "获取用户账号信息",
  3234. "parameters": [
  3235. {
  3236. "type": "integer",
  3237. "description": "用户ID",
  3238. "name": "userID",
  3239. "in": "query",
  3240. "required": true
  3241. }
  3242. ],
  3243. "responses": {
  3244. "200": {
  3245. "description": "OK",
  3246. "schema": {
  3247. "$ref": "#/definitions/models.Useraccount"
  3248. }
  3249. },
  3250. "500": {
  3251. "description": "Internal Server Error",
  3252. "schema": {
  3253. "$ref": "#/definitions/app.Response"
  3254. }
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/User/GetUserAuthStatus": {
  3260. "get": {
  3261. "security": [
  3262. {
  3263. "ApiKeyAuth": []
  3264. }
  3265. ],
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "用户信息"
  3271. ],
  3272. "summary": "获取用户实名认证状态",
  3273. "parameters": [
  3274. {
  3275. "type": "integer",
  3276. "description": "用户ID",
  3277. "name": "userID",
  3278. "in": "query",
  3279. "required": true
  3280. }
  3281. ],
  3282. "responses": {
  3283. "200": {
  3284. "description": "OK",
  3285. "schema": {
  3286. "$ref": "#/definitions/app.Response"
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/User/QueryMessageBoard": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "用户信息"
  3310. ],
  3311. "summary": "获取用户留言板信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userID",
  3317. "in": "query",
  3318. "required": true
  3319. }
  3320. ],
  3321. "responses": {
  3322. "200": {
  3323. "description": "OK",
  3324. "schema": {
  3325. "$ref": "#/definitions/models.Messageboard"
  3326. }
  3327. },
  3328. "500": {
  3329. "description": "Internal Server Error",
  3330. "schema": {
  3331. "$ref": "#/definitions/app.Response"
  3332. }
  3333. }
  3334. }
  3335. }
  3336. },
  3337. "/User/QueryUserFavoriteGoodses": {
  3338. "get": {
  3339. "security": [
  3340. {
  3341. "ApiKeyAuth": []
  3342. }
  3343. ],
  3344. "produces": [
  3345. "application/json"
  3346. ],
  3347. "tags": [
  3348. "用户信息"
  3349. ],
  3350. "summary": "获取用户商品收藏信息",
  3351. "parameters": [
  3352. {
  3353. "type": "integer",
  3354. "description": "用户ID",
  3355. "name": "userID",
  3356. "in": "query",
  3357. "required": true
  3358. }
  3359. ],
  3360. "responses": {
  3361. "200": {
  3362. "description": "OK",
  3363. "schema": {
  3364. "$ref": "#/definitions/models.Userfavoritegoods"
  3365. }
  3366. },
  3367. "500": {
  3368. "description": "Internal Server Error",
  3369. "schema": {
  3370. "$ref": "#/definitions/app.Response"
  3371. }
  3372. }
  3373. }
  3374. }
  3375. },
  3376. "/User/QueryUserInfo": {
  3377. "get": {
  3378. "security": [
  3379. {
  3380. "ApiKeyAuth": []
  3381. }
  3382. ],
  3383. "produces": [
  3384. "application/json"
  3385. ],
  3386. "tags": [
  3387. "用户信息"
  3388. ],
  3389. "summary": "获取用户信息",
  3390. "parameters": [
  3391. {
  3392. "type": "integer",
  3393. "description": "用户ID",
  3394. "name": "userID",
  3395. "in": "query",
  3396. "required": true
  3397. }
  3398. ],
  3399. "responses": {
  3400. "200": {
  3401. "description": "OK",
  3402. "schema": {
  3403. "$ref": "#/definitions/models.Userinfo"
  3404. }
  3405. },
  3406. "500": {
  3407. "description": "Internal Server Error",
  3408. "schema": {
  3409. "$ref": "#/definitions/app.Response"
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "/User/QueryUserReferNum": {
  3416. "get": {
  3417. "produces": [
  3418. "application/json"
  3419. ],
  3420. "tags": [
  3421. "用户信息"
  3422. ],
  3423. "summary": "获取用户邀请码",
  3424. "parameters": [
  3425. {
  3426. "type": "integer",
  3427. "description": "用户ID",
  3428. "name": "userID",
  3429. "in": "query",
  3430. "required": true
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/User/RemoveUserFavoriteGoods": {
  3450. "post": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "produces": [
  3457. "application/json"
  3458. ],
  3459. "tags": [
  3460. "用户信息"
  3461. ],
  3462. "summary": "移除用户商品收藏信息",
  3463. "parameters": [
  3464. {
  3465. "type": "integer",
  3466. "description": "用户ID",
  3467. "name": "userID",
  3468. "in": "query",
  3469. "required": true
  3470. },
  3471. {
  3472. "type": "integer",
  3473. "description": "商品ID",
  3474. "name": "goodsID",
  3475. "in": "query",
  3476. "required": true
  3477. }
  3478. ],
  3479. "responses": {
  3480. "200": {
  3481. "description": "OK",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. },
  3486. "500": {
  3487. "description": "Internal Server Error",
  3488. "schema": {
  3489. "$ref": "#/definitions/app.Response"
  3490. }
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "/WRTrade/GetAllDeliveryGoods": {
  3496. "get": {
  3497. "security": [
  3498. {
  3499. "ApiKeyAuth": []
  3500. },
  3501. {
  3502. "ApiKeyAuth": []
  3503. }
  3504. ],
  3505. "produces": [
  3506. "application/json",
  3507. "application/json"
  3508. ],
  3509. "tags": [
  3510. "仓单贸易",
  3511. "仓单贸易"
  3512. ],
  3513. "summary": "获取带仓单分类的种类信息",
  3514. "responses": {
  3515. "200": {
  3516. "description": "OK",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. },
  3521. "500": {
  3522. "description": "Internal Server Error",
  3523. "schema": {
  3524. "$ref": "#/definitions/app.Response"
  3525. }
  3526. }
  3527. }
  3528. }
  3529. }
  3530. },
  3531. "definitions": {
  3532. "app.Response": {
  3533. "type": "object",
  3534. "properties": {
  3535. "code": {
  3536. "type": "integer"
  3537. },
  3538. "data": {
  3539. "type": "object"
  3540. },
  3541. "msg": {
  3542. "type": "string"
  3543. },
  3544. "page": {
  3545. "description": "页码",
  3546. "type": "integer"
  3547. },
  3548. "pagesize": {
  3549. "description": "每页条数",
  3550. "type": "integer"
  3551. },
  3552. "total": {
  3553. "description": "总条数",
  3554. "type": "integer"
  3555. }
  3556. }
  3557. },
  3558. "common.QueryNoticeRsp": {
  3559. "type": "object",
  3560. "required": [
  3561. "autoid"
  3562. ],
  3563. "properties": {
  3564. "auditoruserid": {
  3565. "description": "审核人",
  3566. "type": "integer"
  3567. },
  3568. "auditremark": {
  3569. "description": "审核备注",
  3570. "type": "string"
  3571. },
  3572. "audittime": {
  3573. "description": "审核日期",
  3574. "type": "string"
  3575. },
  3576. "autoid": {
  3577. "description": "自增ID",
  3578. "type": "integer"
  3579. },
  3580. "content": {
  3581. "description": "内容",
  3582. "type": "string"
  3583. },
  3584. "createtime": {
  3585. "description": "创建时间",
  3586. "type": "string"
  3587. },
  3588. "creatorid": {
  3589. "description": "建仓人",
  3590. "type": "integer"
  3591. },
  3592. "endtime": {
  3593. "description": "结束时间",
  3594. "type": "string"
  3595. },
  3596. "istop": {
  3597. "description": "是否置顶 - 0:不置顶 1:置顶",
  3598. "type": "integer"
  3599. },
  3600. "msgiconurl": {
  3601. "description": "消息图标Url",
  3602. "type": "string"
  3603. },
  3604. "msgtype": {
  3605. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3606. "type": "integer"
  3607. },
  3608. "publisher": {
  3609. "description": "消息发布者",
  3610. "type": "string"
  3611. },
  3612. "readed": {
  3613. "description": "是否已读",
  3614. "type": "boolean"
  3615. },
  3616. "scheduletime": {
  3617. "description": "计划发送时间",
  3618. "type": "string"
  3619. },
  3620. "sendtype": {
  3621. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3622. "type": "integer"
  3623. },
  3624. "sentstatus": {
  3625. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3626. "type": "integer"
  3627. },
  3628. "title": {
  3629. "description": "标题",
  3630. "type": "string"
  3631. },
  3632. "userid": {
  3633. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3634. "type": "integer"
  3635. }
  3636. }
  3637. },
  3638. "common.QueryProvincesAndCitiesRsp": {
  3639. "type": "object",
  3640. "properties": {
  3641. "cities": {
  3642. "description": "市",
  3643. "type": "array",
  3644. "items": {
  3645. "$ref": "#/definitions/models.Division"
  3646. }
  3647. },
  3648. "province": {
  3649. "description": "省",
  3650. "$ref": "#/definitions/models.Division"
  3651. }
  3652. }
  3653. },
  3654. "common.QueryTableDefineRsp": {
  3655. "type": "object",
  3656. "required": [
  3657. "tablekey"
  3658. ],
  3659. "properties": {
  3660. "columns": {
  3661. "description": "列头信息数组",
  3662. "type": "array",
  3663. "items": {
  3664. "$ref": "#/definitions/models.Tablecolumnconfig"
  3665. }
  3666. },
  3667. "remark": {
  3668. "description": "Remark",
  3669. "type": "string"
  3670. },
  3671. "tabelmenu": {
  3672. "description": "列表菜单",
  3673. "type": "string"
  3674. },
  3675. "tablekey": {
  3676. "description": "列表Key",
  3677. "type": "string"
  3678. },
  3679. "tablename": {
  3680. "description": "列表名称",
  3681. "type": "string"
  3682. },
  3683. "tabletype": {
  3684. "description": "列表类型 - 1:管理端 2:终端",
  3685. "type": "integer"
  3686. }
  3687. }
  3688. },
  3689. "common.QueryTraderMenuRsp": {
  3690. "type": "object",
  3691. "properties": {
  3692. "OperationMenu": {
  3693. "description": "功能菜单",
  3694. "type": "array",
  3695. "items": {
  3696. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3697. }
  3698. },
  3699. "QuoteMenu": {
  3700. "description": "报价牌分类菜单",
  3701. "type": "array",
  3702. "items": {
  3703. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "cptrade.Cptradepositioncancel": {
  3709. "type": "object",
  3710. "required": [
  3711. "cancelid"
  3712. ],
  3713. "properties": {
  3714. "accountid": {
  3715. "description": "申请人账户ID",
  3716. "type": "integer"
  3717. },
  3718. "applystatus": {
  3719. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3720. "type": "integer"
  3721. },
  3722. "applytime": {
  3723. "description": "申请时间",
  3724. "type": "string"
  3725. },
  3726. "cancelid": {
  3727. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3728. "type": "integer"
  3729. },
  3730. "cancelqty": {
  3731. "description": "注销数量",
  3732. "type": "integer"
  3733. },
  3734. "createtime": {
  3735. "description": "创建时间",
  3736. "type": "string"
  3737. },
  3738. "creatorid": {
  3739. "description": "创建人ID",
  3740. "type": "integer"
  3741. },
  3742. "creatorname": {
  3743. "description": "创建人",
  3744. "type": "string"
  3745. },
  3746. "goodscode": {
  3747. "description": "订单商品代码",
  3748. "type": "string"
  3749. },
  3750. "goodsid": {
  3751. "description": "商品ID",
  3752. "type": "integer"
  3753. },
  3754. "goodsname": {
  3755. "description": "订单商品名称",
  3756. "type": "string"
  3757. },
  3758. "goodunit": {
  3759. "description": "报价单位",
  3760. "type": "string"
  3761. },
  3762. "handlestatus": {
  3763. "description": "处理状态",
  3764. "type": "integer"
  3765. },
  3766. "marketid": {
  3767. "description": "市场ID",
  3768. "type": "integer"
  3769. },
  3770. "marketname": {
  3771. "description": "市场名称",
  3772. "type": "string"
  3773. },
  3774. "tradedate": {
  3775. "description": "交易日(yyyyMMdd)",
  3776. "type": "string"
  3777. },
  3778. "userid": {
  3779. "description": "申请人ID",
  3780. "type": "integer"
  3781. }
  3782. }
  3783. },
  3784. "cptrade.Cptradepresaleapply": {
  3785. "type": "object",
  3786. "required": [
  3787. "applyid"
  3788. ],
  3789. "properties": {
  3790. "accountid": {
  3791. "description": "申请人账户ID",
  3792. "type": "integer"
  3793. },
  3794. "applyid": {
  3795. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3796. "type": "integer"
  3797. },
  3798. "applyremark": {
  3799. "description": "申请备注",
  3800. "type": "string"
  3801. },
  3802. "applystatus": {
  3803. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3804. "type": "integer"
  3805. },
  3806. "applytime": {
  3807. "description": "申请时间",
  3808. "type": "string"
  3809. },
  3810. "attachmenturl": {
  3811. "description": "附件地址",
  3812. "type": "string"
  3813. },
  3814. "endtime": {
  3815. "description": "预售结束时间",
  3816. "type": "string"
  3817. },
  3818. "goodscode": {
  3819. "description": "商品代码",
  3820. "type": "string"
  3821. },
  3822. "goodsid": {
  3823. "description": "商品ID",
  3824. "type": "integer"
  3825. },
  3826. "goodsname": {
  3827. "description": "商品名称",
  3828. "type": "string"
  3829. },
  3830. "goodunit": {
  3831. "description": "报价单位",
  3832. "type": "string"
  3833. },
  3834. "handlestatus": {
  3835. "description": "处理状态",
  3836. "type": "integer"
  3837. },
  3838. "marketid": {
  3839. "description": "预售市场ID",
  3840. "type": "integer"
  3841. },
  3842. "marketname": {
  3843. "description": "预售市场名称",
  3844. "type": "string"
  3845. },
  3846. "presaleqty": {
  3847. "description": "预售数量",
  3848. "type": "integer"
  3849. },
  3850. "relatedgoodscode": {
  3851. "description": "关联交易合约代码",
  3852. "type": "string"
  3853. },
  3854. "relatedgoodsid": {
  3855. "description": "关联交易合约ID",
  3856. "type": "integer"
  3857. },
  3858. "relatedgoodsname": {
  3859. "description": "关联交易合约名称",
  3860. "type": "string"
  3861. },
  3862. "starttime": {
  3863. "description": "预售开始时间",
  3864. "type": "string"
  3865. },
  3866. "tradedate": {
  3867. "description": "交易日(yyyyMMdd)",
  3868. "type": "string"
  3869. },
  3870. "trademode": {
  3871. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3872. "type": "integer"
  3873. },
  3874. "userid": {
  3875. "description": "申请人ID",
  3876. "type": "integer"
  3877. }
  3878. }
  3879. },
  3880. "cptrade.Cptradeusergoodsdata": {
  3881. "type": "object",
  3882. "required": [
  3883. "accountid",
  3884. "goodsid"
  3885. ],
  3886. "properties": {
  3887. "EnabledQty": {
  3888. "description": "可用量",
  3889. "type": "integer"
  3890. },
  3891. "GoodsCode": {
  3892. "description": "订单商品代码",
  3893. "type": "string"
  3894. },
  3895. "GoodsName": {
  3896. "description": "订单商品名称",
  3897. "type": "string"
  3898. },
  3899. "WRStandardCode": {
  3900. "description": "仓单标准代码",
  3901. "type": "string"
  3902. },
  3903. "WRStandardName": {
  3904. "description": "仓单标准名称",
  3905. "type": "string"
  3906. },
  3907. "accountid": {
  3908. "description": "账户ID",
  3909. "type": "integer"
  3910. },
  3911. "cancelqty": {
  3912. "description": "注销量",
  3913. "type": "integer"
  3914. },
  3915. "curpresaleqty": {
  3916. "description": "当前预售量",
  3917. "type": "integer"
  3918. },
  3919. "deliveryqty": {
  3920. "description": "交割量",
  3921. "type": "integer"
  3922. },
  3923. "freezeamount": {
  3924. "description": "冻结金额",
  3925. "type": "number"
  3926. },
  3927. "goodsid": {
  3928. "description": "商品ID",
  3929. "type": "integer"
  3930. },
  3931. "goodunit": {
  3932. "description": "报价单位",
  3933. "type": "string"
  3934. },
  3935. "hasspotfreeze": {
  3936. "description": "是否有现货冻结 - 0:否 1:有",
  3937. "type": "integer"
  3938. },
  3939. "inqty": {
  3940. "description": "转入量(总数量)",
  3941. "type": "integer"
  3942. },
  3943. "marketid": {
  3944. "description": "市场ID",
  3945. "type": "integer"
  3946. },
  3947. "presaledamount": {
  3948. "description": "已预售总金额",
  3949. "type": "integer"
  3950. },
  3951. "presaledqty": {
  3952. "description": "已预售量",
  3953. "type": "integer"
  3954. },
  3955. "userid": {
  3956. "description": "用户ID",
  3957. "type": "integer"
  3958. },
  3959. "wrstandardid": {
  3960. "description": "仓单标准ID",
  3961. "type": "integer"
  3962. }
  3963. }
  3964. },
  3965. "cptrade.QueryCPTradeMyBidRsp": {
  3966. "type": "object",
  3967. "required": [
  3968. "accountid",
  3969. "goodsid",
  3970. "marketid",
  3971. "orderid",
  3972. "orderqty",
  3973. "ordertime",
  3974. "tradeprice",
  3975. "tradeqty"
  3976. ],
  3977. "properties": {
  3978. "accountid": {
  3979. "description": "账户ID[报价币种]",
  3980. "type": "integer"
  3981. },
  3982. "goodsid": {
  3983. "description": "商品ID",
  3984. "type": "integer"
  3985. },
  3986. "goodunit": {
  3987. "description": "报价单位",
  3988. "type": "string"
  3989. },
  3990. "marketid": {
  3991. "description": "市场ID",
  3992. "type": "integer"
  3993. },
  3994. "orderid": {
  3995. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3996. "type": "integer"
  3997. },
  3998. "orderprice": {
  3999. "description": "委托价格",
  4000. "type": "number"
  4001. },
  4002. "orderqty": {
  4003. "description": "委托数量",
  4004. "type": "integer"
  4005. },
  4006. "ordertime": {
  4007. "description": "委托时间",
  4008. "type": "string"
  4009. },
  4010. "ordertotalprice": {
  4011. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4012. "type": "number"
  4013. },
  4014. "ordertotalweight": {
  4015. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4016. "type": "integer"
  4017. },
  4018. "totaltotalprice": {
  4019. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4020. "type": "number"
  4021. },
  4022. "tradeprice": {
  4023. "description": "成交价格",
  4024. "type": "number"
  4025. },
  4026. "tradeqty": {
  4027. "description": "成交数量",
  4028. "type": "integer"
  4029. }
  4030. }
  4031. },
  4032. "cptrade.QueryCPTradeOrderDetailRsq": {
  4033. "type": "object",
  4034. "required": [
  4035. "accountid",
  4036. "buildtype",
  4037. "buyorsell",
  4038. "goodsid",
  4039. "marketid",
  4040. "memberuserid",
  4041. "operatetype",
  4042. "orderqty",
  4043. "ordertime",
  4044. "pricemode",
  4045. "strorderid",
  4046. "tradedate",
  4047. "validtype"
  4048. ],
  4049. "properties": {
  4050. "accountid": {
  4051. "description": "账户ID[报价币种]",
  4052. "type": "integer"
  4053. },
  4054. "buildtype": {
  4055. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4056. "type": "integer"
  4057. },
  4058. "buyorsell": {
  4059. "description": "买卖 - 0:买 1:卖",
  4060. "type": "integer"
  4061. },
  4062. "cancelorderid": {
  4063. "description": "撤单单号(撤单时填写)",
  4064. "type": "integer"
  4065. },
  4066. "cancelqty": {
  4067. "description": "撤单数量",
  4068. "type": "integer"
  4069. },
  4070. "clientordertime": {
  4071. "description": "客户端委托时间",
  4072. "type": "string"
  4073. },
  4074. "clientticket": {
  4075. "description": "客户端流水号",
  4076. "type": "string"
  4077. },
  4078. "clienttype": {
  4079. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4080. "type": "integer"
  4081. },
  4082. "closeexchagechargevalue": {
  4083. "description": "平仓交易所手续费设置值",
  4084. "type": "number"
  4085. },
  4086. "closefeealgorithm": {
  4087. "description": "平仓手续费收取方式 1:比率 2:固定",
  4088. "type": "integer"
  4089. },
  4090. "closefreezecharge": {
  4091. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4092. "type": "number"
  4093. },
  4094. "closememberchargevalue": {
  4095. "description": "平仓会员手续费设置值",
  4096. "type": "number"
  4097. },
  4098. "closeqty": {
  4099. "description": "平仓数量(先建后平操作 需要记录)",
  4100. "type": "integer"
  4101. },
  4102. "closetradeqty": {
  4103. "description": "平仓成交数量(先建后平操作,需要记录)",
  4104. "type": "integer"
  4105. },
  4106. "closeunfreezecharge": {
  4107. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4108. "type": "number"
  4109. },
  4110. "delistingtype": {
  4111. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4112. "type": "integer"
  4113. },
  4114. "freezecharge": {
  4115. "description": "冻结手续费",
  4116. "type": "number"
  4117. },
  4118. "freezemargin": {
  4119. "description": "冻结保证金(冻结交易金额)",
  4120. "type": "number"
  4121. },
  4122. "gcaccountid": {
  4123. "description": "账户ID[合约币种]",
  4124. "type": "integer"
  4125. },
  4126. "goodsid": {
  4127. "description": "商品ID",
  4128. "type": "integer"
  4129. },
  4130. "isconfirmexercise": {
  4131. "description": "是否确认行权- 0:否 1:是",
  4132. "type": "integer"
  4133. },
  4134. "ispreexercise": {
  4135. "description": "是否预申报- 0:否 1:是",
  4136. "type": "integer"
  4137. },
  4138. "listingselecttype": {
  4139. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4140. "type": "integer"
  4141. },
  4142. "marginalgorithm": {
  4143. "description": "保证金收取方式 1:比率 2:固定",
  4144. "type": "integer"
  4145. },
  4146. "marginvalue": {
  4147. "description": "即市保证金设置值",
  4148. "type": "number"
  4149. },
  4150. "marketid": {
  4151. "description": "市场ID",
  4152. "type": "integer"
  4153. },
  4154. "marketmaxsub": {
  4155. "description": "市价最大偏移范围",
  4156. "type": "number"
  4157. },
  4158. "memberuserid": {
  4159. "description": "所属会员UserID",
  4160. "type": "integer"
  4161. },
  4162. "openexchagechargevalue": {
  4163. "description": "建仓交易所手续费设置值",
  4164. "type": "number"
  4165. },
  4166. "openfeealgorithm": {
  4167. "description": "建仓手续费收取方式 1:比率 2:固定",
  4168. "type": "integer"
  4169. },
  4170. "openfreezecharge": {
  4171. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4172. "type": "number"
  4173. },
  4174. "openmemberchargevalue": {
  4175. "description": "建仓会员手续费设置值",
  4176. "type": "number"
  4177. },
  4178. "openqty": {
  4179. "description": "开仓数量(先建后平操作,需要记录)",
  4180. "type": "integer"
  4181. },
  4182. "opentradeqty": {
  4183. "description": "开仓成交数量(先建后平操作,需要记录)",
  4184. "type": "integer"
  4185. },
  4186. "openunfreezecharge": {
  4187. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4188. "type": "number"
  4189. },
  4190. "operatetype": {
  4191. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4192. "type": "integer"
  4193. },
  4194. "operatorid": {
  4195. "description": "登录账号(LoginID)",
  4196. "type": "integer"
  4197. },
  4198. "optiontype": {
  4199. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4200. "type": "integer"
  4201. },
  4202. "orderprice": {
  4203. "description": "委托价格",
  4204. "type": "number"
  4205. },
  4206. "orderqty": {
  4207. "description": "委托数量",
  4208. "type": "integer"
  4209. },
  4210. "ordersrc": {
  4211. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4212. "type": "integer"
  4213. },
  4214. "orderstatus": {
  4215. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4216. "type": "integer"
  4217. },
  4218. "ordertime": {
  4219. "description": "委托时间",
  4220. "type": "string"
  4221. },
  4222. "preexerciseprice": {
  4223. "description": "预申报价格",
  4224. "type": "number"
  4225. },
  4226. "premium": {
  4227. "description": "权利金",
  4228. "type": "number"
  4229. },
  4230. "preorderid": {
  4231. "description": "关联预埋单号(止盈止损单时填写)",
  4232. "type": "integer"
  4233. },
  4234. "pricemode": {
  4235. "description": "取价方式 - 1:市价 2: 限价",
  4236. "type": "integer"
  4237. },
  4238. "quoteid": {
  4239. "description": "报价单ID",
  4240. "type": "integer"
  4241. },
  4242. "relatedid": {
  4243. "description": "关联单号(交割单)",
  4244. "type": "integer"
  4245. },
  4246. "retcode": {
  4247. "description": "错误代码",
  4248. "type": "integer"
  4249. },
  4250. "sessionid": {
  4251. "description": "会话ID",
  4252. "type": "integer"
  4253. },
  4254. "strorderid": {
  4255. "description": "委托单号",
  4256. "type": "string"
  4257. },
  4258. "tradedate": {
  4259. "description": "交易日(yyyyMMdd)",
  4260. "type": "string"
  4261. },
  4262. "tradeproperty": {
  4263. "description": "交易属性",
  4264. "type": "integer"
  4265. },
  4266. "tradeqty": {
  4267. "description": "成交数量",
  4268. "type": "integer"
  4269. },
  4270. "unfreezecharge": {
  4271. "description": "解冻手续费",
  4272. "type": "number"
  4273. },
  4274. "unfreezemargin": {
  4275. "description": "解冻保证金",
  4276. "type": "number"
  4277. },
  4278. "updatetime": {
  4279. "description": "更新时间",
  4280. "type": "string"
  4281. },
  4282. "uuid": {
  4283. "description": "发起端唯一id",
  4284. "type": "string"
  4285. },
  4286. "validtime": {
  4287. "description": "有效期限",
  4288. "type": "string"
  4289. },
  4290. "validtype": {
  4291. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4292. "type": "integer"
  4293. },
  4294. "volumetype": {
  4295. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4296. "type": "integer"
  4297. }
  4298. }
  4299. },
  4300. "cptrade.QueryMyCPTradeGoodsRsp": {
  4301. "type": "object",
  4302. "required": [
  4303. "goodscode",
  4304. "goodsid",
  4305. "goodsname",
  4306. "marketid",
  4307. "relatedgoodscode",
  4308. "relatedgoodsname"
  4309. ],
  4310. "properties": {
  4311. "accountid": {
  4312. "description": "卖方账户ID",
  4313. "type": "integer"
  4314. },
  4315. "agreeunit": {
  4316. "description": "合约单位",
  4317. "type": "number"
  4318. },
  4319. "applyid": {
  4320. "description": "关联申请ID",
  4321. "type": "integer"
  4322. },
  4323. "attachmenturl": {
  4324. "description": "附件地址",
  4325. "type": "string"
  4326. },
  4327. "createtime": {
  4328. "description": "创建时间",
  4329. "type": "string"
  4330. },
  4331. "currencyid": {
  4332. "description": "报价货币ID",
  4333. "type": "integer"
  4334. },
  4335. "decimalplace": {
  4336. "description": "报价小数位",
  4337. "type": "integer"
  4338. },
  4339. "endtime": {
  4340. "description": "预售结束时间",
  4341. "type": "string"
  4342. },
  4343. "floorprice": {
  4344. "description": "底价[大宗式竞拍]",
  4345. "type": "number"
  4346. },
  4347. "goodscode": {
  4348. "description": "商品代码(预售)",
  4349. "type": "string"
  4350. },
  4351. "goodsdetail": {
  4352. "description": "详情[大宗]",
  4353. "type": "string"
  4354. },
  4355. "goodsid": {
  4356. "description": "商品ID(自增ID SEQ_GOODS)",
  4357. "type": "integer"
  4358. },
  4359. "goodsname": {
  4360. "description": "商品名称(预售)",
  4361. "type": "string"
  4362. },
  4363. "goodunit": {
  4364. "description": "报价单位",
  4365. "type": "string"
  4366. },
  4367. "goodunitid": {
  4368. "description": "报价单位ID",
  4369. "type": "integer"
  4370. },
  4371. "marketid": {
  4372. "description": "所属市场ID",
  4373. "type": "integer"
  4374. },
  4375. "marketname": {
  4376. "description": "预售市场名称",
  4377. "type": "string"
  4378. },
  4379. "presaledamount": {
  4380. "description": "已预售总金额(预售结束时更新)",
  4381. "type": "number"
  4382. },
  4383. "presaledqty": {
  4384. "description": "已预售量(预售结束时更新)",
  4385. "type": "integer"
  4386. },
  4387. "presalemode": {
  4388. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4389. "type": "integer"
  4390. },
  4391. "presaleqty": {
  4392. "description": "预售数量",
  4393. "type": "integer"
  4394. },
  4395. "refprice": {
  4396. "description": "参考价格[一口价]",
  4397. "type": "number"
  4398. },
  4399. "relatedgoodscode": {
  4400. "description": "商品代码(订单)",
  4401. "type": "string"
  4402. },
  4403. "relatedgoodsid": {
  4404. "description": "关联交易合约ID",
  4405. "type": "integer"
  4406. },
  4407. "relatedgoodsname": {
  4408. "description": "商品名称(订单)",
  4409. "type": "string"
  4410. },
  4411. "relatedmarketid": {
  4412. "description": "关联交易合约市场ID",
  4413. "type": "integer"
  4414. },
  4415. "sellstatus": {
  4416. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4417. "type": "integer"
  4418. },
  4419. "startprice": {
  4420. "description": "起拍价[大宗式竞拍]",
  4421. "type": "number"
  4422. },
  4423. "starttime": {
  4424. "description": "预售开始时间",
  4425. "type": "string"
  4426. },
  4427. "tradedate": {
  4428. "description": "交易日(yyyyMMdd)",
  4429. "type": "string"
  4430. },
  4431. "tradeprice": {
  4432. "description": "成交价[大宗]",
  4433. "type": "number"
  4434. },
  4435. "userid": {
  4436. "description": "卖方用户ID",
  4437. "type": "integer"
  4438. }
  4439. }
  4440. },
  4441. "cptrade.QueryPresaleGoodsExRsp": {
  4442. "type": "object",
  4443. "required": [
  4444. "goodsid"
  4445. ],
  4446. "properties": {
  4447. "attachmenturl": {
  4448. "description": "附件地址",
  4449. "type": "string"
  4450. },
  4451. "createtime": {
  4452. "description": "创建时间",
  4453. "type": "string"
  4454. },
  4455. "endtime": {
  4456. "description": "预售结束时间",
  4457. "type": "string"
  4458. },
  4459. "floorprice": {
  4460. "description": "底价[大宗式竞拍]",
  4461. "type": "number"
  4462. },
  4463. "goodsdetail": {
  4464. "description": "详情[大宗]",
  4465. "type": "string"
  4466. },
  4467. "goodsid": {
  4468. "description": "商品ID(预售)",
  4469. "type": "integer"
  4470. },
  4471. "goodunit": {
  4472. "description": "报价单位",
  4473. "type": "string"
  4474. },
  4475. "marketid": {
  4476. "description": "预售市场ID - 根据预售模式选择市场",
  4477. "type": "integer"
  4478. },
  4479. "presaledamount": {
  4480. "description": "已预售总金额(预售结束时更新)",
  4481. "type": "number"
  4482. },
  4483. "presaledqty": {
  4484. "description": "已预售量(预售结束时更新)",
  4485. "type": "integer"
  4486. },
  4487. "presalemode": {
  4488. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4489. "type": "integer"
  4490. },
  4491. "presaleqty": {
  4492. "description": "预售数量",
  4493. "type": "integer"
  4494. },
  4495. "refprice": {
  4496. "description": "参考价格[一口价]",
  4497. "type": "number"
  4498. },
  4499. "relatedgoodsid": {
  4500. "description": "关联交易合约ID",
  4501. "type": "integer"
  4502. },
  4503. "relatedmarketid": {
  4504. "description": "关联交易合约市场ID",
  4505. "type": "integer"
  4506. },
  4507. "sellstatus": {
  4508. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4509. "type": "integer"
  4510. },
  4511. "startprice": {
  4512. "description": "起拍价[大宗式竞拍]",
  4513. "type": "number"
  4514. },
  4515. "starttime": {
  4516. "description": "预售开始时间",
  4517. "type": "string"
  4518. },
  4519. "tradedate": {
  4520. "description": "交易日(yyyyMMdd)",
  4521. "type": "string"
  4522. },
  4523. "tradeprice": {
  4524. "description": "成交价[大宗]",
  4525. "type": "number"
  4526. }
  4527. }
  4528. },
  4529. "delivery.QueryDeliveryRelationRsp": {
  4530. "type": "object",
  4531. "required": [
  4532. "begindate",
  4533. "enddate",
  4534. "goodsid",
  4535. "mindeliveryqty",
  4536. "xdeliveryratio"
  4537. ],
  4538. "properties": {
  4539. "begindate": {
  4540. "description": "起始日期(yyyyMMdd)",
  4541. "type": "string"
  4542. },
  4543. "buytemplateid": {
  4544. "description": "买履约计划模板ID",
  4545. "type": "integer"
  4546. },
  4547. "deliverygoodscode": {
  4548. "description": "品种代码",
  4549. "type": "string"
  4550. },
  4551. "deliverygoodsid": {
  4552. "description": "交割商品",
  4553. "type": "integer"
  4554. },
  4555. "deliverygoodsname": {
  4556. "description": "品种名称",
  4557. "type": "string"
  4558. },
  4559. "deliverymode": {
  4560. "description": "交割方式 - 1:点选式 2:申报式",
  4561. "type": "integer"
  4562. },
  4563. "deliverypricerule": {
  4564. "description": "交割价规则- 1:行情价 2:建仓价",
  4565. "type": "integer"
  4566. },
  4567. "deliverytype": {
  4568. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4569. "type": "integer"
  4570. },
  4571. "enddate": {
  4572. "description": "结束日期(yyyyMMdd)",
  4573. "type": "string"
  4574. },
  4575. "goodscode": {
  4576. "description": "商品代码",
  4577. "type": "string"
  4578. },
  4579. "goodsid": {
  4580. "description": "交易合约ID",
  4581. "type": "integer"
  4582. },
  4583. "goodsname": {
  4584. "description": "商品名称",
  4585. "type": "string"
  4586. },
  4587. "marketid": {
  4588. "description": "市场ID",
  4589. "type": "integer"
  4590. },
  4591. "mindeliveryqty": {
  4592. "description": "最小交割系数(K)",
  4593. "type": "integer"
  4594. },
  4595. "p2deliveryprice": {
  4596. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4597. "type": "number"
  4598. },
  4599. "p2deliveryratio": {
  4600. "description": "P2合约系数(p)",
  4601. "type": "integer"
  4602. },
  4603. "p2goodsid": {
  4604. "description": "P2合约ID",
  4605. "type": "integer"
  4606. },
  4607. "p2pricemode": {
  4608. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4609. "type": "integer"
  4610. },
  4611. "pdeliveryprice": {
  4612. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4613. "type": "number"
  4614. },
  4615. "pdeliveryratio": {
  4616. "description": "P合约系数(n)",
  4617. "type": "integer"
  4618. },
  4619. "pgoodsid": {
  4620. "description": "P合约ID",
  4621. "type": "integer"
  4622. },
  4623. "ppricemode": {
  4624. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4625. "type": "integer"
  4626. },
  4627. "rratio": {
  4628. "description": "兑换系数(R)",
  4629. "type": "integer"
  4630. },
  4631. "rratio1": {
  4632. "description": "兑换系数(交易合约)(R1)",
  4633. "type": "integer"
  4634. },
  4635. "rratio2": {
  4636. "description": "兑换系数(仓单标准)(R2)",
  4637. "type": "integer"
  4638. },
  4639. "selltemplateid": {
  4640. "description": "卖履约计划模板ID",
  4641. "type": "integer"
  4642. },
  4643. "wrstandardid": {
  4644. "description": "仓单标准ID",
  4645. "type": "integer"
  4646. },
  4647. "xdeliveryratio": {
  4648. "description": "交易合约系数(m)",
  4649. "type": "integer"
  4650. }
  4651. }
  4652. },
  4653. "erms2.QueryArbitrageStrategyRsp": {
  4654. "type": "object",
  4655. "required": [
  4656. "asapplyid"
  4657. ],
  4658. "properties": {
  4659. "applybasis": {
  4660. "description": "申请基差",
  4661. "type": "number"
  4662. },
  4663. "asapplyid": {
  4664. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4665. "type": "string"
  4666. },
  4667. "asname": {
  4668. "description": "策略名称",
  4669. "type": "string"
  4670. },
  4671. "asno": {
  4672. "description": "策略编号",
  4673. "type": "string"
  4674. },
  4675. "basischangepl": {
  4676. "description": "基差变动损益[结算更新]",
  4677. "type": "number"
  4678. },
  4679. "biztype": {
  4680. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4681. "type": "integer"
  4682. },
  4683. "closetradedate": {
  4684. "description": "完结交易日(yyyyMMdd)",
  4685. "type": "string"
  4686. },
  4687. "curbasis": {
  4688. "description": "当前基差[结算更新]",
  4689. "type": "number"
  4690. },
  4691. "deliverygoodsid": {
  4692. "description": "现货品种ID",
  4693. "type": "integer"
  4694. },
  4695. "futureavgprice": {
  4696. "description": "期货建仓均价",
  4697. "type": "number"
  4698. },
  4699. "futurecloseamount": {
  4700. "description": "期货平仓金额",
  4701. "type": "number"
  4702. },
  4703. "futurecloseqty": {
  4704. "description": "期货平仓数量",
  4705. "type": "number"
  4706. },
  4707. "futureopenamount": {
  4708. "description": "期货开仓金额",
  4709. "type": "number"
  4710. },
  4711. "futureopenqty": {
  4712. "description": "期货开仓数量",
  4713. "type": "number"
  4714. },
  4715. "futurepl": {
  4716. "description": "期货总盈亏[结算更新]",
  4717. "type": "number"
  4718. },
  4719. "futureqty": {
  4720. "description": "期货持仓数量",
  4721. "type": "number"
  4722. },
  4723. "futurequote": {
  4724. "description": "期货额度",
  4725. "type": "number"
  4726. },
  4727. "goodsgroupid": {
  4728. "description": "期货品种ID",
  4729. "type": "integer"
  4730. },
  4731. "marketid": {
  4732. "description": "市场ID",
  4733. "type": "integer"
  4734. },
  4735. "netexposure": {
  4736. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4737. "type": "number"
  4738. },
  4739. "netexposurepl": {
  4740. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4741. "type": "number"
  4742. },
  4743. "netexposurerate": {
  4744. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4745. "type": "number"
  4746. },
  4747. "openbasis": {
  4748. "description": "建仓基差",
  4749. "type": "number"
  4750. },
  4751. "pricedspotqty": {
  4752. "description": "已定价现货数量",
  4753. "type": "number"
  4754. },
  4755. "pricedspotqtynotax": {
  4756. "description": "已定价现货不含税数量",
  4757. "type": "number"
  4758. },
  4759. "remark": {
  4760. "description": "备注",
  4761. "type": "string"
  4762. },
  4763. "spotavgprice": {
  4764. "description": "现货均价",
  4765. "type": "number"
  4766. },
  4767. "spotbuyamount": {
  4768. "description": "现货采购金额",
  4769. "type": "number"
  4770. },
  4771. "spotbuyqty": {
  4772. "description": "现货采购数量",
  4773. "type": "number"
  4774. },
  4775. "spotpl": {
  4776. "description": "现货总盈亏[结算更新]",
  4777. "type": "number"
  4778. },
  4779. "spotquota": {
  4780. "description": "现货额度",
  4781. "type": "number"
  4782. },
  4783. "spotsellamount": {
  4784. "description": "现货销售金额",
  4785. "type": "number"
  4786. },
  4787. "spotsellqty": {
  4788. "description": "现货销售数量",
  4789. "type": "number"
  4790. },
  4791. "spotusedquota": {
  4792. "description": "现货占用资金",
  4793. "type": "number"
  4794. },
  4795. "strategystatus": {
  4796. "description": "策略状态 - 0:未结束 1:已结束",
  4797. "type": "integer"
  4798. },
  4799. "totalpl": {
  4800. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4801. "type": "number"
  4802. },
  4803. "tradedate": {
  4804. "description": "交易日(yyyyMMdd)",
  4805. "type": "string"
  4806. },
  4807. "updatetime": {
  4808. "description": "更新时间",
  4809. "type": "string"
  4810. },
  4811. "usedquota": {
  4812. "description": "已占用资金",
  4813. "type": "number"
  4814. },
  4815. "userid": {
  4816. "description": "所属机构",
  4817. "type": "integer"
  4818. }
  4819. }
  4820. },
  4821. "erms2.QueryInnerTradeDetailRsp": {
  4822. "type": "object",
  4823. "required": [
  4824. "asapplyid",
  4825. "buyorsell",
  4826. "goodscode",
  4827. "goodsgroupid",
  4828. "goodsgroupname",
  4829. "goodsname",
  4830. "tradeid"
  4831. ],
  4832. "properties": {
  4833. "accountid": {
  4834. "description": "账号ID",
  4835. "type": "integer"
  4836. },
  4837. "agreeunit": {
  4838. "description": "合约单位",
  4839. "type": "number"
  4840. },
  4841. "asapplyid": {
  4842. "description": "策略申请ID",
  4843. "type": "integer"
  4844. },
  4845. "asname": {
  4846. "description": "策略名称",
  4847. "type": "string"
  4848. },
  4849. "asno": {
  4850. "description": "策略编号",
  4851. "type": "string"
  4852. },
  4853. "buyorsell": {
  4854. "description": "方向 - 0:买 1:卖",
  4855. "type": "integer"
  4856. },
  4857. "channelbuildtype": {
  4858. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4859. "type": "integer"
  4860. },
  4861. "closetype": {
  4862. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4863. "type": "integer"
  4864. },
  4865. "decimalplace": {
  4866. "description": "报价小数位",
  4867. "type": "integer"
  4868. },
  4869. "detailtype": {
  4870. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4871. "type": "integer"
  4872. },
  4873. "exexchangecode": {
  4874. "description": "外部交易所代码",
  4875. "type": "string"
  4876. },
  4877. "exexchangename": {
  4878. "description": "外部交易所名称",
  4879. "type": "string"
  4880. },
  4881. "goodscode": {
  4882. "description": "商品代码(合约)",
  4883. "type": "string"
  4884. },
  4885. "goodsgroupid": {
  4886. "description": "商品组ID(品种ID)",
  4887. "type": "integer"
  4888. },
  4889. "goodsgroupname": {
  4890. "description": "商品组名称(品种)",
  4891. "type": "string"
  4892. },
  4893. "goodsid": {
  4894. "description": "商品ID",
  4895. "type": "integer"
  4896. },
  4897. "goodsname": {
  4898. "description": "商品名称(合约)",
  4899. "type": "string"
  4900. },
  4901. "goodunit": {
  4902. "description": "报价单位",
  4903. "type": "string"
  4904. },
  4905. "marketid": {
  4906. "description": "市场ID",
  4907. "type": "integer"
  4908. },
  4909. "orderid": {
  4910. "description": "委托单号",
  4911. "type": "string"
  4912. },
  4913. "outgoodscode": {
  4914. "description": "商品代码(外部)",
  4915. "type": "string"
  4916. },
  4917. "relatedouttradeid": {
  4918. "description": "关联外部成交单ID",
  4919. "type": "string"
  4920. },
  4921. "remark": {
  4922. "description": "备注",
  4923. "type": "string"
  4924. },
  4925. "spotcontractid": {
  4926. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4927. "type": "integer"
  4928. },
  4929. "spotcontractno": {
  4930. "description": "现货合同编号",
  4931. "type": "string"
  4932. },
  4933. "tradeid": {
  4934. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4935. "type": "string"
  4936. },
  4937. "tradeprice": {
  4938. "description": "成交价格",
  4939. "type": "number"
  4940. },
  4941. "tradeqty": {
  4942. "description": "成交数量",
  4943. "type": "integer"
  4944. },
  4945. "tradetime": {
  4946. "description": "成交时间",
  4947. "type": "string"
  4948. },
  4949. "updatetime": {
  4950. "description": "更新时间",
  4951. "type": "string"
  4952. }
  4953. }
  4954. },
  4955. "erms2.QuerySpotContractRsp": {
  4956. "type": "object",
  4957. "required": [
  4958. "spotcontractid"
  4959. ],
  4960. "properties": {
  4961. "accountid": {
  4962. "description": "资金账户ID",
  4963. "type": "integer"
  4964. },
  4965. "areauserid": {
  4966. "description": "所属机构",
  4967. "type": "integer"
  4968. },
  4969. "closedate": {
  4970. "description": "终止日期",
  4971. "type": "string"
  4972. },
  4973. "closeremark": {
  4974. "description": "结束备注",
  4975. "type": "string"
  4976. },
  4977. "closetradedate": {
  4978. "description": "完结交易日(yyyyMMdd)",
  4979. "type": "string"
  4980. },
  4981. "closetype": {
  4982. "description": "终止类型 - 1:违约 2:提前终止",
  4983. "type": "integer"
  4984. },
  4985. "contractamount": {
  4986. "description": "合同金额",
  4987. "type": "number"
  4988. },
  4989. "contractattachment": {
  4990. "description": "合同附件",
  4991. "type": "string"
  4992. },
  4993. "contractno": {
  4994. "description": "现货合同编号",
  4995. "type": "string"
  4996. },
  4997. "contractqty": {
  4998. "description": "合同数量(数值) (用于计算)",
  4999. "type": "number"
  5000. },
  5001. "contractqtychar": {
  5002. "description": "合同数量\\已订价数量 (用于显示)",
  5003. "type": "string"
  5004. },
  5005. "contractstatus": {
  5006. "description": "合同状态 - 0:未结束 1:已结束",
  5007. "type": "integer"
  5008. },
  5009. "contracttype": {
  5010. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5011. "type": "integer"
  5012. },
  5013. "customeraccountid": {
  5014. "description": "客户资金账户ID",
  5015. "type": "integer"
  5016. },
  5017. "customeruserid": {
  5018. "description": "客户ID",
  5019. "type": "integer"
  5020. },
  5021. "deliverygoodsdesc": {
  5022. "description": "品种说明",
  5023. "type": "string"
  5024. },
  5025. "deliverygoodsid": {
  5026. "description": "现货品种ID",
  5027. "type": "integer"
  5028. },
  5029. "handlestatus": {
  5030. "description": "处理状态",
  5031. "type": "integer"
  5032. },
  5033. "invoiceatt": {
  5034. "description": "发票附件",
  5035. "type": "string"
  5036. },
  5037. "invoicedatetime": {
  5038. "description": "开收票更新时间",
  5039. "type": "string"
  5040. },
  5041. "invoiceopentime": {
  5042. "description": "开票时间",
  5043. "type": "string"
  5044. },
  5045. "invoiceremark": {
  5046. "description": "发票备注",
  5047. "type": "string"
  5048. },
  5049. "invoicestatus": {
  5050. "description": "开收票状态 - 0:未开票 1:已开票",
  5051. "type": "integer"
  5052. },
  5053. "lastdate": {
  5054. "description": "交货时间",
  5055. "type": "string"
  5056. },
  5057. "marketid": {
  5058. "description": "市场ID",
  5059. "type": "integer"
  5060. },
  5061. "paydatetime": {
  5062. "description": "收付款更新时间",
  5063. "type": "string"
  5064. },
  5065. "payremark": {
  5066. "description": "收付款备注",
  5067. "type": "string"
  5068. },
  5069. "paystatus": {
  5070. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5071. "type": "integer"
  5072. },
  5073. "positionqty": {
  5074. "description": "头寸数量 - 合同数量去小数部分",
  5075. "type": "integer"
  5076. },
  5077. "producttype": {
  5078. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5079. "type": "integer"
  5080. },
  5081. "relatedqty": {
  5082. "description": "已关联数量",
  5083. "type": "number"
  5084. },
  5085. "relatedstatus": {
  5086. "description": "关联完结状态 - 0:未结束 1:已结束",
  5087. "type": "integer"
  5088. },
  5089. "remark": {
  5090. "description": "备注",
  5091. "type": "string"
  5092. },
  5093. "signdate": {
  5094. "description": "签订日期",
  5095. "type": "string"
  5096. },
  5097. "spotcontractid": {
  5098. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5099. "type": "string"
  5100. },
  5101. "spotdatetime": {
  5102. "description": "收发货更新时间",
  5103. "type": "string"
  5104. },
  5105. "spotprice": {
  5106. "description": "价格",
  5107. "type": "number"
  5108. },
  5109. "spotremark": {
  5110. "description": "收发货备注",
  5111. "type": "string"
  5112. },
  5113. "spotstatus": {
  5114. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5115. "type": "integer"
  5116. },
  5117. "tradedate": {
  5118. "description": "交易日(yyyyMMdd)",
  5119. "type": "string"
  5120. },
  5121. "userid": {
  5122. "description": "业务员用户ID",
  5123. "type": "integer"
  5124. },
  5125. "warehouseid": {
  5126. "description": "仓库ID",
  5127. "type": "integer"
  5128. },
  5129. "wrfactortypeid": {
  5130. "description": "仓单要素类型ID",
  5131. "type": "integer"
  5132. },
  5133. "wrstandardid": {
  5134. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5135. "type": "integer"
  5136. }
  5137. }
  5138. },
  5139. "erms3.AddErms2ASApplyReq": {
  5140. "type": "object",
  5141. "required": [
  5142. "asapplyid"
  5143. ],
  5144. "properties": {
  5145. "applybasis": {
  5146. "description": "申请基差",
  5147. "type": "number"
  5148. },
  5149. "applystatus": {
  5150. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5151. "type": "integer"
  5152. },
  5153. "asapplyid": {
  5154. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5155. "type": "integer"
  5156. },
  5157. "asname": {
  5158. "description": "策略名称",
  5159. "type": "string"
  5160. },
  5161. "asno": {
  5162. "description": "策略编号",
  5163. "type": "string"
  5164. },
  5165. "auditid": {
  5166. "description": "审核人",
  5167. "type": "integer"
  5168. },
  5169. "auditremark": {
  5170. "description": "审核备注",
  5171. "type": "string"
  5172. },
  5173. "audittime": {
  5174. "description": "审核时间",
  5175. "type": "string"
  5176. },
  5177. "biztype": {
  5178. "description": "业务类型 - 1:正向套利 2:反向套利",
  5179. "type": "integer"
  5180. },
  5181. "createtime": {
  5182. "description": "创建时间",
  5183. "type": "string"
  5184. },
  5185. "creatorid": {
  5186. "description": "创建人",
  5187. "type": "integer"
  5188. },
  5189. "deliverygoodsid": {
  5190. "description": "现货品种ID",
  5191. "type": "integer"
  5192. },
  5193. "futurequote": {
  5194. "description": "期货额度",
  5195. "type": "number"
  5196. },
  5197. "goodsgroupid": {
  5198. "description": "期货品种ID",
  5199. "type": "integer"
  5200. },
  5201. "marketid": {
  5202. "description": "市场ID",
  5203. "type": "integer"
  5204. },
  5205. "remark": {
  5206. "description": "备注",
  5207. "type": "string"
  5208. },
  5209. "spotquota": {
  5210. "description": "现货额度",
  5211. "type": "number"
  5212. },
  5213. "tradedate": {
  5214. "description": "交易日(yyyyMMdd)",
  5215. "type": "string"
  5216. },
  5217. "userid": {
  5218. "description": "所属机构",
  5219. "type": "integer"
  5220. }
  5221. }
  5222. },
  5223. "erms3.AddErms2SpotTradeApplyReq": {
  5224. "type": "object",
  5225. "required": [
  5226. "spottradeid"
  5227. ],
  5228. "properties": {
  5229. "applyjsondetail": {
  5230. "description": "申请明细(JSON)",
  5231. "type": "string"
  5232. },
  5233. "applystatus": {
  5234. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5235. "type": "integer"
  5236. },
  5237. "areauserid": {
  5238. "description": "所属机构",
  5239. "type": "integer"
  5240. },
  5241. "auditid": {
  5242. "description": "审核人",
  5243. "type": "integer"
  5244. },
  5245. "auditremark": {
  5246. "description": "审核备注",
  5247. "type": "string"
  5248. },
  5249. "audittime": {
  5250. "description": "审核时间",
  5251. "type": "string"
  5252. },
  5253. "createtime": {
  5254. "description": "创建时间",
  5255. "type": "string"
  5256. },
  5257. "creatorid": {
  5258. "description": "创建人",
  5259. "type": "integer"
  5260. },
  5261. "deliverygoodsid": {
  5262. "description": "现货品种ID",
  5263. "type": "integer"
  5264. },
  5265. "futureaccountid": {
  5266. "description": "期货资金账户",
  5267. "type": "integer"
  5268. },
  5269. "goodsgroupid": {
  5270. "description": "期货品种",
  5271. "type": "integer"
  5272. },
  5273. "marketid": {
  5274. "description": "市场ID",
  5275. "type": "integer"
  5276. },
  5277. "remark": {
  5278. "description": "备注",
  5279. "type": "string"
  5280. },
  5281. "spotaccountid": {
  5282. "description": "现货资金账户",
  5283. "type": "integer"
  5284. },
  5285. "spottradeid": {
  5286. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5287. "type": "integer"
  5288. },
  5289. "spottradename": {
  5290. "description": "业务名称",
  5291. "type": "string"
  5292. },
  5293. "spottradeno": {
  5294. "description": "业务编号",
  5295. "type": "string"
  5296. },
  5297. "tradedate": {
  5298. "description": "交易日(yyyyMMdd)",
  5299. "type": "string"
  5300. },
  5301. "wrstandardid": {
  5302. "description": "仓单标准ID",
  5303. "type": "integer"
  5304. }
  5305. }
  5306. },
  5307. "erms3.AddSpotContractApplyReq": {
  5308. "type": "object",
  5309. "required": [
  5310. "accountid",
  5311. "areauserid",
  5312. "contractno",
  5313. "contracttype",
  5314. "customeraccountid",
  5315. "customeruserid",
  5316. "details",
  5317. "orimargin",
  5318. "signdate"
  5319. ],
  5320. "properties": {
  5321. "accountid": {
  5322. "description": "资金账户ID",
  5323. "type": "integer"
  5324. },
  5325. "areauserid": {
  5326. "description": "所属机构",
  5327. "type": "integer"
  5328. },
  5329. "contractattachment": {
  5330. "description": "合同附件",
  5331. "type": "string"
  5332. },
  5333. "contractno": {
  5334. "description": "现货合同编号",
  5335. "type": "string"
  5336. },
  5337. "contracttype": {
  5338. "description": "现货合同类型 - 1:采购 -1:销售",
  5339. "type": "integer"
  5340. },
  5341. "creatorid": {
  5342. "description": "申请人",
  5343. "type": "integer"
  5344. },
  5345. "customeraccountid": {
  5346. "description": "客户资金账户ID",
  5347. "type": "integer"
  5348. },
  5349. "customeruserid": {
  5350. "description": "客户ID",
  5351. "type": "integer"
  5352. },
  5353. "details": {
  5354. "description": "明细",
  5355. "type": "array",
  5356. "items": {
  5357. "$ref": "#/definitions/erms3.SoptContractDetail"
  5358. }
  5359. },
  5360. "orimargin": {
  5361. "description": "初始保证金",
  5362. "type": "number"
  5363. },
  5364. "remark": {
  5365. "description": "备注",
  5366. "type": "string"
  5367. },
  5368. "signdate": {
  5369. "description": "签订日期",
  5370. "type": "string"
  5371. }
  5372. }
  5373. },
  5374. "erms3.AddSpotContractApplyRsp": {
  5375. "type": "object",
  5376. "required": [
  5377. "contractno"
  5378. ],
  5379. "properties": {
  5380. "contractno": {
  5381. "description": "现货合同编号",
  5382. "type": "string"
  5383. },
  5384. "spotcontractid": {
  5385. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5386. "type": "integer"
  5387. }
  5388. }
  5389. },
  5390. "erms3.AddUserInfoApplyReq": {
  5391. "type": "object",
  5392. "required": [
  5393. "userid"
  5394. ],
  5395. "properties": {
  5396. "accountid": {
  5397. "description": "交易系统帐号Id (加密存储)",
  5398. "type": "integer"
  5399. },
  5400. "areacode": {
  5401. "description": "机构代码",
  5402. "type": "string"
  5403. },
  5404. "areaid": {
  5405. "description": "机构Id",
  5406. "type": "integer"
  5407. },
  5408. "attachment1": {
  5409. "description": "附件1",
  5410. "type": "string"
  5411. },
  5412. "attachment2": {
  5413. "description": "附件2",
  5414. "type": "string"
  5415. },
  5416. "attachment3": {
  5417. "description": "附件3",
  5418. "type": "string"
  5419. },
  5420. "attachment4": {
  5421. "description": "附件4",
  5422. "type": "string"
  5423. },
  5424. "attachment5": {
  5425. "description": "附件5",
  5426. "type": "string"
  5427. },
  5428. "auditedby": {
  5429. "description": "审核人",
  5430. "type": "string"
  5431. },
  5432. "auditime": {
  5433. "description": "审核时间",
  5434. "type": "string"
  5435. },
  5436. "bankaccount": {
  5437. "description": "银行帐号 (加密存储)",
  5438. "type": "string"
  5439. },
  5440. "bankaccountname": {
  5441. "description": "收款人名称",
  5442. "type": "string"
  5443. },
  5444. "bankcardbackphotourl": {
  5445. "description": "银行卡背面照地址",
  5446. "type": "string"
  5447. },
  5448. "bankcardfrontphotourl": {
  5449. "description": "银行卡正面照地址",
  5450. "type": "string"
  5451. },
  5452. "bankid": {
  5453. "description": "银行编码",
  5454. "type": "string"
  5455. },
  5456. "bankname": {
  5457. "description": "银行名称",
  5458. "type": "string"
  5459. },
  5460. "bankpictureurl": {
  5461. "description": "银行卡正面地址",
  5462. "type": "string"
  5463. },
  5464. "biznature": {
  5465. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5466. "type": "integer"
  5467. },
  5468. "bizscope": {
  5469. "description": "企业经营范围(企业)",
  5470. "type": "string"
  5471. },
  5472. "biztype": {
  5473. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5474. "type": "integer"
  5475. },
  5476. "brokerid": {
  5477. "description": "经纪人ID(加密存储)",
  5478. "type": "string"
  5479. },
  5480. "cardaddress": {
  5481. "description": "证件地址 (加密存储)",
  5482. "type": "string"
  5483. },
  5484. "cardbackphotourl": {
  5485. "description": "背面证件照地址",
  5486. "type": "string"
  5487. },
  5488. "cardfrontphotourl": {
  5489. "description": "正面证件照地址",
  5490. "type": "string"
  5491. },
  5492. "cardnum": {
  5493. "description": "证件号码 (加密存储)",
  5494. "type": "string"
  5495. },
  5496. "cardtype": {
  5497. "description": "证件类型",
  5498. "type": "integer"
  5499. },
  5500. "cityid": {
  5501. "description": "市",
  5502. "type": "integer"
  5503. },
  5504. "company": {
  5505. "description": "公司(个人)",
  5506. "type": "string"
  5507. },
  5508. "contactcardbackphotourl": {
  5509. "description": "联系人证件背面图片地址",
  5510. "type": "string"
  5511. },
  5512. "contactcardfrontphotourl": {
  5513. "description": "联系人证件正面图片地址",
  5514. "type": "string"
  5515. },
  5516. "contactname": {
  5517. "description": "联系人",
  5518. "type": "string"
  5519. },
  5520. "countryid": {
  5521. "description": "国家",
  5522. "type": "integer"
  5523. },
  5524. "createtime": {
  5525. "description": "开户申请时间",
  5526. "type": "string"
  5527. },
  5528. "cusbankid": {
  5529. "description": "签约类型",
  5530. "type": "string"
  5531. },
  5532. "cusbankname": {
  5533. "description": "签约类型名称",
  5534. "type": "string"
  5535. },
  5536. "customername": {
  5537. "description": "客户名称(企业名称)",
  5538. "type": "string"
  5539. },
  5540. "districtid": {
  5541. "description": "地区",
  5542. "type": "integer"
  5543. },
  5544. "email": {
  5545. "description": "Email地址(加密存储)",
  5546. "type": "string"
  5547. },
  5548. "halfbodyphotourl": {
  5549. "description": "半身照地址",
  5550. "type": "string"
  5551. },
  5552. "headurl": {
  5553. "description": "头像地址",
  5554. "type": "string"
  5555. },
  5556. "ipaddress": {
  5557. "description": "IP地址",
  5558. "type": "string"
  5559. },
  5560. "isvalidate": {
  5561. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5562. "type": "string"
  5563. },
  5564. "legalcardbackphotourl": {
  5565. "description": "法人身份证背面照地址",
  5566. "type": "string"
  5567. },
  5568. "legalcardfrontphotourl": {
  5569. "description": "法人身份证正面照地址",
  5570. "type": "string"
  5571. },
  5572. "legalpersonname": {
  5573. "description": "法人姓名(企业)",
  5574. "type": "string"
  5575. },
  5576. "logincode": {
  5577. "description": "登录帐号 (加密存储)",
  5578. "type": "string"
  5579. },
  5580. "memberareaid": {
  5581. "description": "所属会员ID",
  5582. "type": "integer"
  5583. },
  5584. "mobile2": {
  5585. "description": "手机号码[明文-尚志]",
  5586. "type": "string"
  5587. },
  5588. "mobilephone": {
  5589. "description": "手机号码 (加密存储)",
  5590. "type": "string"
  5591. },
  5592. "modifiedby": {
  5593. "description": "修改人帐号",
  5594. "type": "integer"
  5595. },
  5596. "modifiedtime": {
  5597. "description": "修改时间",
  5598. "type": "string"
  5599. },
  5600. "nickname": {
  5601. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5602. "type": "string"
  5603. },
  5604. "openmode": {
  5605. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5606. "type": "integer"
  5607. },
  5608. "otherurl": {
  5609. "description": "其它图片地址[使用分号分隔]",
  5610. "type": "string"
  5611. },
  5612. "postalcode": {
  5613. "description": "邮政编码",
  5614. "type": "string"
  5615. },
  5616. "provinceid": {
  5617. "description": "省",
  5618. "type": "integer"
  5619. },
  5620. "proxystatementurl": {
  5621. "description": "授权委托书",
  5622. "type": "string"
  5623. },
  5624. "qq": {
  5625. "description": "QQ(加密存储",
  5626. "type": "string"
  5627. },
  5628. "referral": {
  5629. "description": "推荐人编码",
  5630. "type": "string"
  5631. },
  5632. "remark": {
  5633. "description": "备注",
  5634. "type": "string"
  5635. },
  5636. "removebeforestatus": {
  5637. "description": "REMOVEBEFORESTATUS",
  5638. "type": "integer"
  5639. },
  5640. "sex": {
  5641. "description": "性别 - 0:女 1:男",
  5642. "type": "integer"
  5643. },
  5644. "signedstatus": {
  5645. "description": "账户一号签签约状态",
  5646. "type": "integer"
  5647. },
  5648. "signpdfurl": {
  5649. "description": "签约pdf文件",
  5650. "type": "string"
  5651. },
  5652. "subbranch": {
  5653. "description": "开户支行",
  5654. "type": "string"
  5655. },
  5656. "telphone": {
  5657. "description": "联系电话(加密存储)",
  5658. "type": "string"
  5659. },
  5660. "userid": {
  5661. "description": "用户ID(自增ID)",
  5662. "type": "integer"
  5663. },
  5664. "userinfotype": {
  5665. "description": "用户信息类型 - 1:个人 2:企业",
  5666. "type": "integer"
  5667. },
  5668. "username": {
  5669. "description": "用户姓名",
  5670. "type": "string"
  5671. },
  5672. "userstate": {
  5673. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5674. "type": "integer"
  5675. },
  5676. "usertype": {
  5677. "description": "用户类型 - 1:投资者 2:机构",
  5678. "type": "integer"
  5679. },
  5680. "videourl": {
  5681. "description": "视频地址",
  5682. "type": "string"
  5683. },
  5684. "wechat": {
  5685. "description": "微信号 (加密存储)",
  5686. "type": "string"
  5687. }
  5688. }
  5689. },
  5690. "erms3.CustomerInfo": {
  5691. "type": "object",
  5692. "required": [
  5693. "userid"
  5694. ],
  5695. "properties": {
  5696. "accountids": {
  5697. "description": "资金账户ID列表",
  5698. "type": "array",
  5699. "items": {
  5700. "type": "integer"
  5701. }
  5702. },
  5703. "customername": {
  5704. "description": "名称(企业名称)",
  5705. "type": "string"
  5706. },
  5707. "mobile": {
  5708. "description": "手机号码",
  5709. "type": "string"
  5710. },
  5711. "userid": {
  5712. "description": "用户ID",
  5713. "type": "integer"
  5714. }
  5715. }
  5716. },
  5717. "erms3.QryAuditContractRsp": {
  5718. "type": "object",
  5719. "required": [
  5720. "matchcustomername",
  5721. "spotcontractid"
  5722. ],
  5723. "properties": {
  5724. "accountid": {
  5725. "description": "交易员ID",
  5726. "type": "string"
  5727. },
  5728. "applystatus": {
  5729. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5730. "type": "integer"
  5731. },
  5732. "curdeliveryqty": {
  5733. "description": "未交收量",
  5734. "type": "integer"
  5735. },
  5736. "customername": {
  5737. "description": "采购方ID",
  5738. "type": "string"
  5739. },
  5740. "deliverygoodsid": {
  5741. "description": "品种ID",
  5742. "type": "string"
  5743. },
  5744. "deliveryqty": {
  5745. "description": "交收量",
  5746. "type": "integer"
  5747. },
  5748. "enumdicname": {
  5749. "description": "单位名称",
  5750. "type": "string"
  5751. },
  5752. "matchaccountid": {
  5753. "description": "业务员ID",
  5754. "type": "string"
  5755. },
  5756. "matchcustomername": {
  5757. "description": "销售方ID",
  5758. "type": "string"
  5759. },
  5760. "pricedqty": {
  5761. "description": "定价量",
  5762. "type": "number"
  5763. },
  5764. "signdate": {
  5765. "description": "签订日期",
  5766. "type": "string"
  5767. },
  5768. "spotcontractid": {
  5769. "description": "合同ID",
  5770. "type": "string"
  5771. },
  5772. "totaldqty": {
  5773. "description": "合同量",
  5774. "type": "number"
  5775. },
  5776. "unpricedqty": {
  5777. "description": "未定价量",
  5778. "type": "number"
  5779. },
  5780. "wrstandardname": {
  5781. "description": "商品名称",
  5782. "type": "string"
  5783. }
  5784. }
  5785. },
  5786. "erms3.QryPendingBizRsp": {
  5787. "type": "object",
  5788. "properties": {
  5789. "accountid": {
  5790. "description": "现货账户",
  5791. "type": "string"
  5792. },
  5793. "areaname": {
  5794. "description": "所属部门",
  5795. "type": "string"
  5796. },
  5797. "bizid": {
  5798. "description": "业务ID",
  5799. "type": "string"
  5800. },
  5801. "bizname": {
  5802. "description": "业务名称",
  5803. "type": "string"
  5804. },
  5805. "status": {
  5806. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5807. "type": "integer"
  5808. },
  5809. "type": {
  5810. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5811. "type": "integer"
  5812. }
  5813. }
  5814. },
  5815. "erms3.QueryBusinessInfoRsp": {
  5816. "type": "object",
  5817. "properties": {
  5818. "businessid": {
  5819. "description": "业务ID.",
  5820. "type": "integer"
  5821. },
  5822. "buyamount": {
  5823. "description": "采购额.",
  5824. "type": "number"
  5825. },
  5826. "buyqty": {
  5827. "description": "采购量.",
  5828. "type": "string"
  5829. },
  5830. "futurepl": {
  5831. "description": "期货盈亏.",
  5832. "type": "number"
  5833. },
  5834. "futureqty": {
  5835. "description": "期货敞口.",
  5836. "type": "string"
  5837. },
  5838. "goodsid": {
  5839. "description": "商品名称/商品代码.",
  5840. "type": "string"
  5841. },
  5842. "hedgingqty": {
  5843. "description": "套保量.",
  5844. "type": "string"
  5845. },
  5846. "sellamount": {
  5847. "description": "销售额.",
  5848. "type": "number"
  5849. },
  5850. "sellqty": {
  5851. "description": "销售量.",
  5852. "type": "string"
  5853. },
  5854. "spotmarketvalue": {
  5855. "description": "现货市值.",
  5856. "type": "number"
  5857. },
  5858. "spotpl": {
  5859. "description": "浮动权益.",
  5860. "type": "number"
  5861. },
  5862. "spotqty": {
  5863. "description": "现货量.",
  5864. "type": "string"
  5865. },
  5866. "statu": {
  5867. "description": "状态,0-未结束 1-已结束.",
  5868. "type": "integer"
  5869. },
  5870. "totalpl": {
  5871. "description": "总盈亏.",
  5872. "type": "number"
  5873. },
  5874. "totalqty": {
  5875. "description": "总敞口.",
  5876. "type": "string"
  5877. },
  5878. "type": {
  5879. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5880. "type": "integer"
  5881. }
  5882. }
  5883. },
  5884. "erms3.QuerySpotContractAppleFormRsp": {
  5885. "type": "object",
  5886. "properties": {
  5887. "goodses": {
  5888. "description": "合约列表",
  5889. "type": "array",
  5890. "items": {
  5891. "$ref": "#/definitions/models.GoodsIDAndName"
  5892. }
  5893. },
  5894. "oppositeusers": {
  5895. "description": "对方账号列表",
  5896. "type": "array",
  5897. "items": {
  5898. "$ref": "#/definitions/erms3.CustomerInfo"
  5899. }
  5900. },
  5901. "ouruser": {
  5902. "description": "我方账号",
  5903. "$ref": "#/definitions/erms3.CustomerInfo"
  5904. },
  5905. "warehouseinfos": {
  5906. "description": "仓库信息列表",
  5907. "type": "array",
  5908. "items": {
  5909. "$ref": "#/definitions/models.Warehouseinfo"
  5910. }
  5911. },
  5912. "wrstandards": {
  5913. "description": "仓单标准列表",
  5914. "type": "array",
  5915. "items": {
  5916. "$ref": "#/definitions/models.WRStandardInfo"
  5917. }
  5918. }
  5919. }
  5920. },
  5921. "erms3.QuerySpotContractInfoRsp": {
  5922. "type": "object",
  5923. "properties": {
  5924. "accountid": {
  5925. "description": "表示交易员ID.",
  5926. "type": "integer"
  5927. },
  5928. "curdeliveryqty": {
  5929. "description": "表示未交收量.",
  5930. "type": "number"
  5931. },
  5932. "customername": {
  5933. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5934. "type": "string"
  5935. },
  5936. "deliverygoodsid": {
  5937. "description": "表示品种ID.",
  5938. "type": "string"
  5939. },
  5940. "deliveryqty": {
  5941. "description": "表示交收量.",
  5942. "type": "number"
  5943. },
  5944. "matchaccountid": {
  5945. "description": "表示业务员ID.",
  5946. "type": "integer"
  5947. },
  5948. "matchcustomername": {
  5949. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5950. "type": "string"
  5951. },
  5952. "priceqty": {
  5953. "description": "表示定价量.",
  5954. "type": "number"
  5955. },
  5956. "relatedbizid": {
  5957. "description": "表示业务ID.",
  5958. "type": "string"
  5959. },
  5960. "signdate": {
  5961. "description": "表示签订日期.",
  5962. "type": "string"
  5963. },
  5964. "spotcontractid": {
  5965. "description": "合同ID",
  5966. "type": "string"
  5967. },
  5968. "status": {
  5969. "description": "表示状态,0-履约中 1-已完成.",
  5970. "type": "integer"
  5971. },
  5972. "totalqty": {
  5973. "description": "表示合同量.",
  5974. "type": "number"
  5975. },
  5976. "unpricedqty": {
  5977. "description": "表示未定价量.",
  5978. "type": "number"
  5979. },
  5980. "wrstandardname": {
  5981. "description": "表示商品ID.",
  5982. "type": "string"
  5983. }
  5984. }
  5985. },
  5986. "erms3.QueryUserInfoAppliesRsp": {
  5987. "type": "object",
  5988. "required": [
  5989. "userid"
  5990. ],
  5991. "properties": {
  5992. "biznature": {
  5993. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5994. "type": "integer"
  5995. },
  5996. "contactname": {
  5997. "description": "联系人",
  5998. "type": "string"
  5999. },
  6000. "createtime": {
  6001. "description": "开户申请时间",
  6002. "type": "string"
  6003. },
  6004. "userid": {
  6005. "description": "用户ID(自增ID)",
  6006. "type": "integer"
  6007. },
  6008. "userinfotype": {
  6009. "description": "用户信息类型 - 1:个人 2:企业",
  6010. "type": "integer"
  6011. },
  6012. "username": {
  6013. "description": "用户姓名",
  6014. "type": "string"
  6015. },
  6016. "userstate": {
  6017. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6018. "type": "integer"
  6019. }
  6020. }
  6021. },
  6022. "erms3.QueryUserInfosRsp": {
  6023. "type": "object",
  6024. "required": [
  6025. "userid"
  6026. ],
  6027. "properties": {
  6028. "biznature": {
  6029. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6030. "type": "integer"
  6031. },
  6032. "contactname": {
  6033. "description": "联系人",
  6034. "type": "string"
  6035. },
  6036. "customername": {
  6037. "description": "客户名称(企业名称)",
  6038. "type": "string"
  6039. },
  6040. "userid": {
  6041. "description": "用户ID",
  6042. "type": "integer"
  6043. },
  6044. "userinfotype": {
  6045. "description": "用户信息类型 - 1:个人 2:企业",
  6046. "type": "integer"
  6047. },
  6048. "userstatus": {
  6049. "description": "用户状态 - 1:正常 2:注销",
  6050. "type": "integer"
  6051. }
  6052. }
  6053. },
  6054. "erms3.SoptContractDetail": {
  6055. "type": "object",
  6056. "required": [
  6057. "deliverygoodsid",
  6058. "producttype",
  6059. "unitname",
  6060. "warehouseid",
  6061. "wrstandardid",
  6062. "wrstandardname"
  6063. ],
  6064. "properties": {
  6065. "deliverygoodsdesc": {
  6066. "description": "现货品种说明",
  6067. "type": "string"
  6068. },
  6069. "deliverygoodsid": {
  6070. "description": "现货品种ID",
  6071. "type": "integer"
  6072. },
  6073. "deliverygoodsname": {
  6074. "description": "现货品种名称",
  6075. "type": "string"
  6076. },
  6077. "pointdesc": {
  6078. "description": "点价描述",
  6079. "type": "string"
  6080. },
  6081. "producttype": {
  6082. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6083. "type": "integer"
  6084. },
  6085. "producttypename": {
  6086. "description": "产品类型名称",
  6087. "type": "string"
  6088. },
  6089. "spotPointOrderVoList": {
  6090. "description": "点价列表",
  6091. "type": "array",
  6092. "items": {
  6093. "$ref": "#/definitions/erms3.SpotPointOrder"
  6094. }
  6095. },
  6096. "spotPriceOrderList": {
  6097. "description": "定价列表",
  6098. "type": "array",
  6099. "items": {
  6100. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6101. }
  6102. },
  6103. "unitname": {
  6104. "description": "单位名称",
  6105. "type": "string"
  6106. },
  6107. "warehouseid": {
  6108. "description": "仓库ID",
  6109. "type": "integer"
  6110. },
  6111. "warehousename": {
  6112. "description": "仓库名称",
  6113. "type": "string"
  6114. },
  6115. "wrstandardid": {
  6116. "description": "交易标的ID",
  6117. "type": "integer"
  6118. },
  6119. "wrstandardname": {
  6120. "description": "交易标的名称",
  6121. "type": "string"
  6122. }
  6123. }
  6124. },
  6125. "erms3.SpotPointOrder": {
  6126. "type": "object",
  6127. "required": [
  6128. "basic",
  6129. "goodsid",
  6130. "qty"
  6131. ],
  6132. "properties": {
  6133. "basic": {
  6134. "description": "基差",
  6135. "type": "number"
  6136. },
  6137. "deliveryenddate": {
  6138. "description": "交收结束日期",
  6139. "type": "string"
  6140. },
  6141. "deliverystartdate": {
  6142. "description": "交收开始日期",
  6143. "type": "string"
  6144. },
  6145. "enddate": {
  6146. "description": "点价结束日期",
  6147. "type": "string"
  6148. },
  6149. "goodsid": {
  6150. "description": "商品ID",
  6151. "type": "integer"
  6152. },
  6153. "goodsname": {
  6154. "description": "商品名称",
  6155. "type": "string"
  6156. },
  6157. "qty": {
  6158. "description": "数量",
  6159. "type": "number"
  6160. },
  6161. "startdate": {
  6162. "description": "点价开始日期",
  6163. "type": "string"
  6164. }
  6165. }
  6166. },
  6167. "erms3.SpotPriceOrder": {
  6168. "type": "object",
  6169. "required": [
  6170. "amount",
  6171. "price",
  6172. "qty"
  6173. ],
  6174. "properties": {
  6175. "amount": {
  6176. "description": "金额",
  6177. "type": "number"
  6178. },
  6179. "deliveryenddate": {
  6180. "description": "交收结束日期",
  6181. "type": "string"
  6182. },
  6183. "deliverystartdate": {
  6184. "description": "交收开始日期",
  6185. "type": "string"
  6186. },
  6187. "price": {
  6188. "description": "价格",
  6189. "type": "number"
  6190. },
  6191. "qty": {
  6192. "description": "数量",
  6193. "type": "number"
  6194. }
  6195. }
  6196. },
  6197. "hsby.GetHsbyMyCountRsp": {
  6198. "type": "object",
  6199. "properties": {
  6200. "myOrderDetailListingCount": {
  6201. "description": "我的订单求购中数量",
  6202. "type": "integer"
  6203. },
  6204. "myOrderDetailPreCount": {
  6205. "description": "我的订单抢购中数量",
  6206. "type": "integer"
  6207. },
  6208. "myPackageUnReceiveCount": {
  6209. "description": "我的包裹待收货数量",
  6210. "type": "integer"
  6211. },
  6212. "myPackageUnSendCount": {
  6213. "description": "我的包裹待发货数量",
  6214. "type": "integer"
  6215. },
  6216. "myPayOrderCount": {
  6217. "description": "我的订单待付款数量",
  6218. "type": "integer"
  6219. }
  6220. }
  6221. },
  6222. "hsby.QueryProvincesAndCitiesRsp": {
  6223. "type": "object",
  6224. "properties": {
  6225. "cities": {
  6226. "description": "市",
  6227. "type": "array",
  6228. "items": {
  6229. "$ref": "#/definitions/models.Division"
  6230. }
  6231. },
  6232. "province": {
  6233. "description": "省",
  6234. "$ref": "#/definitions/models.Division"
  6235. }
  6236. }
  6237. },
  6238. "models.Division": {
  6239. "type": "object",
  6240. "required": [
  6241. "autoid",
  6242. "divisioncode"
  6243. ],
  6244. "properties": {
  6245. "autoid": {
  6246. "description": "自增ID",
  6247. "type": "integer"
  6248. },
  6249. "divisioncode": {
  6250. "description": "行政代码",
  6251. "type": "string"
  6252. },
  6253. "divisionlevel": {
  6254. "description": "行政级别",
  6255. "type": "string"
  6256. },
  6257. "divisionname": {
  6258. "description": "行政名称",
  6259. "type": "string"
  6260. },
  6261. "modifierid": {
  6262. "description": "修改人",
  6263. "type": "integer"
  6264. },
  6265. "modifytime": {
  6266. "description": "修改时间",
  6267. "type": "string"
  6268. },
  6269. "parentcode": {
  6270. "description": "上级行政代码",
  6271. "type": "string"
  6272. },
  6273. "pathname": {
  6274. "description": "路径名称",
  6275. "type": "string"
  6276. },
  6277. "postcode": {
  6278. "description": "邮政编码",
  6279. "type": "string"
  6280. },
  6281. "separablename": {
  6282. "description": "可拆分的全称",
  6283. "type": "string"
  6284. },
  6285. "shortcode": {
  6286. "description": "地区简码",
  6287. "type": "string"
  6288. }
  6289. }
  6290. },
  6291. "models.Enumdicitem": {
  6292. "type": "object",
  6293. "required": [
  6294. "autoid",
  6295. "enumdiccode",
  6296. "enumdicid",
  6297. "enumitemname"
  6298. ],
  6299. "properties": {
  6300. "autoid": {
  6301. "description": "自增ID",
  6302. "type": "integer"
  6303. },
  6304. "bankmappedvalue": {
  6305. "description": "银行服务对应值",
  6306. "type": "string"
  6307. },
  6308. "enumdiccode": {
  6309. "description": "所属枚举代码",
  6310. "type": "string"
  6311. },
  6312. "enumdicid": {
  6313. "description": "所属枚举ID",
  6314. "type": "integer"
  6315. },
  6316. "enumdicname": {
  6317. "description": "枚举项名称",
  6318. "type": "string"
  6319. },
  6320. "enumitemname": {
  6321. "description": "枚举项值",
  6322. "type": "integer"
  6323. },
  6324. "enumitemstatus": {
  6325. "description": "枚举项状态 - 1.启用 2.不启用",
  6326. "type": "integer"
  6327. },
  6328. "enumitemvalue": {
  6329. "description": "通用值 - [币种通用简写]",
  6330. "type": "string"
  6331. },
  6332. "param1": {
  6333. "description": "参数1[币种:币种小数位]",
  6334. "type": "string"
  6335. },
  6336. "param2": {
  6337. "description": "参数1[币种:币种显示单位]",
  6338. "type": "string"
  6339. },
  6340. "remark": {
  6341. "description": "备注",
  6342. "type": "string"
  6343. }
  6344. }
  6345. },
  6346. "models.GoodsIDAndName": {
  6347. "type": "object",
  6348. "required": [
  6349. "goodscode",
  6350. "goodsid",
  6351. "goodsname",
  6352. "marketid"
  6353. ],
  6354. "properties": {
  6355. "goodscode": {
  6356. "description": "商品代码(内部)",
  6357. "type": "string"
  6358. },
  6359. "goodsid": {
  6360. "description": "商品ID(自增ID SEQ_GOODS)",
  6361. "type": "integer"
  6362. },
  6363. "goodsname": {
  6364. "description": "商品名称",
  6365. "type": "string"
  6366. },
  6367. "marketid": {
  6368. "description": "所属市场ID",
  6369. "type": "integer"
  6370. }
  6371. }
  6372. },
  6373. "models.HsbyBuyMyPayOrder": {
  6374. "type": "object",
  6375. "required": [
  6376. "goodscode",
  6377. "goodsname",
  6378. "tradeid",
  6379. "trademode"
  6380. ],
  6381. "properties": {
  6382. "agreeunit": {
  6383. "description": "合约单位",
  6384. "type": "number"
  6385. },
  6386. "buyaccountid": {
  6387. "description": "买方账号ID[报价币种]",
  6388. "type": "integer"
  6389. },
  6390. "buyorderid": {
  6391. "description": "买方委托单号",
  6392. "type": "string"
  6393. },
  6394. "createtime": {
  6395. "description": "创建时间",
  6396. "type": "string"
  6397. },
  6398. "currencysign": {
  6399. "description": "货币符号",
  6400. "type": "string"
  6401. },
  6402. "decimalplace": {
  6403. "description": "报价小数位",
  6404. "type": "integer"
  6405. },
  6406. "goodscode": {
  6407. "description": "商品代码(内部)",
  6408. "type": "string"
  6409. },
  6410. "goodsid": {
  6411. "description": "商品ID",
  6412. "type": "integer"
  6413. },
  6414. "goodsname": {
  6415. "description": "商品名称",
  6416. "type": "string"
  6417. },
  6418. "marketid": {
  6419. "description": "市场ID",
  6420. "type": "integer"
  6421. },
  6422. "offamount": {
  6423. "description": "优惠金额",
  6424. "type": "number"
  6425. },
  6426. "payamount": {
  6427. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  6428. "type": "number"
  6429. },
  6430. "payflag": {
  6431. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  6432. "type": "integer"
  6433. },
  6434. "paylimitedtime": {
  6435. "description": "支付期限",
  6436. "type": "string"
  6437. },
  6438. "paytime": {
  6439. "description": "付款时间",
  6440. "type": "string"
  6441. },
  6442. "picurls1": {
  6443. "description": "预售商品介绍图片[多张用逗号分隔]",
  6444. "type": "string"
  6445. },
  6446. "picurls2": {
  6447. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6448. "type": "string"
  6449. },
  6450. "sellaccountid": {
  6451. "description": "卖方账号ID[报价币种]",
  6452. "type": "integer"
  6453. },
  6454. "sellorderid": {
  6455. "description": "卖方委托单号",
  6456. "type": "string"
  6457. },
  6458. "tradeamount": {
  6459. "description": "成交金额",
  6460. "type": "number"
  6461. },
  6462. "tradecharge": {
  6463. "description": "成交手续费(买方)",
  6464. "type": "number"
  6465. },
  6466. "tradedate": {
  6467. "description": "交易日(yyyyMMdd)",
  6468. "type": "string"
  6469. },
  6470. "tradeid": {
  6471. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6472. "type": "string"
  6473. },
  6474. "trademode": {
  6475. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6476. "type": "integer"
  6477. },
  6478. "tradeprice": {
  6479. "description": "成交价格",
  6480. "type": "number"
  6481. },
  6482. "tradeqty": {
  6483. "description": "成交数量",
  6484. "type": "integer"
  6485. },
  6486. "vendorname1": {
  6487. "description": "预售商品供应商名称",
  6488. "type": "string"
  6489. },
  6490. "vendorname2": {
  6491. "description": "挂牌商品供应商名称",
  6492. "type": "string"
  6493. }
  6494. }
  6495. },
  6496. "models.HsbyBuyMyTradeDetail": {
  6497. "type": "object",
  6498. "required": [
  6499. "accountid",
  6500. "buyorsell",
  6501. "goodscode",
  6502. "goodsid",
  6503. "goodsname",
  6504. "marketid",
  6505. "orderid",
  6506. "qty",
  6507. "time",
  6508. "trademode"
  6509. ],
  6510. "properties": {
  6511. "accountid": {
  6512. "description": "账户ID[报价币种]",
  6513. "type": "integer"
  6514. },
  6515. "agreeunit": {
  6516. "description": "合约单位",
  6517. "type": "number"
  6518. },
  6519. "amount": {
  6520. "description": "金额 = 价格 * 数量 * 合约单位",
  6521. "type": "number"
  6522. },
  6523. "buyorsell": {
  6524. "description": "买卖 - 0:买 1:卖",
  6525. "type": "integer"
  6526. },
  6527. "currencysign": {
  6528. "description": "货币符号",
  6529. "type": "string"
  6530. },
  6531. "decimalplace": {
  6532. "description": "报价小数位",
  6533. "type": "integer"
  6534. },
  6535. "goodscode": {
  6536. "description": "商品代码(内部)",
  6537. "type": "string"
  6538. },
  6539. "goodsid": {
  6540. "description": "商品ID",
  6541. "type": "integer"
  6542. },
  6543. "goodsname": {
  6544. "description": "商品名称",
  6545. "type": "string"
  6546. },
  6547. "marketid": {
  6548. "description": "市场ID",
  6549. "type": "integer"
  6550. },
  6551. "orderid": {
  6552. "description": "单号(成交单号)",
  6553. "type": "string"
  6554. },
  6555. "picurls1": {
  6556. "description": "预售商品介绍图片[多张用逗号分隔]",
  6557. "type": "string"
  6558. },
  6559. "picurls2": {
  6560. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6561. "type": "string"
  6562. },
  6563. "price": {
  6564. "description": "价格",
  6565. "type": "number"
  6566. },
  6567. "qty": {
  6568. "description": "数量",
  6569. "type": "integer"
  6570. },
  6571. "time": {
  6572. "description": "时间",
  6573. "type": "string"
  6574. },
  6575. "trademode": {
  6576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6577. "type": "integer"
  6578. },
  6579. "vendorname1": {
  6580. "description": "预售商品供应商名称",
  6581. "type": "string"
  6582. },
  6583. "vendorname2": {
  6584. "description": "挂牌商品供应商名称",
  6585. "type": "string"
  6586. }
  6587. }
  6588. },
  6589. "models.HsbyGoodsOrderDetail": {
  6590. "type": "object",
  6591. "required": [
  6592. "buyorsell",
  6593. "orderid",
  6594. "ordertime"
  6595. ],
  6596. "properties": {
  6597. "buyorsell": {
  6598. "description": "买卖 - 0:买 1:卖",
  6599. "type": "integer"
  6600. },
  6601. "currencysign": {
  6602. "description": "货币符号",
  6603. "type": "string"
  6604. },
  6605. "customername": {
  6606. "description": "客户名称(企业名称),已脱敏",
  6607. "type": "string"
  6608. },
  6609. "enableqty": {
  6610. "description": "可用数量",
  6611. "type": "integer"
  6612. },
  6613. "goodunit": {
  6614. "description": "报价单位",
  6615. "type": "string"
  6616. },
  6617. "orderid": {
  6618. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6619. "type": "string"
  6620. },
  6621. "orderprice": {
  6622. "description": "委托价格",
  6623. "type": "number"
  6624. },
  6625. "ordertime": {
  6626. "description": "委托时间",
  6627. "type": "string"
  6628. }
  6629. }
  6630. },
  6631. "models.HsbyListingGoodsDetail": {
  6632. "type": "object",
  6633. "required": [
  6634. "goodscode",
  6635. "goodsid",
  6636. "goodsname",
  6637. "marketid",
  6638. "trademode"
  6639. ],
  6640. "properties": {
  6641. "agreeunit": {
  6642. "description": "合约单位",
  6643. "type": "number"
  6644. },
  6645. "currency": {
  6646. "description": "货币",
  6647. "type": "string"
  6648. },
  6649. "currencysign": {
  6650. "description": "货币符号",
  6651. "type": "string"
  6652. },
  6653. "decimalplace": {
  6654. "description": "报价小数位",
  6655. "type": "integer"
  6656. },
  6657. "desccityid": {
  6658. "description": "目的地(市)ID",
  6659. "type": "integer"
  6660. },
  6661. "descprovinceid": {
  6662. "description": "目的地(省)ID",
  6663. "type": "integer"
  6664. },
  6665. "goodscode": {
  6666. "description": "商品代码(内部)",
  6667. "type": "string"
  6668. },
  6669. "goodsdesc": {
  6670. "description": "商品详情",
  6671. "type": "string"
  6672. },
  6673. "goodsid": {
  6674. "description": "商品ID(自增ID SEQ_GOODS)",
  6675. "type": "integer"
  6676. },
  6677. "goodsname": {
  6678. "description": "商品名称",
  6679. "type": "string"
  6680. },
  6681. "hotindex": {
  6682. "description": "景点热度",
  6683. "type": "integer"
  6684. },
  6685. "last": {
  6686. "description": "现价",
  6687. "type": "number"
  6688. },
  6689. "limitdown": {
  6690. "description": "跌停价",
  6691. "type": "number"
  6692. },
  6693. "limitup": {
  6694. "description": "涨停价",
  6695. "type": "number"
  6696. },
  6697. "lotsize": {
  6698. "description": "手数最小变动单位",
  6699. "type": "integer"
  6700. },
  6701. "marketid": {
  6702. "description": "所属市场ID",
  6703. "type": "integer"
  6704. },
  6705. "picurls": {
  6706. "description": "介绍图片[多张用逗号分隔]",
  6707. "type": "string"
  6708. },
  6709. "quoteminunit": {
  6710. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6711. "type": "integer"
  6712. },
  6713. "stepvalue": {
  6714. "description": "价格最小变动单位",
  6715. "type": "number"
  6716. },
  6717. "trademode": {
  6718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6719. "type": "integer"
  6720. },
  6721. "vendorattr": {
  6722. "description": "供应商附件(多张,逗号分隔)",
  6723. "type": "string"
  6724. },
  6725. "vendorname": {
  6726. "description": "供应商名称",
  6727. "type": "string"
  6728. },
  6729. "vendorphone": {
  6730. "description": "供应商客服电话",
  6731. "type": "string"
  6732. },
  6733. "videourls": {
  6734. "description": "介绍视频[多张用逗号分隔]",
  6735. "type": "string"
  6736. }
  6737. }
  6738. },
  6739. "models.HsbyMarketInfo": {
  6740. "type": "object",
  6741. "required": [
  6742. "marketid",
  6743. "trademode"
  6744. ],
  6745. "properties": {
  6746. "marketid": {
  6747. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  6748. "type": "integer"
  6749. },
  6750. "marketname": {
  6751. "description": "市场名称",
  6752. "type": "string"
  6753. },
  6754. "trademode": {
  6755. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6756. "type": "integer"
  6757. }
  6758. }
  6759. },
  6760. "models.HsbyMyGoods": {
  6761. "type": "object",
  6762. "required": [
  6763. "accountid",
  6764. "goodscode",
  6765. "goodsid",
  6766. "goodsname"
  6767. ],
  6768. "properties": {
  6769. "accountid": {
  6770. "description": "账号Id",
  6771. "type": "integer"
  6772. },
  6773. "agreeunit": {
  6774. "description": "合约单位",
  6775. "type": "number"
  6776. },
  6777. "buyaverageprice": {
  6778. "description": "持仓均价",
  6779. "type": "number"
  6780. },
  6781. "buycurholderamount": {
  6782. "description": "买当前持仓总金额[商品币种]",
  6783. "type": "number"
  6784. },
  6785. "buycurpositionqty": {
  6786. "description": "买当前持仓总数量",
  6787. "type": "integer"
  6788. },
  6789. "currencysign": {
  6790. "description": "货币符号",
  6791. "type": "string"
  6792. },
  6793. "decimalplace": {
  6794. "description": "报价小数位",
  6795. "type": "integer"
  6796. },
  6797. "enableqty": {
  6798. "description": "可用数量",
  6799. "type": "integer"
  6800. },
  6801. "goodscode": {
  6802. "description": "商品代码(内部)",
  6803. "type": "string"
  6804. },
  6805. "goodsid": {
  6806. "description": "商品Id",
  6807. "type": "integer"
  6808. },
  6809. "goodsname": {
  6810. "description": "商品名称",
  6811. "type": "string"
  6812. },
  6813. "goodsstatus": {
  6814. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6815. "type": "integer"
  6816. },
  6817. "picurls": {
  6818. "description": "介绍图片[多张用逗号分隔]",
  6819. "type": "string"
  6820. }
  6821. }
  6822. },
  6823. "models.HsbyMyPackage": {
  6824. "type": "object",
  6825. "required": [
  6826. "goodscode",
  6827. "goodsname",
  6828. "takeorderid"
  6829. ],
  6830. "properties": {
  6831. "accountid": {
  6832. "description": "账户ID",
  6833. "type": "integer"
  6834. },
  6835. "address": {
  6836. "description": "提货人详细地址",
  6837. "type": "string"
  6838. },
  6839. "agreeunit": {
  6840. "description": "合约单位",
  6841. "type": "number"
  6842. },
  6843. "amount": {
  6844. "description": "提货金额",
  6845. "type": "number"
  6846. },
  6847. "auditer": {
  6848. "description": "审核人",
  6849. "type": "integer"
  6850. },
  6851. "audittime": {
  6852. "description": "审核时间",
  6853. "type": "string"
  6854. },
  6855. "averageprice": {
  6856. "description": "均价",
  6857. "type": "number"
  6858. },
  6859. "cardnum": {
  6860. "description": "提货人证件号码",
  6861. "type": "string"
  6862. },
  6863. "cardtypeid": {
  6864. "description": "提货人证件类型",
  6865. "type": "integer"
  6866. },
  6867. "checkremark": {
  6868. "description": "审核备注",
  6869. "type": "string"
  6870. },
  6871. "currencysign": {
  6872. "description": "货币符号",
  6873. "type": "string"
  6874. },
  6875. "decimalplace": {
  6876. "description": "报价小数位",
  6877. "type": "integer"
  6878. },
  6879. "goodscode": {
  6880. "description": "商品代码(内部)",
  6881. "type": "string"
  6882. },
  6883. "goodsid": {
  6884. "description": "商品ID",
  6885. "type": "integer"
  6886. },
  6887. "goodsname": {
  6888. "description": "商品名称",
  6889. "type": "string"
  6890. },
  6891. "handlestatus": {
  6892. "description": "处理状态",
  6893. "type": "integer"
  6894. },
  6895. "marketid": {
  6896. "description": "市场ID",
  6897. "type": "integer"
  6898. },
  6899. "phonenum": {
  6900. "description": "提货人联系方式",
  6901. "type": "string"
  6902. },
  6903. "picurls": {
  6904. "description": "介绍图片[多张用逗号分隔]",
  6905. "type": "string"
  6906. },
  6907. "qty": {
  6908. "description": "提货数量",
  6909. "type": "number"
  6910. },
  6911. "recivername": {
  6912. "description": "提货人姓名",
  6913. "type": "string"
  6914. },
  6915. "reqtime": {
  6916. "description": "更新时间",
  6917. "type": "string"
  6918. },
  6919. "takemode": {
  6920. "description": "提货方式 - 2:自提 3:配送",
  6921. "type": "integer"
  6922. },
  6923. "takeorderid": {
  6924. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6925. "type": "string"
  6926. },
  6927. "takeorderstatus": {
  6928. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6929. "type": "integer"
  6930. },
  6931. "takeremark": {
  6932. "description": "提货备注",
  6933. "type": "string"
  6934. },
  6935. "tradedate": {
  6936. "description": "交易日(yyyyMMdd)",
  6937. "type": "string"
  6938. },
  6939. "userid": {
  6940. "description": "用户ID",
  6941. "type": "integer"
  6942. },
  6943. "vendorname": {
  6944. "description": "供应商名称",
  6945. "type": "string"
  6946. }
  6947. }
  6948. },
  6949. "models.HsbyPreGoods": {
  6950. "type": "object",
  6951. "required": [
  6952. "goodscode",
  6953. "goodsid",
  6954. "goodsname",
  6955. "marketid",
  6956. "trademode"
  6957. ],
  6958. "properties": {
  6959. "agreeunit": {
  6960. "description": "合约单位",
  6961. "type": "number"
  6962. },
  6963. "currency": {
  6964. "description": "货币",
  6965. "type": "string"
  6966. },
  6967. "currencysign": {
  6968. "description": "货币符号",
  6969. "type": "string"
  6970. },
  6971. "decimalplace": {
  6972. "description": "报价小数位",
  6973. "type": "integer"
  6974. },
  6975. "enableqty": {
  6976. "description": "剩余数量",
  6977. "type": "integer"
  6978. },
  6979. "goodscode": {
  6980. "description": "商品代码(内部)",
  6981. "type": "string"
  6982. },
  6983. "goodsid": {
  6984. "description": "商品ID(自增ID SEQ_GOODS)",
  6985. "type": "integer"
  6986. },
  6987. "goodsname": {
  6988. "description": "商品名称",
  6989. "type": "string"
  6990. },
  6991. "goodsstatus": {
  6992. "description": "商品状态- 2:未上市 3:上市",
  6993. "type": "integer"
  6994. },
  6995. "lasttradedate": {
  6996. "description": "最后交易日期(状态:待退市)",
  6997. "type": "string"
  6998. },
  6999. "listingdate": {
  7000. "description": "交易开始日期",
  7001. "type": "string"
  7002. },
  7003. "marketid": {
  7004. "description": "所属市场ID",
  7005. "type": "integer"
  7006. },
  7007. "picurls": {
  7008. "description": "介绍图片[多张用逗号分隔]",
  7009. "type": "string"
  7010. },
  7011. "presaledqty": {
  7012. "description": "已预售量(预售结束时更新)",
  7013. "type": "integer"
  7014. },
  7015. "presaleqty": {
  7016. "description": "预售数量",
  7017. "type": "integer"
  7018. },
  7019. "quoteminunit": {
  7020. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7021. "type": "integer"
  7022. },
  7023. "refprice": {
  7024. "description": "参考价格[一口价]",
  7025. "type": "number"
  7026. },
  7027. "relatedgoodsid": {
  7028. "description": "关联交易合约ID",
  7029. "type": "integer"
  7030. },
  7031. "trademode": {
  7032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7033. "type": "integer"
  7034. },
  7035. "videourls": {
  7036. "description": "介绍视频[多张用逗号分隔]",
  7037. "type": "string"
  7038. }
  7039. }
  7040. },
  7041. "models.HsbyPreGoodsDetail": {
  7042. "type": "object",
  7043. "required": [
  7044. "goodscode",
  7045. "goodsid",
  7046. "goodsname",
  7047. "marketid",
  7048. "trademode"
  7049. ],
  7050. "properties": {
  7051. "agreeunit": {
  7052. "description": "合约单位",
  7053. "type": "number"
  7054. },
  7055. "buymaxqty": {
  7056. "description": "购买上限 [71] - 0为不限",
  7057. "type": "integer"
  7058. },
  7059. "currency": {
  7060. "description": "货币",
  7061. "type": "string"
  7062. },
  7063. "currencysign": {
  7064. "description": "货币符号",
  7065. "type": "string"
  7066. },
  7067. "customername": {
  7068. "description": "发行单位",
  7069. "type": "string"
  7070. },
  7071. "decimalplace": {
  7072. "description": "报价小数位",
  7073. "type": "integer"
  7074. },
  7075. "desccityid": {
  7076. "description": "目的地(市)ID",
  7077. "type": "integer"
  7078. },
  7079. "descprovinceid": {
  7080. "description": "目的地(省)ID",
  7081. "type": "integer"
  7082. },
  7083. "enableqty": {
  7084. "description": "剩余数量",
  7085. "type": "integer"
  7086. },
  7087. "goodscode": {
  7088. "description": "商品代码(内部)",
  7089. "type": "string"
  7090. },
  7091. "goodsdesc": {
  7092. "description": "商品详情",
  7093. "type": "string"
  7094. },
  7095. "goodsid": {
  7096. "description": "商品ID(自增ID SEQ_GOODS)",
  7097. "type": "integer"
  7098. },
  7099. "goodsname": {
  7100. "description": "商品名称",
  7101. "type": "string"
  7102. },
  7103. "goodsstatus": {
  7104. "description": "商品状态- 2:未上市 3:上市",
  7105. "type": "integer"
  7106. },
  7107. "goodunit": {
  7108. "description": "报价单位",
  7109. "type": "string"
  7110. },
  7111. "lasttradedate": {
  7112. "description": "最后交易日期(状态:待退市)",
  7113. "type": "string"
  7114. },
  7115. "listingdate": {
  7116. "description": "交易开始日期",
  7117. "type": "string"
  7118. },
  7119. "lotsize": {
  7120. "description": "手数最小变动单位",
  7121. "type": "integer"
  7122. },
  7123. "marketid": {
  7124. "description": "所属市场ID",
  7125. "type": "integer"
  7126. },
  7127. "picurls": {
  7128. "description": "介绍图片[多张用逗号分隔]",
  7129. "type": "string"
  7130. },
  7131. "presaledqty": {
  7132. "description": "已预售量(预售结束时更新)",
  7133. "type": "integer"
  7134. },
  7135. "presaleqty": {
  7136. "description": "预售数量",
  7137. "type": "integer"
  7138. },
  7139. "quoteminunit": {
  7140. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7141. "type": "integer"
  7142. },
  7143. "refprice": {
  7144. "description": "参考价格[一口价]",
  7145. "type": "number"
  7146. },
  7147. "relatedgoodsid": {
  7148. "description": "关联交易合约ID",
  7149. "type": "integer"
  7150. },
  7151. "stepvalue": {
  7152. "description": "价格最小变动单位",
  7153. "type": "number"
  7154. },
  7155. "trademode": {
  7156. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7157. "type": "integer"
  7158. },
  7159. "vendorattr": {
  7160. "description": "供应商附件(多张,逗号分隔)",
  7161. "type": "string"
  7162. },
  7163. "vendorname": {
  7164. "description": "供应商名称",
  7165. "type": "string"
  7166. },
  7167. "vendorphone": {
  7168. "description": "供应商客服电话",
  7169. "type": "string"
  7170. },
  7171. "videourls": {
  7172. "description": "介绍视频[多张用逗号分隔]",
  7173. "type": "string"
  7174. }
  7175. }
  7176. },
  7177. "models.HsbySellCollectionOrder": {
  7178. "type": "object",
  7179. "required": [
  7180. "goodscode",
  7181. "goodsname",
  7182. "tradeid",
  7183. "trademode"
  7184. ],
  7185. "properties": {
  7186. "agreeunit": {
  7187. "description": "合约单位",
  7188. "type": "number"
  7189. },
  7190. "buyaccountid": {
  7191. "description": "买方账号ID[报价币种]",
  7192. "type": "integer"
  7193. },
  7194. "buyorderid": {
  7195. "description": "买方委托单号",
  7196. "type": "string"
  7197. },
  7198. "createtime": {
  7199. "description": "创建时间",
  7200. "type": "string"
  7201. },
  7202. "currencysign": {
  7203. "description": "货币符号",
  7204. "type": "string"
  7205. },
  7206. "decimalplace": {
  7207. "description": "报价小数位",
  7208. "type": "integer"
  7209. },
  7210. "goodscode": {
  7211. "description": "商品代码(内部)",
  7212. "type": "string"
  7213. },
  7214. "goodsid": {
  7215. "description": "商品ID",
  7216. "type": "integer"
  7217. },
  7218. "goodsname": {
  7219. "description": "商品名称",
  7220. "type": "string"
  7221. },
  7222. "marketid": {
  7223. "description": "市场ID",
  7224. "type": "integer"
  7225. },
  7226. "offamount": {
  7227. "description": "优惠金额",
  7228. "type": "number"
  7229. },
  7230. "payamount": {
  7231. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7232. "type": "number"
  7233. },
  7234. "payflag": {
  7235. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7236. "type": "integer"
  7237. },
  7238. "paylimitedtime": {
  7239. "description": "支付期限",
  7240. "type": "string"
  7241. },
  7242. "paytime": {
  7243. "description": "付款时间",
  7244. "type": "string"
  7245. },
  7246. "picurls": {
  7247. "description": "商品介绍图片[多张用逗号分隔]",
  7248. "type": "string"
  7249. },
  7250. "sellaccountid": {
  7251. "description": "卖方账号ID[报价币种]",
  7252. "type": "integer"
  7253. },
  7254. "sellorderid": {
  7255. "description": "卖方委托单号",
  7256. "type": "string"
  7257. },
  7258. "tradeamount": {
  7259. "description": "成交金额",
  7260. "type": "number"
  7261. },
  7262. "tradecharge": {
  7263. "description": "成交手续费(买方)",
  7264. "type": "number"
  7265. },
  7266. "tradedate": {
  7267. "description": "交易日(yyyyMMdd)",
  7268. "type": "string"
  7269. },
  7270. "tradeid": {
  7271. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7272. "type": "string"
  7273. },
  7274. "trademode": {
  7275. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7276. "type": "integer"
  7277. },
  7278. "tradeprice": {
  7279. "description": "成交价格",
  7280. "type": "number"
  7281. },
  7282. "tradeqty": {
  7283. "description": "成交数量",
  7284. "type": "integer"
  7285. }
  7286. }
  7287. },
  7288. "models.HsbySellMyDetail": {
  7289. "type": "object",
  7290. "required": [
  7291. "accountid",
  7292. "buyorsell",
  7293. "goodscode",
  7294. "goodsid",
  7295. "goodsname",
  7296. "marketid",
  7297. "orderid",
  7298. "orderqty",
  7299. "time",
  7300. "trademode"
  7301. ],
  7302. "properties": {
  7303. "accountid": {
  7304. "description": "账户ID[报价币种]",
  7305. "type": "integer"
  7306. },
  7307. "agreeunit": {
  7308. "description": "合约单位",
  7309. "type": "number"
  7310. },
  7311. "buyorsell": {
  7312. "description": "买卖 - 0:买 1:卖",
  7313. "type": "integer"
  7314. },
  7315. "cancelqty": {
  7316. "description": "撤单数量",
  7317. "type": "integer"
  7318. },
  7319. "currencysign": {
  7320. "description": "货币符号",
  7321. "type": "string"
  7322. },
  7323. "decimalplace": {
  7324. "description": "报价小数位",
  7325. "type": "integer"
  7326. },
  7327. "goodscode": {
  7328. "description": "商品代码(内部)",
  7329. "type": "string"
  7330. },
  7331. "goodsid": {
  7332. "description": "商品ID",
  7333. "type": "integer"
  7334. },
  7335. "goodsname": {
  7336. "description": "商品名称",
  7337. "type": "string"
  7338. },
  7339. "marketid": {
  7340. "description": "市场ID",
  7341. "type": "integer"
  7342. },
  7343. "orderid": {
  7344. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  7345. "type": "string"
  7346. },
  7347. "orderqty": {
  7348. "description": "委托数量",
  7349. "type": "integer"
  7350. },
  7351. "ordertype": {
  7352. "description": "单据类型:0 - 发布中, 1 - 已完成",
  7353. "type": "integer"
  7354. },
  7355. "picurls": {
  7356. "description": "介绍图片[多张用逗号分隔]",
  7357. "type": "string"
  7358. },
  7359. "price": {
  7360. "description": "价格",
  7361. "type": "number"
  7362. },
  7363. "time": {
  7364. "description": "时间",
  7365. "type": "string"
  7366. },
  7367. "trademode": {
  7368. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7369. "type": "integer"
  7370. },
  7371. "tradeqty": {
  7372. "description": "成交数量",
  7373. "type": "integer"
  7374. },
  7375. "vendorname": {
  7376. "description": "供应商名称",
  7377. "type": "string"
  7378. }
  7379. }
  7380. },
  7381. "models.HsbyTopGoods": {
  7382. "type": "object",
  7383. "required": [
  7384. "goodscode",
  7385. "goodsid",
  7386. "goodsname",
  7387. "marketid",
  7388. "trademode"
  7389. ],
  7390. "properties": {
  7391. "agreeunit": {
  7392. "description": "合约单位",
  7393. "type": "number"
  7394. },
  7395. "currency": {
  7396. "description": "货币",
  7397. "type": "string"
  7398. },
  7399. "currencysign": {
  7400. "description": "货币符号",
  7401. "type": "string"
  7402. },
  7403. "decimalplace": {
  7404. "description": "报价小数位",
  7405. "type": "integer"
  7406. },
  7407. "goodscode": {
  7408. "description": "商品代码(内部)",
  7409. "type": "string"
  7410. },
  7411. "goodsid": {
  7412. "description": "商品ID(自增ID SEQ_GOODS)",
  7413. "type": "integer"
  7414. },
  7415. "goodsname": {
  7416. "description": "商品名称",
  7417. "type": "string"
  7418. },
  7419. "hotindex": {
  7420. "description": "景点热度",
  7421. "type": "integer"
  7422. },
  7423. "last": {
  7424. "description": "现价",
  7425. "type": "number"
  7426. },
  7427. "marketid": {
  7428. "description": "所属市场ID",
  7429. "type": "integer"
  7430. },
  7431. "picurls": {
  7432. "description": "介绍图片[多张用逗号分隔]",
  7433. "type": "string"
  7434. },
  7435. "quoteminunit": {
  7436. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7437. "type": "integer"
  7438. },
  7439. "trademode": {
  7440. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7441. "type": "integer"
  7442. },
  7443. "videourls": {
  7444. "description": "介绍视频[多张用逗号分隔]",
  7445. "type": "string"
  7446. }
  7447. }
  7448. },
  7449. "models.HybsMyBuyOrderDetail": {
  7450. "type": "object",
  7451. "required": [
  7452. "accountid",
  7453. "buyorsell",
  7454. "goodscode",
  7455. "goodsid",
  7456. "goodsname",
  7457. "marketid",
  7458. "orderid",
  7459. "orderqty",
  7460. "ordertime",
  7461. "trademode"
  7462. ],
  7463. "properties": {
  7464. "accountid": {
  7465. "description": "账户ID[报价币种]",
  7466. "type": "integer"
  7467. },
  7468. "agreeunit": {
  7469. "description": "合约单位",
  7470. "type": "number"
  7471. },
  7472. "buyorsell": {
  7473. "description": "买卖 - 0:买 1:卖",
  7474. "type": "integer"
  7475. },
  7476. "cancelqty": {
  7477. "description": "撤单数量",
  7478. "type": "integer"
  7479. },
  7480. "currencysign": {
  7481. "description": "货币符号",
  7482. "type": "string"
  7483. },
  7484. "decimalplace": {
  7485. "description": "报价小数位",
  7486. "type": "integer"
  7487. },
  7488. "goodscode": {
  7489. "description": "商品代码(内部)",
  7490. "type": "string"
  7491. },
  7492. "goodsid": {
  7493. "description": "商品ID",
  7494. "type": "integer"
  7495. },
  7496. "goodsname": {
  7497. "description": "商品名称",
  7498. "type": "string"
  7499. },
  7500. "listingselecttype": {
  7501. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7502. "type": "integer"
  7503. },
  7504. "marketid": {
  7505. "description": "市场ID",
  7506. "type": "integer"
  7507. },
  7508. "mybuystatus": {
  7509. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7510. "type": "integer"
  7511. },
  7512. "orderamount": {
  7513. "description": "委托金额",
  7514. "type": "number"
  7515. },
  7516. "orderid": {
  7517. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7518. "type": "string"
  7519. },
  7520. "orderprice": {
  7521. "description": "委托价格",
  7522. "type": "number"
  7523. },
  7524. "orderqty": {
  7525. "description": "委托数量",
  7526. "type": "integer"
  7527. },
  7528. "orderstatus": {
  7529. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7530. "type": "integer"
  7531. },
  7532. "ordertime": {
  7533. "description": "委托时间",
  7534. "type": "string"
  7535. },
  7536. "picurls1": {
  7537. "description": "预售商品介绍图片[多张用逗号分隔]",
  7538. "type": "string"
  7539. },
  7540. "picurls2": {
  7541. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7542. "type": "string"
  7543. },
  7544. "trademode": {
  7545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7546. "type": "integer"
  7547. },
  7548. "tradeqty": {
  7549. "description": "成交数量",
  7550. "type": "integer"
  7551. },
  7552. "vendorname1": {
  7553. "description": "预售商品供应商名称",
  7554. "type": "string"
  7555. },
  7556. "vendorname2": {
  7557. "description": "挂牌商品供应商名称",
  7558. "type": "string"
  7559. }
  7560. }
  7561. },
  7562. "models.Messageboard": {
  7563. "type": "object",
  7564. "required": [
  7565. "messageboardid"
  7566. ],
  7567. "properties": {
  7568. "createtime": {
  7569. "description": "创建时间",
  7570. "type": "string"
  7571. },
  7572. "message": {
  7573. "description": "留言信息",
  7574. "type": "string"
  7575. },
  7576. "messageboardid": {
  7577. "description": "留言簿ID(SEQ_MessageBoard)",
  7578. "type": "integer"
  7579. },
  7580. "userid": {
  7581. "description": "用户ID",
  7582. "type": "integer"
  7583. }
  7584. }
  7585. },
  7586. "models.OperationPrimaryMenu": {
  7587. "type": "object",
  7588. "properties": {
  7589. "Children": {
  7590. "description": "二级功能菜单",
  7591. "type": "array",
  7592. "items": {
  7593. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7594. }
  7595. },
  7596. "Key": {
  7597. "description": "菜单KEY",
  7598. "type": "string"
  7599. },
  7600. "Label": {
  7601. "description": "菜单标题",
  7602. "type": "string"
  7603. }
  7604. }
  7605. },
  7606. "models.OperationSecondaryMenu": {
  7607. "type": "object",
  7608. "properties": {
  7609. "Key": {
  7610. "description": "菜单KEY",
  7611. "type": "string"
  7612. },
  7613. "Label": {
  7614. "description": "菜单标题",
  7615. "type": "string"
  7616. },
  7617. "TabList": {
  7618. "description": "三级功能菜单",
  7619. "type": "array",
  7620. "items": {
  7621. "$ref": "#/definitions/models.OperationTabMenu"
  7622. }
  7623. }
  7624. }
  7625. },
  7626. "models.OperationTabMenu": {
  7627. "type": "object",
  7628. "properties": {
  7629. "Key": {
  7630. "description": "菜单KEY",
  7631. "type": "string"
  7632. },
  7633. "Label": {
  7634. "description": "菜单标题",
  7635. "type": "string"
  7636. }
  7637. }
  7638. },
  7639. "models.QuotePrimaryMenu": {
  7640. "type": "object",
  7641. "properties": {
  7642. "Index": {
  7643. "description": "序号",
  7644. "type": "integer"
  7645. },
  7646. "Key": {
  7647. "description": "键名",
  7648. "type": "string"
  7649. },
  7650. "Name": {
  7651. "description": "菜单名称",
  7652. "type": "string"
  7653. },
  7654. "SubMenus": {
  7655. "description": "子菜单",
  7656. "type": "array",
  7657. "items": {
  7658. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7659. }
  7660. },
  7661. "SubTitleType": {
  7662. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7663. "type": "integer"
  7664. },
  7665. "TradeModes": {
  7666. "description": "包含市场交易类型",
  7667. "type": "string"
  7668. }
  7669. }
  7670. },
  7671. "models.QuoteSecondaryMenu": {
  7672. "type": "object",
  7673. "properties": {
  7674. "ExExchangeCode": {
  7675. "description": "外部交易所代码",
  7676. "type": "string"
  7677. },
  7678. "ExExchangeID": {
  7679. "description": "外部交易所ID",
  7680. "type": "integer"
  7681. },
  7682. "GoodsGroupIDs": {
  7683. "description": "商品组ID列表",
  7684. "type": "array",
  7685. "items": {
  7686. "type": "integer"
  7687. }
  7688. },
  7689. "Index": {
  7690. "description": "序号",
  7691. "type": "integer"
  7692. },
  7693. "MarketID": {
  7694. "description": "市场ID",
  7695. "type": "integer"
  7696. },
  7697. "MenuTitle": {
  7698. "description": "菜单标题(市场名称或外部交易所名称)",
  7699. "type": "string"
  7700. },
  7701. "TradeMode": {
  7702. "description": "交易模式",
  7703. "type": "integer"
  7704. }
  7705. }
  7706. },
  7707. "models.SearchGoods": {
  7708. "type": "object",
  7709. "required": [
  7710. "goodscode",
  7711. "goodsid",
  7712. "goodsname",
  7713. "marketid",
  7714. "trademode"
  7715. ],
  7716. "properties": {
  7717. "goodscode": {
  7718. "description": "商品代码(内部)",
  7719. "type": "string"
  7720. },
  7721. "goodsid": {
  7722. "description": "商品ID(自增ID SEQ_GOODS)",
  7723. "type": "integer"
  7724. },
  7725. "goodsname": {
  7726. "description": "商品名称",
  7727. "type": "string"
  7728. },
  7729. "marketid": {
  7730. "description": "所属市场ID",
  7731. "type": "integer"
  7732. },
  7733. "marketname": {
  7734. "description": "市场名称",
  7735. "type": "string"
  7736. },
  7737. "trademode": {
  7738. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7739. "type": "integer"
  7740. }
  7741. }
  7742. },
  7743. "models.Szdz2imageconfig": {
  7744. "type": "object",
  7745. "required": [
  7746. "configid"
  7747. ],
  7748. "properties": {
  7749. "configid": {
  7750. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7751. "type": "integer"
  7752. },
  7753. "imagepath": {
  7754. "description": "图片",
  7755. "type": "string"
  7756. },
  7757. "imagetype": {
  7758. "description": "类型 - 1:App首页轮播 2:我的",
  7759. "type": "integer"
  7760. },
  7761. "sort": {
  7762. "description": "排序",
  7763. "type": "integer"
  7764. },
  7765. "title": {
  7766. "description": "标题",
  7767. "type": "string"
  7768. },
  7769. "url": {
  7770. "description": "链接",
  7771. "type": "string"
  7772. }
  7773. }
  7774. },
  7775. "models.Szdz3convertconfig": {
  7776. "type": "object",
  7777. "required": [
  7778. "converttype",
  7779. "innergoodsid",
  7780. "outergoodscode"
  7781. ],
  7782. "properties": {
  7783. "canin": {
  7784. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  7785. "type": "integer"
  7786. },
  7787. "canout": {
  7788. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  7789. "type": "integer"
  7790. },
  7791. "converttype": {
  7792. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7793. "type": "integer"
  7794. },
  7795. "createtime": {
  7796. "description": "创建时间",
  7797. "type": "string"
  7798. },
  7799. "creatorid": {
  7800. "description": "创建人",
  7801. "type": "integer"
  7802. },
  7803. "daymaxvalue": {
  7804. "description": "当日最大转入限制",
  7805. "type": "number"
  7806. },
  7807. "freezedays": {
  7808. "description": "冻结天数 [5:花生米转交易]",
  7809. "type": "integer"
  7810. },
  7811. "innergoodsid": {
  7812. "description": "内部商品ID[交易]",
  7813. "type": "integer"
  7814. },
  7815. "inratio": {
  7816. "description": "目标值",
  7817. "type": "integer"
  7818. },
  7819. "modifierid": {
  7820. "description": "修改人",
  7821. "type": "integer"
  7822. },
  7823. "modifytime": {
  7824. "description": "修改时间",
  7825. "type": "string"
  7826. },
  7827. "outergoodscode": {
  7828. "description": "外部商品代码[JD\\PD]",
  7829. "type": "string"
  7830. },
  7831. "outratio": {
  7832. "description": "源值",
  7833. "type": "integer"
  7834. },
  7835. "pddecimalplace": {
  7836. "description": "PD小数位",
  7837. "type": "integer"
  7838. },
  7839. "timemaxvalue": {
  7840. "description": "单次最大转入限制",
  7841. "type": "number"
  7842. },
  7843. "timeminvalue": {
  7844. "description": "单次最小转入限制",
  7845. "type": "number"
  7846. }
  7847. }
  7848. },
  7849. "models.Szdz3searchwhitelist": {
  7850. "type": "object",
  7851. "required": [
  7852. "userid"
  7853. ],
  7854. "properties": {
  7855. "createtime": {
  7856. "description": "创建时间",
  7857. "type": "string"
  7858. },
  7859. "creatorid": {
  7860. "description": "创建人",
  7861. "type": "integer"
  7862. },
  7863. "modifierid": {
  7864. "description": "修改人",
  7865. "type": "integer"
  7866. },
  7867. "modifytime": {
  7868. "description": "修改时间",
  7869. "type": "string"
  7870. },
  7871. "userid": {
  7872. "description": "用户ID",
  7873. "type": "integer"
  7874. }
  7875. }
  7876. },
  7877. "models.Tablecolumnconfig": {
  7878. "type": "object",
  7879. "required": [
  7880. "autoid"
  7881. ],
  7882. "properties": {
  7883. "aligntype": {
  7884. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7885. "type": "integer"
  7886. },
  7887. "autoid": {
  7888. "description": "AutoID",
  7889. "type": "integer"
  7890. },
  7891. "columnfield": {
  7892. "description": "列字段",
  7893. "type": "string"
  7894. },
  7895. "columntitle": {
  7896. "description": "列Title",
  7897. "type": "string"
  7898. },
  7899. "columnwidth": {
  7900. "description": "列宽",
  7901. "type": "string"
  7902. },
  7903. "formatterstring": {
  7904. "description": "格式化字符",
  7905. "type": "string"
  7906. },
  7907. "formattertype": {
  7908. "description": "格式化类型",
  7909. "type": "string"
  7910. },
  7911. "groupname": {
  7912. "description": "表头分组名称",
  7913. "type": "string"
  7914. },
  7915. "isshow": {
  7916. "description": "是否显示 - 0:不显示 1:显示",
  7917. "type": "integer"
  7918. },
  7919. "needsummary": {
  7920. "description": "是否需要汇总 - 0:不需要 1:需要",
  7921. "type": "integer"
  7922. },
  7923. "orderindex": {
  7924. "description": "顺序",
  7925. "type": "integer"
  7926. },
  7927. "remark": {
  7928. "description": "备注",
  7929. "type": "string"
  7930. },
  7931. "summarytype": {
  7932. "description": "汇总类型 - 1:加总 2:最后一个",
  7933. "type": "integer"
  7934. },
  7935. "tablekey": {
  7936. "description": "列表Key",
  7937. "type": "string"
  7938. }
  7939. }
  7940. },
  7941. "models.Useraccount": {
  7942. "type": "object",
  7943. "required": [
  7944. "userid"
  7945. ],
  7946. "properties": {
  7947. "accountname": {
  7948. "description": "账户名称(机构名称)",
  7949. "type": "string"
  7950. },
  7951. "accountstatus": {
  7952. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7953. "type": "integer"
  7954. },
  7955. "auditremark": {
  7956. "description": "审核备注",
  7957. "type": "string"
  7958. },
  7959. "audittime": {
  7960. "description": "审核时间",
  7961. "type": "string"
  7962. },
  7963. "audituserid": {
  7964. "description": "审核人",
  7965. "type": "integer"
  7966. },
  7967. "broker": {
  7968. "description": "所属经纪人ID",
  7969. "type": "integer"
  7970. },
  7971. "canceltime": {
  7972. "description": "销户时间",
  7973. "type": "string"
  7974. },
  7975. "canceluserid": {
  7976. "description": "销户人",
  7977. "type": "integer"
  7978. },
  7979. "createtime": {
  7980. "description": "创建时间",
  7981. "type": "string"
  7982. },
  7983. "creatorid": {
  7984. "description": "创建人",
  7985. "type": "integer"
  7986. },
  7987. "hasauth": {
  7988. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7989. "type": "integer"
  7990. },
  7991. "isanonymous": {
  7992. "description": "是否匿名下单 - 0:否 1:是",
  7993. "type": "integer"
  7994. },
  7995. "maxinvestornum": {
  7996. "description": "最大用户数(经纪会员下投资者个数)",
  7997. "type": "integer"
  7998. },
  7999. "memberuserid": {
  8000. "description": "所属会员ID",
  8001. "type": "integer"
  8002. },
  8003. "modifierid": {
  8004. "description": "修改人",
  8005. "type": "integer"
  8006. },
  8007. "modifyremark": {
  8008. "description": "变更备注",
  8009. "type": "string"
  8010. },
  8011. "modifystatus": {
  8012. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  8013. "type": "integer"
  8014. },
  8015. "modifytime": {
  8016. "description": "修改时间",
  8017. "type": "string"
  8018. },
  8019. "parentuserid": {
  8020. "description": "所属机构ID",
  8021. "type": "integer"
  8022. },
  8023. "reckonaccountid": {
  8024. "description": "默认结算资金账号ID(机构分润使用) 作废",
  8025. "type": "integer"
  8026. },
  8027. "refercount": {
  8028. "description": "推荐总人数",
  8029. "type": "integer"
  8030. },
  8031. "refereeuserid": {
  8032. "description": "推荐人ID",
  8033. "type": "integer"
  8034. },
  8035. "refernum": {
  8036. "description": "推荐码",
  8037. "type": "string"
  8038. },
  8039. "subarealevelpath": {
  8040. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  8041. "type": "string"
  8042. },
  8043. "userid": {
  8044. "description": "用户ID",
  8045. "type": "integer"
  8046. },
  8047. "usertype": {
  8048. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8049. "type": "integer"
  8050. }
  8051. }
  8052. },
  8053. "models.Userfavoritegoods": {
  8054. "type": "object",
  8055. "required": [
  8056. "goodsid"
  8057. ],
  8058. "properties": {
  8059. "goodsid": {
  8060. "description": "商品ID",
  8061. "type": "integer"
  8062. }
  8063. }
  8064. },
  8065. "models.Userinfo": {
  8066. "type": "object",
  8067. "required": [
  8068. "userid"
  8069. ],
  8070. "properties": {
  8071. "address": {
  8072. "description": "地址",
  8073. "type": "string"
  8074. },
  8075. "attachment1": {
  8076. "description": "附件1",
  8077. "type": "string"
  8078. },
  8079. "attachment2": {
  8080. "description": "附件2",
  8081. "type": "string"
  8082. },
  8083. "bankaccount": {
  8084. "description": "银行帐号 (加密存储)",
  8085. "type": "string"
  8086. },
  8087. "bankaccountname": {
  8088. "description": "收款人名称",
  8089. "type": "string"
  8090. },
  8091. "bankcardfrontphotourl": {
  8092. "description": "银行卡正面照地址",
  8093. "type": "string"
  8094. },
  8095. "bankid": {
  8096. "description": "银行编码",
  8097. "type": "string"
  8098. },
  8099. "bankname": {
  8100. "description": "银行名称",
  8101. "type": "string"
  8102. },
  8103. "biznature": {
  8104. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8105. "type": "integer"
  8106. },
  8107. "bizscope": {
  8108. "description": "企业经营范围(企业)",
  8109. "type": "string"
  8110. },
  8111. "cardbackphotourl": {
  8112. "description": "证件背面图片地址",
  8113. "type": "string"
  8114. },
  8115. "cardfrontphotourl": {
  8116. "description": "证件正面图片地址",
  8117. "type": "string"
  8118. },
  8119. "cardnum": {
  8120. "description": "证件号码(加密存储)",
  8121. "type": "string"
  8122. },
  8123. "cardtypeid": {
  8124. "description": "证件类型ID",
  8125. "type": "integer"
  8126. },
  8127. "cityid": {
  8128. "description": "市",
  8129. "type": "integer"
  8130. },
  8131. "company": {
  8132. "description": "公司(个人)",
  8133. "type": "string"
  8134. },
  8135. "contactname": {
  8136. "description": "联系人",
  8137. "type": "string"
  8138. },
  8139. "countryid": {
  8140. "description": "国家",
  8141. "type": "integer"
  8142. },
  8143. "createtime": {
  8144. "description": "创建时间",
  8145. "type": "string"
  8146. },
  8147. "creatorid": {
  8148. "description": "创建人",
  8149. "type": "integer"
  8150. },
  8151. "customername": {
  8152. "description": "客户名称(企业名称)",
  8153. "type": "string"
  8154. },
  8155. "districtid": {
  8156. "description": "地区",
  8157. "type": "integer"
  8158. },
  8159. "email": {
  8160. "description": "邮件(加密存储)",
  8161. "type": "string"
  8162. },
  8163. "fax": {
  8164. "description": "传真(加密存储)",
  8165. "type": "string"
  8166. },
  8167. "halfbodyphotourl": {
  8168. "description": "半身照地址",
  8169. "type": "string"
  8170. },
  8171. "hasencrypt": {
  8172. "description": "数据是否已加密 - 0:未加密 1:已加密",
  8173. "type": "integer"
  8174. },
  8175. "headurl": {
  8176. "description": "头像地址",
  8177. "type": "string"
  8178. },
  8179. "legalcardbackphotourl": {
  8180. "description": "法人身份证背面照地址",
  8181. "type": "string"
  8182. },
  8183. "legalcardfrontphotourl": {
  8184. "description": "法人身份证正面照地址",
  8185. "type": "string"
  8186. },
  8187. "legalpersonname": {
  8188. "description": "法人姓名(企业)",
  8189. "type": "string"
  8190. },
  8191. "mobile": {
  8192. "description": "手机号码(加密存储)",
  8193. "type": "string"
  8194. },
  8195. "mobile2": {
  8196. "description": "手机号码[明文-尚志]",
  8197. "type": "string"
  8198. },
  8199. "modifierid": {
  8200. "description": "修改人",
  8201. "type": "integer"
  8202. },
  8203. "modifiertime": {
  8204. "description": "修改时间",
  8205. "type": "string"
  8206. },
  8207. "needinvoice": {
  8208. "description": "是否需要发票 - 0:不需要 1:需要",
  8209. "type": "integer"
  8210. },
  8211. "nickname": {
  8212. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  8213. "type": "string"
  8214. },
  8215. "openmode": {
  8216. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  8217. "type": "integer"
  8218. },
  8219. "otherurl": {
  8220. "description": "其它图片地址[使用分号分隔]",
  8221. "type": "string"
  8222. },
  8223. "postalcode": {
  8224. "description": "邮政编码",
  8225. "type": "string"
  8226. },
  8227. "provinceid": {
  8228. "description": "省",
  8229. "type": "integer"
  8230. },
  8231. "qq": {
  8232. "description": "QQ(加密存储",
  8233. "type": "string"
  8234. },
  8235. "remark": {
  8236. "description": "备注",
  8237. "type": "string"
  8238. },
  8239. "sex": {
  8240. "description": "用户性别 0: 女 1: 男",
  8241. "type": "integer"
  8242. },
  8243. "signpdfurl": {
  8244. "description": "签约pdf文件",
  8245. "type": "string"
  8246. },
  8247. "telphone": {
  8248. "description": "联系电话(加密存储)",
  8249. "type": "string"
  8250. },
  8251. "userid": {
  8252. "description": "用户ID",
  8253. "type": "integer"
  8254. },
  8255. "userinfotype": {
  8256. "description": "用户信息类型 - 1:个人 2:企业",
  8257. "type": "integer"
  8258. },
  8259. "userstatus": {
  8260. "description": "用户状态 - 1:正常 2:注销",
  8261. "type": "integer"
  8262. },
  8263. "usertype": {
  8264. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8265. "type": "integer"
  8266. },
  8267. "wechat": {
  8268. "description": "微信(加密存储)",
  8269. "type": "string"
  8270. },
  8271. "wskhinfo": {
  8272. "description": "开户申请信息(JSON)",
  8273. "type": "string"
  8274. }
  8275. }
  8276. },
  8277. "models.WRStandardInfo": {
  8278. "type": "object",
  8279. "required": [
  8280. "wrstandardid"
  8281. ],
  8282. "properties": {
  8283. "createtime": {
  8284. "description": "创建时间",
  8285. "type": "string"
  8286. },
  8287. "creatorid": {
  8288. "description": "创建人",
  8289. "type": "integer"
  8290. },
  8291. "deliverygoodsid": {
  8292. "description": "品种ID",
  8293. "type": "integer"
  8294. },
  8295. "deliverygoodsname": {
  8296. "description": "交割商品名称",
  8297. "type": "string"
  8298. },
  8299. "factoryitemjson": {
  8300. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8301. "type": "string"
  8302. },
  8303. "isvalid": {
  8304. "description": "是否有效 - 0:无效 1:有效",
  8305. "type": "integer"
  8306. },
  8307. "minivalue": {
  8308. "description": "最小变动值",
  8309. "type": "integer"
  8310. },
  8311. "minivaluedp": {
  8312. "description": "最小变动值小数位",
  8313. "type": "integer"
  8314. },
  8315. "realminivalue": {
  8316. "description": "实际最小变动值",
  8317. "type": "integer"
  8318. },
  8319. "realminivaluedp": {
  8320. "description": "实际最小变动值小数位",
  8321. "type": "integer"
  8322. },
  8323. "unitid": {
  8324. "description": "单位ID",
  8325. "type": "integer"
  8326. },
  8327. "unitname": {
  8328. "description": "单位",
  8329. "type": "string"
  8330. },
  8331. "updatetime": {
  8332. "description": "更新时间",
  8333. "type": "string"
  8334. },
  8335. "updatorid": {
  8336. "description": "更新人",
  8337. "type": "integer"
  8338. },
  8339. "wrsstatus": {
  8340. "description": "状态 - 作废 - 0:未激活 1:正常",
  8341. "type": "integer"
  8342. },
  8343. "wrstandardcode": {
  8344. "description": "仓单标准代码",
  8345. "type": "string"
  8346. },
  8347. "wrstandardid": {
  8348. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8349. "type": "integer"
  8350. },
  8351. "wrstandardname": {
  8352. "description": "仓单标准名称",
  8353. "type": "string"
  8354. }
  8355. }
  8356. },
  8357. "models.Warehouseinfo": {
  8358. "type": "object",
  8359. "required": [
  8360. "autoid",
  8361. "warehousecode"
  8362. ],
  8363. "properties": {
  8364. "address": {
  8365. "description": "详细地址",
  8366. "type": "string"
  8367. },
  8368. "areauserid": {
  8369. "description": "所属机构",
  8370. "type": "integer"
  8371. },
  8372. "autoid": {
  8373. "description": "自增ID",
  8374. "type": "integer"
  8375. },
  8376. "cityid": {
  8377. "description": "市",
  8378. "type": "integer"
  8379. },
  8380. "contactname": {
  8381. "description": "联系人",
  8382. "type": "string"
  8383. },
  8384. "contactnum": {
  8385. "description": "联系电话",
  8386. "type": "string"
  8387. },
  8388. "countryid": {
  8389. "description": "国家",
  8390. "type": "integer"
  8391. },
  8392. "createtime": {
  8393. "description": "创建时间",
  8394. "type": "string"
  8395. },
  8396. "districtid": {
  8397. "description": "区",
  8398. "type": "integer"
  8399. },
  8400. "hasvideo": {
  8401. "description": "是否有视频 - 0:无 1:有",
  8402. "type": "integer"
  8403. },
  8404. "provinceid": {
  8405. "description": "省",
  8406. "type": "integer"
  8407. },
  8408. "remark": {
  8409. "description": "审核备注",
  8410. "type": "string"
  8411. },
  8412. "videourl": {
  8413. "description": "视频地址",
  8414. "type": "string"
  8415. },
  8416. "warehousecode": {
  8417. "description": "仓库代码",
  8418. "type": "string"
  8419. },
  8420. "warehousename": {
  8421. "description": "仓库名称",
  8422. "type": "string"
  8423. },
  8424. "warehousestatus": {
  8425. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8426. "type": "integer"
  8427. },
  8428. "warehousetype": {
  8429. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8430. "type": "integer"
  8431. }
  8432. }
  8433. },
  8434. "order.QueryHisTradeDetailRsp": {
  8435. "type": "object",
  8436. "required": [
  8437. "accountid",
  8438. "buyorsell",
  8439. "goodsid",
  8440. "histradedate",
  8441. "marketid",
  8442. "memberuserid",
  8443. "orderid",
  8444. "tradeamount",
  8445. "tradedate",
  8446. "tradeid",
  8447. "tradeprice",
  8448. "tradeqty",
  8449. "tradetime"
  8450. ],
  8451. "properties": {
  8452. "accountid": {
  8453. "description": "账户ID[报价币种]",
  8454. "type": "integer"
  8455. },
  8456. "buildtype": {
  8457. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8458. "type": "integer"
  8459. },
  8460. "buyorsell": {
  8461. "description": "方向 - 0:买 1:卖",
  8462. "type": "integer"
  8463. },
  8464. "charge": {
  8465. "description": "手续费",
  8466. "type": "number"
  8467. },
  8468. "closecharge": {
  8469. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8470. "type": "number"
  8471. },
  8472. "closeexchagechargevalue": {
  8473. "description": "平仓交易所手续费设置值",
  8474. "type": "number"
  8475. },
  8476. "closefeealgorithm": {
  8477. "description": "平仓手续费收取方式 1:比率 2:固定",
  8478. "type": "integer"
  8479. },
  8480. "closememberchargevalue": {
  8481. "description": "平仓会员手续费设置值",
  8482. "type": "number"
  8483. },
  8484. "closepl": {
  8485. "description": "平仓盈亏",
  8486. "type": "number"
  8487. },
  8488. "closepl2": {
  8489. "description": "平仓盈亏[逐笔]",
  8490. "type": "number"
  8491. },
  8492. "closeqty": {
  8493. "description": "平仓数量(先建后平操作 需要记录)",
  8494. "type": "integer"
  8495. },
  8496. "creditamount": {
  8497. "description": "授信金额",
  8498. "type": "number"
  8499. },
  8500. "gcaccountid": {
  8501. "description": "账户ID[合约币种]",
  8502. "type": "integer"
  8503. },
  8504. "goodscode": {
  8505. "description": "商品代码",
  8506. "type": "string"
  8507. },
  8508. "goodsid": {
  8509. "description": "商品ID",
  8510. "type": "integer"
  8511. },
  8512. "goodsname": {
  8513. "description": "商品名称",
  8514. "type": "string"
  8515. },
  8516. "histradedate": {
  8517. "description": "历史交易日",
  8518. "type": "string"
  8519. },
  8520. "intclosepl": {
  8521. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8522. "type": "integer"
  8523. },
  8524. "isconfirmexercise": {
  8525. "description": "是否确认行权- 0:否 1:是",
  8526. "type": "integer"
  8527. },
  8528. "ismain": {
  8529. "description": "是否主单 - 0:不是 1:是",
  8530. "type": "integer"
  8531. },
  8532. "ispreexercise": {
  8533. "description": "是否预申报- 0:否 1:是",
  8534. "type": "integer"
  8535. },
  8536. "isreckoned": {
  8537. "description": "是否结算 - 0:未结算 1:已结算",
  8538. "type": "integer"
  8539. },
  8540. "isvaliddata": {
  8541. "description": "是否有效 - 0:无效 1:有效",
  8542. "type": "integer"
  8543. },
  8544. "listingselecttype": {
  8545. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8546. "type": "integer"
  8547. },
  8548. "marketid": {
  8549. "description": "市场ID",
  8550. "type": "integer"
  8551. },
  8552. "marketname": {
  8553. "description": "市场名称",
  8554. "type": "string"
  8555. },
  8556. "matchaccountid": {
  8557. "description": "对手账号id",
  8558. "type": "integer"
  8559. },
  8560. "memberuserid": {
  8561. "description": "会员id 个人投资者 需要填写",
  8562. "type": "integer"
  8563. },
  8564. "opencharge": {
  8565. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8566. "type": "number"
  8567. },
  8568. "openexchagechargevalue": {
  8569. "description": "建仓交易所手续费设置值",
  8570. "type": "number"
  8571. },
  8572. "openfeealgorithm": {
  8573. "description": "建仓手续费收取方式 1:比率 2:固定",
  8574. "type": "integer"
  8575. },
  8576. "openmemberchargevalue": {
  8577. "description": "建仓会员手续费设置值",
  8578. "type": "number"
  8579. },
  8580. "openqty": {
  8581. "description": "开仓数量(先建后平操作 需要记录)",
  8582. "type": "integer"
  8583. },
  8584. "optiontype": {
  8585. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8586. "type": "integer"
  8587. },
  8588. "orderid": {
  8589. "description": "委托单号",
  8590. "type": "string"
  8591. },
  8592. "performanceplanid": {
  8593. "description": "履约计划ID[期权]",
  8594. "type": "integer"
  8595. },
  8596. "performancestatus": {
  8597. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8598. "type": "integer"
  8599. },
  8600. "preexerciseprice": {
  8601. "description": "预申报价格",
  8602. "type": "number"
  8603. },
  8604. "premium": {
  8605. "description": "权利金 - [持仓单的权利金]",
  8606. "type": "number"
  8607. },
  8608. "relatedouttradeid": {
  8609. "description": "关联外部成交单ID",
  8610. "type": "integer"
  8611. },
  8612. "status": {
  8613. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8614. "type": "integer"
  8615. },
  8616. "tradeamount": {
  8617. "description": "成交金额[账户币种,用于所有权]",
  8618. "type": "number"
  8619. },
  8620. "tradedate": {
  8621. "description": "交易日(yyyyMMdd)",
  8622. "type": "string"
  8623. },
  8624. "tradeid": {
  8625. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8626. "type": "string"
  8627. },
  8628. "trademode": {
  8629. "description": "交易模式",
  8630. "type": "integer"
  8631. },
  8632. "tradeprice": {
  8633. "description": "成交价格",
  8634. "type": "number"
  8635. },
  8636. "tradeproperty": {
  8637. "description": "交易属性",
  8638. "type": "integer"
  8639. },
  8640. "tradeqty": {
  8641. "description": "成交数量",
  8642. "type": "integer"
  8643. },
  8644. "tradetime": {
  8645. "description": "成交时间",
  8646. "type": "string"
  8647. },
  8648. "tradetype": {
  8649. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8650. "type": "integer"
  8651. }
  8652. }
  8653. },
  8654. "order.QueryHisTradeOrderDetailRsp": {
  8655. "type": "object",
  8656. "required": [
  8657. "accountid",
  8658. "buildtype",
  8659. "buyorsell",
  8660. "goodsid",
  8661. "histradedate",
  8662. "marketid",
  8663. "memberuserid",
  8664. "operatetype",
  8665. "orderid",
  8666. "orderqty",
  8667. "ordertime",
  8668. "pricemode",
  8669. "tradedate",
  8670. "validtype"
  8671. ],
  8672. "properties": {
  8673. "accountid": {
  8674. "description": "账户ID[报价币种]",
  8675. "type": "integer"
  8676. },
  8677. "buildtype": {
  8678. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8679. "type": "integer"
  8680. },
  8681. "buyorsell": {
  8682. "description": "买卖 - 0:买 1:卖",
  8683. "type": "integer"
  8684. },
  8685. "cancelorderid": {
  8686. "description": "撤单单号(撤单时填写)",
  8687. "type": "string"
  8688. },
  8689. "cancelqty": {
  8690. "description": "撤单数量",
  8691. "type": "integer"
  8692. },
  8693. "clientordertime": {
  8694. "description": "客户端委托时间",
  8695. "type": "string"
  8696. },
  8697. "clientticket": {
  8698. "description": "客户端流水号",
  8699. "type": "string"
  8700. },
  8701. "clienttype": {
  8702. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8703. "type": "integer"
  8704. },
  8705. "closeexchagechargevalue": {
  8706. "description": "平仓交易所手续费设置值",
  8707. "type": "number"
  8708. },
  8709. "closefeealgorithm": {
  8710. "description": "平仓手续费收取方式 1:比率 2:固定",
  8711. "type": "integer"
  8712. },
  8713. "closefreezecharge": {
  8714. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8715. "type": "number"
  8716. },
  8717. "closememberchargevalue": {
  8718. "description": "平仓会员手续费设置值",
  8719. "type": "number"
  8720. },
  8721. "closeqty": {
  8722. "description": "平仓数量(先建后平操作 需要记录)",
  8723. "type": "integer"
  8724. },
  8725. "closetradeqty": {
  8726. "description": "平仓成交数量(先建后平操作,需要记录)",
  8727. "type": "integer"
  8728. },
  8729. "closeunfreezecharge": {
  8730. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8731. "type": "number"
  8732. },
  8733. "delistingtype": {
  8734. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8735. "type": "integer"
  8736. },
  8737. "freezecharge": {
  8738. "description": "冻结手续费",
  8739. "type": "number"
  8740. },
  8741. "freezemargin": {
  8742. "description": "冻结保证金(冻结交易金额)",
  8743. "type": "number"
  8744. },
  8745. "gcaccountid": {
  8746. "description": "账户ID[合约币种]",
  8747. "type": "integer"
  8748. },
  8749. "goodscode": {
  8750. "description": "商品代码",
  8751. "type": "string"
  8752. },
  8753. "goodsid": {
  8754. "description": "商品ID",
  8755. "type": "integer"
  8756. },
  8757. "goodsname": {
  8758. "description": "商品名称",
  8759. "type": "string"
  8760. },
  8761. "histradedate": {
  8762. "description": "历史交易日",
  8763. "type": "string"
  8764. },
  8765. "isconfirmexercise": {
  8766. "description": "是否确认行权- 0:否 1:是",
  8767. "type": "integer"
  8768. },
  8769. "ispreexercise": {
  8770. "description": "是否预申报- 0:否 1:是",
  8771. "type": "integer"
  8772. },
  8773. "isvaliddata": {
  8774. "description": "是否有效 - 0:无效 1:有效",
  8775. "type": "integer"
  8776. },
  8777. "listingselecttype": {
  8778. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8779. "type": "integer"
  8780. },
  8781. "marginalgorithm": {
  8782. "description": "保证金收取方式 1:比率 2:固定",
  8783. "type": "integer"
  8784. },
  8785. "marginvalue": {
  8786. "description": "即市保证金设置值",
  8787. "type": "number"
  8788. },
  8789. "marketid": {
  8790. "description": "市场ID",
  8791. "type": "integer"
  8792. },
  8793. "marketmaxsub": {
  8794. "description": "市价最大偏移范围",
  8795. "type": "number"
  8796. },
  8797. "marketname": {
  8798. "description": "市场名称",
  8799. "type": "string"
  8800. },
  8801. "memberuserid": {
  8802. "description": "所属会员UserID",
  8803. "type": "integer"
  8804. },
  8805. "openexchagechargevalue": {
  8806. "description": "建仓交易所手续费设置值",
  8807. "type": "number"
  8808. },
  8809. "openfeealgorithm": {
  8810. "description": "建仓手续费收取方式 1:比率 2:固定",
  8811. "type": "integer"
  8812. },
  8813. "openfreezecharge": {
  8814. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8815. "type": "number"
  8816. },
  8817. "openmemberchargevalue": {
  8818. "description": "建仓会员手续费设置值",
  8819. "type": "number"
  8820. },
  8821. "openqty": {
  8822. "description": "开仓数量(先建后平操作,需要记录)",
  8823. "type": "integer"
  8824. },
  8825. "opentradeqty": {
  8826. "description": "开仓成交数量(先建后平操作,需要记录)",
  8827. "type": "integer"
  8828. },
  8829. "openunfreezecharge": {
  8830. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8831. "type": "number"
  8832. },
  8833. "operatetype": {
  8834. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8835. "type": "integer"
  8836. },
  8837. "operatorid": {
  8838. "description": "登录账号(LoginID)",
  8839. "type": "integer"
  8840. },
  8841. "optiontype": {
  8842. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8843. "type": "integer"
  8844. },
  8845. "orderid": {
  8846. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8847. "type": "string"
  8848. },
  8849. "orderprice": {
  8850. "description": "委托价格",
  8851. "type": "number"
  8852. },
  8853. "orderqty": {
  8854. "description": "委托数量",
  8855. "type": "integer"
  8856. },
  8857. "ordersrc": {
  8858. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8859. "type": "integer"
  8860. },
  8861. "orderstatus": {
  8862. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8863. "type": "integer"
  8864. },
  8865. "ordertime": {
  8866. "description": "委托时间",
  8867. "type": "string"
  8868. },
  8869. "preexerciseprice": {
  8870. "description": "预申报价格",
  8871. "type": "number"
  8872. },
  8873. "premium": {
  8874. "description": "权利金",
  8875. "type": "number"
  8876. },
  8877. "preorderid": {
  8878. "description": "关联预埋单号(止盈止损单时填写)",
  8879. "type": "string"
  8880. },
  8881. "pricemode": {
  8882. "description": "取价方式 - 1:市价 2: 限价",
  8883. "type": "integer"
  8884. },
  8885. "quoteid": {
  8886. "description": "报价单ID",
  8887. "type": "integer"
  8888. },
  8889. "relatedid": {
  8890. "description": "关联单号(交割单)",
  8891. "type": "string"
  8892. },
  8893. "retcode": {
  8894. "description": "错误代码",
  8895. "type": "integer"
  8896. },
  8897. "sessionid": {
  8898. "description": "会话ID",
  8899. "type": "integer"
  8900. },
  8901. "tradedate": {
  8902. "description": "交易日(yyyyMMdd)",
  8903. "type": "string"
  8904. },
  8905. "trademode": {
  8906. "description": "交易模式",
  8907. "type": "integer"
  8908. },
  8909. "tradeproperty": {
  8910. "description": "交易属性",
  8911. "type": "integer"
  8912. },
  8913. "tradeqty": {
  8914. "description": "成交数量",
  8915. "type": "integer"
  8916. },
  8917. "unfreezecharge": {
  8918. "description": "解冻手续费",
  8919. "type": "number"
  8920. },
  8921. "unfreezemargin": {
  8922. "description": "解冻保证金",
  8923. "type": "number"
  8924. },
  8925. "updatetime": {
  8926. "description": "更新时间",
  8927. "type": "string"
  8928. },
  8929. "uuid": {
  8930. "description": "发起端唯一id",
  8931. "type": "string"
  8932. },
  8933. "validtime": {
  8934. "description": "有效期限",
  8935. "type": "string"
  8936. },
  8937. "validtype": {
  8938. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8939. "type": "integer"
  8940. },
  8941. "volumetype": {
  8942. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8943. "type": "integer"
  8944. }
  8945. }
  8946. },
  8947. "order.QueryTradeDetailRsp": {
  8948. "type": "object",
  8949. "required": [
  8950. "accountid",
  8951. "buyorsell",
  8952. "goodsid",
  8953. "marketid",
  8954. "memberuserid",
  8955. "orderid",
  8956. "tradeamount",
  8957. "tradedate",
  8958. "tradeid",
  8959. "tradeprice",
  8960. "tradeqty",
  8961. "tradetime"
  8962. ],
  8963. "properties": {
  8964. "accountid": {
  8965. "description": "账户ID[报价币种]",
  8966. "type": "integer"
  8967. },
  8968. "buildtype": {
  8969. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8970. "type": "integer"
  8971. },
  8972. "buyorsell": {
  8973. "description": "方向 - 0:买 1:卖",
  8974. "type": "integer"
  8975. },
  8976. "charge": {
  8977. "description": "手续费",
  8978. "type": "number"
  8979. },
  8980. "closecharge": {
  8981. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8982. "type": "number"
  8983. },
  8984. "closeexchagechargevalue": {
  8985. "description": "平仓交易所手续费设置值",
  8986. "type": "number"
  8987. },
  8988. "closefeealgorithm": {
  8989. "description": "平仓手续费收取方式 1:比率 2:固定",
  8990. "type": "integer"
  8991. },
  8992. "closememberchargevalue": {
  8993. "description": "平仓会员手续费设置值",
  8994. "type": "number"
  8995. },
  8996. "closepl": {
  8997. "description": "平仓盈亏",
  8998. "type": "number"
  8999. },
  9000. "closepl2": {
  9001. "description": "平仓盈亏[逐笔]",
  9002. "type": "number"
  9003. },
  9004. "closeqty": {
  9005. "description": "平仓数量(先建后平操作 需要记录)",
  9006. "type": "integer"
  9007. },
  9008. "creditamount": {
  9009. "description": "授信金额",
  9010. "type": "number"
  9011. },
  9012. "gcaccountid": {
  9013. "description": "账户ID[合约币种]",
  9014. "type": "integer"
  9015. },
  9016. "goodscode": {
  9017. "description": "商品代码",
  9018. "type": "string"
  9019. },
  9020. "goodsid": {
  9021. "description": "商品ID",
  9022. "type": "integer"
  9023. },
  9024. "goodsname": {
  9025. "description": "商品名称",
  9026. "type": "string"
  9027. },
  9028. "intclosepl": {
  9029. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9030. "type": "integer"
  9031. },
  9032. "isconfirmexercise": {
  9033. "description": "是否确认行权- 0:否 1:是",
  9034. "type": "integer"
  9035. },
  9036. "ismain": {
  9037. "description": "是否主单 - 0:不是 1:是",
  9038. "type": "integer"
  9039. },
  9040. "ispreexercise": {
  9041. "description": "是否预申报- 0:否 1:是",
  9042. "type": "integer"
  9043. },
  9044. "isreckoned": {
  9045. "description": "是否结算 - 0:未结算 1:已结算",
  9046. "type": "integer"
  9047. },
  9048. "listingselecttype": {
  9049. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9050. "type": "integer"
  9051. },
  9052. "marketid": {
  9053. "description": "市场ID",
  9054. "type": "integer"
  9055. },
  9056. "marketname": {
  9057. "description": "市场名称",
  9058. "type": "string"
  9059. },
  9060. "matchaccountid": {
  9061. "description": "对手账号id",
  9062. "type": "integer"
  9063. },
  9064. "memberuserid": {
  9065. "description": "会员id 个人投资者 需要填写",
  9066. "type": "integer"
  9067. },
  9068. "opencharge": {
  9069. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9070. "type": "number"
  9071. },
  9072. "openexchagechargevalue": {
  9073. "description": "建仓交易所手续费设置值",
  9074. "type": "number"
  9075. },
  9076. "openfeealgorithm": {
  9077. "description": "建仓手续费收取方式 1:比率 2:固定",
  9078. "type": "integer"
  9079. },
  9080. "openmemberchargevalue": {
  9081. "description": "建仓会员手续费设置值",
  9082. "type": "number"
  9083. },
  9084. "openqty": {
  9085. "description": "开仓数量(先建后平操作 需要记录)",
  9086. "type": "integer"
  9087. },
  9088. "optiontype": {
  9089. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9090. "type": "integer"
  9091. },
  9092. "orderid": {
  9093. "description": "委托单号",
  9094. "type": "string"
  9095. },
  9096. "performanceplanid": {
  9097. "description": "履约计划ID[期权]",
  9098. "type": "integer"
  9099. },
  9100. "performancestatus": {
  9101. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9102. "type": "integer"
  9103. },
  9104. "preexerciseprice": {
  9105. "description": "预申报价格",
  9106. "type": "number"
  9107. },
  9108. "premium": {
  9109. "description": "权利金 - [持仓单的权利金]",
  9110. "type": "number"
  9111. },
  9112. "relatedouttradeid": {
  9113. "description": "关联外部成交单ID",
  9114. "type": "integer"
  9115. },
  9116. "status": {
  9117. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9118. "type": "integer"
  9119. },
  9120. "tradeamount": {
  9121. "description": "成交金额[账户币种,用于所有权]",
  9122. "type": "number"
  9123. },
  9124. "tradedate": {
  9125. "description": "交易日(yyyyMMdd)",
  9126. "type": "string"
  9127. },
  9128. "tradeid": {
  9129. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9130. "type": "string"
  9131. },
  9132. "trademode": {
  9133. "description": "交易模式",
  9134. "type": "integer"
  9135. },
  9136. "tradeprice": {
  9137. "description": "成交价格",
  9138. "type": "number"
  9139. },
  9140. "tradeproperty": {
  9141. "description": "交易属性",
  9142. "type": "integer"
  9143. },
  9144. "tradeqty": {
  9145. "description": "成交数量",
  9146. "type": "integer"
  9147. },
  9148. "tradetime": {
  9149. "description": "成交时间",
  9150. "type": "string"
  9151. },
  9152. "tradetype": {
  9153. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9154. "type": "integer"
  9155. }
  9156. }
  9157. },
  9158. "order.QueryTradeOrderDetailRsp": {
  9159. "type": "object",
  9160. "required": [
  9161. "accountid",
  9162. "buildtype",
  9163. "buyorsell",
  9164. "goodsid",
  9165. "marketid",
  9166. "operatetype",
  9167. "orderqty",
  9168. "ordertime",
  9169. "pricemode",
  9170. "tradedate",
  9171. "validtype"
  9172. ],
  9173. "properties": {
  9174. "accountid": {
  9175. "description": "账户ID[报价币种]",
  9176. "type": "integer"
  9177. },
  9178. "buildtype": {
  9179. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9180. "type": "integer"
  9181. },
  9182. "buyorsell": {
  9183. "description": "买卖 - 0:买 1:卖",
  9184. "type": "integer"
  9185. },
  9186. "cancelorderid": {
  9187. "description": "撤单单号(撤单时填写)",
  9188. "type": "string"
  9189. },
  9190. "cancelqty": {
  9191. "description": "撤单数量",
  9192. "type": "integer"
  9193. },
  9194. "clienttype": {
  9195. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9196. "type": "integer"
  9197. },
  9198. "closefreezecharge": {
  9199. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9200. "type": "number"
  9201. },
  9202. "closeqty": {
  9203. "description": "平仓数量(先建后平操作 需要记录)",
  9204. "type": "integer"
  9205. },
  9206. "closetradeqty": {
  9207. "description": "平仓成交数量(先建后平操作,需要记录)",
  9208. "type": "integer"
  9209. },
  9210. "closeunfreezecharge": {
  9211. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9212. "type": "number"
  9213. },
  9214. "delistingtype": {
  9215. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9216. "type": "integer"
  9217. },
  9218. "enableqty": {
  9219. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  9220. "type": "integer"
  9221. },
  9222. "freezecharge": {
  9223. "description": "冻结手续费",
  9224. "type": "number"
  9225. },
  9226. "freezemargin": {
  9227. "description": "冻结保证金(冻结交易金额)",
  9228. "type": "number"
  9229. },
  9230. "goodscode": {
  9231. "description": "商品代码",
  9232. "type": "string"
  9233. },
  9234. "goodsid": {
  9235. "description": "商品ID",
  9236. "type": "integer"
  9237. },
  9238. "goodsname": {
  9239. "description": "商品名称",
  9240. "type": "string"
  9241. },
  9242. "listingselecttype": {
  9243. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9244. "type": "integer"
  9245. },
  9246. "marketid": {
  9247. "description": "市场ID",
  9248. "type": "integer"
  9249. },
  9250. "marketname": {
  9251. "description": "市场名称",
  9252. "type": "string"
  9253. },
  9254. "openfreezecharge": {
  9255. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9256. "type": "number"
  9257. },
  9258. "openqty": {
  9259. "description": "开仓数量(先建后平操作,需要记录)",
  9260. "type": "integer"
  9261. },
  9262. "opentradeqty": {
  9263. "description": "开仓成交数量(先建后平操作,需要记录)",
  9264. "type": "integer"
  9265. },
  9266. "openunfreezecharge": {
  9267. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9268. "type": "number"
  9269. },
  9270. "operatetype": {
  9271. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9272. "type": "integer"
  9273. },
  9274. "operatorid": {
  9275. "description": "登录账号(LoginID)",
  9276. "type": "integer"
  9277. },
  9278. "orderid": {
  9279. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9280. "type": "string"
  9281. },
  9282. "orderprice": {
  9283. "description": "委托价格",
  9284. "type": "number"
  9285. },
  9286. "orderqty": {
  9287. "description": "委托数量",
  9288. "type": "integer"
  9289. },
  9290. "ordersrc": {
  9291. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9292. "type": "integer"
  9293. },
  9294. "orderstatus": {
  9295. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9296. "type": "integer"
  9297. },
  9298. "ordertime": {
  9299. "description": "委托时间",
  9300. "type": "string"
  9301. },
  9302. "preorderid": {
  9303. "description": "关联预埋单号(止盈止损单时填写)",
  9304. "type": "string"
  9305. },
  9306. "pricemode": {
  9307. "description": "取价方式 - 1:市价 2: 限价",
  9308. "type": "integer"
  9309. },
  9310. "relatedid": {
  9311. "description": "关联单号(交割单)",
  9312. "type": "string"
  9313. },
  9314. "tradedate": {
  9315. "description": "交易日(yyyyMMdd)",
  9316. "type": "string"
  9317. },
  9318. "trademode": {
  9319. "description": "交易模式",
  9320. "type": "integer"
  9321. },
  9322. "tradeqty": {
  9323. "description": "成交数量",
  9324. "type": "integer"
  9325. },
  9326. "unfreezecharge": {
  9327. "description": "解冻手续费",
  9328. "type": "number"
  9329. },
  9330. "unfreezemargin": {
  9331. "description": "解冻保证金",
  9332. "type": "number"
  9333. },
  9334. "validtime": {
  9335. "description": "有效期限",
  9336. "type": "string"
  9337. },
  9338. "validtype": {
  9339. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9340. "type": "integer"
  9341. },
  9342. "volumetype": {
  9343. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9344. "type": "integer"
  9345. }
  9346. }
  9347. },
  9348. "order.QueryTradePositionRsp": {
  9349. "type": "object",
  9350. "required": [
  9351. "goodsid"
  9352. ],
  9353. "properties": {
  9354. "accountid": {
  9355. "description": "资金账户",
  9356. "type": "integer"
  9357. },
  9358. "agreeunit": {
  9359. "description": "合约单位",
  9360. "type": "number"
  9361. },
  9362. "averageprice": {
  9363. "description": "持仓均价",
  9364. "type": "number"
  9365. },
  9366. "buyorsell": {
  9367. "description": "方向 - 0:买 1:卖",
  9368. "type": "integer"
  9369. },
  9370. "closetotalqty": {
  9371. "description": "平仓总数量",
  9372. "type": "integer"
  9373. },
  9374. "curholderamount": {
  9375. "description": "当前持仓总金额[商品币种]",
  9376. "type": "number"
  9377. },
  9378. "curpositionqty": {
  9379. "description": "当前持仓总数量",
  9380. "type": "integer"
  9381. },
  9382. "currencyid": {
  9383. "description": "报价货币ID",
  9384. "type": "integer"
  9385. },
  9386. "curtdposition": {
  9387. "description": "期末今日头寸",
  9388. "type": "integer"
  9389. },
  9390. "decimalplace": {
  9391. "description": "报价小数位",
  9392. "type": "integer"
  9393. },
  9394. "enableqty": {
  9395. "description": "可用量",
  9396. "type": "integer"
  9397. },
  9398. "fretdposition": {
  9399. "description": "冻结今日头寸",
  9400. "type": "integer"
  9401. },
  9402. "frozenqty": {
  9403. "description": "持仓冻结数量",
  9404. "type": "integer"
  9405. },
  9406. "goodscode": {
  9407. "description": "商品代码",
  9408. "type": "string"
  9409. },
  9410. "goodsid": {
  9411. "description": "商品Id",
  9412. "type": "integer"
  9413. },
  9414. "goodsname": {
  9415. "description": "商品名称",
  9416. "type": "string"
  9417. },
  9418. "goodunit": {
  9419. "description": "报价单位",
  9420. "type": "string"
  9421. },
  9422. "goodunitid": {
  9423. "description": "报价单位ID",
  9424. "type": "integer"
  9425. },
  9426. "holderamount": {
  9427. "description": "期初持仓总金额[商品币种]",
  9428. "type": "number"
  9429. },
  9430. "marketid": {
  9431. "description": "所属市场ID",
  9432. "type": "integer"
  9433. },
  9434. "openreqqty": {
  9435. "description": "开仓申请数量(用于比较最大持仓数量)",
  9436. "type": "integer"
  9437. },
  9438. "opentotalqty": {
  9439. "description": "开仓总数量",
  9440. "type": "integer"
  9441. },
  9442. "otherfrozenqty": {
  9443. "description": "持仓其他冻结数量(交割冻结)",
  9444. "type": "integer"
  9445. },
  9446. "positionqty": {
  9447. "description": "期初持仓数量",
  9448. "type": "integer"
  9449. },
  9450. "tnqty": {
  9451. "description": "T+N冻结总量",
  9452. "type": "integer"
  9453. },
  9454. "tnusedqty": {
  9455. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9456. "type": "integer"
  9457. },
  9458. "trademode": {
  9459. "description": "交易模式",
  9460. "type": "integer"
  9461. },
  9462. "usedmargin": {
  9463. "description": "占用保证金[商品币种]",
  9464. "type": "number"
  9465. }
  9466. }
  9467. },
  9468. "quote.HistoryData": {
  9469. "type": "object",
  9470. "properties": {
  9471. "c": {
  9472. "description": "收盘价",
  9473. "type": "number"
  9474. },
  9475. "h": {
  9476. "description": "最高价",
  9477. "type": "number"
  9478. },
  9479. "hv": {
  9480. "description": "持仓量",
  9481. "type": "integer"
  9482. },
  9483. "l": {
  9484. "description": "最低价",
  9485. "type": "number"
  9486. },
  9487. "o": {
  9488. "description": "开盘价",
  9489. "type": "number"
  9490. },
  9491. "s": {
  9492. "description": "结算价,日线周期(包括)以上才有",
  9493. "type": "number"
  9494. },
  9495. "ts": {
  9496. "description": "时间",
  9497. "type": "string"
  9498. },
  9499. "tt": {
  9500. "description": "总金额",
  9501. "type": "number"
  9502. },
  9503. "tv": {
  9504. "description": "总量",
  9505. "type": "integer"
  9506. }
  9507. }
  9508. },
  9509. "quote.QueryTSDataRsp": {
  9510. "type": "object",
  9511. "properties": {
  9512. "decimalPlace": {
  9513. "description": "小数位",
  9514. "type": "integer"
  9515. },
  9516. "endTime": {
  9517. "description": "结束时间",
  9518. "type": "string"
  9519. },
  9520. "goodsCode": {
  9521. "description": "商品代码",
  9522. "type": "string"
  9523. },
  9524. "historyDatas": {
  9525. "description": "历史数据",
  9526. "type": "array",
  9527. "items": {
  9528. "$ref": "#/definitions/quote.HistoryData"
  9529. }
  9530. },
  9531. "preSettle": {
  9532. "description": "昨结",
  9533. "type": "number"
  9534. },
  9535. "startTime": {
  9536. "description": "开始时间",
  9537. "type": "string"
  9538. },
  9539. "tradeDate": {
  9540. "description": "交易日",
  9541. "type": "string"
  9542. }
  9543. }
  9544. },
  9545. "szdz.QueryConvertLogRsp": {
  9546. "type": "object",
  9547. "required": [
  9548. "logid"
  9549. ],
  9550. "properties": {
  9551. "accountid": {
  9552. "description": "资金账户ID",
  9553. "type": "integer"
  9554. },
  9555. "clientticket": {
  9556. "description": "客户端流水号",
  9557. "type": "string"
  9558. },
  9559. "converttype": {
  9560. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9561. "type": "integer"
  9562. },
  9563. "createtime": {
  9564. "description": "记账时间",
  9565. "type": "string"
  9566. },
  9567. "daymaxvalue": {
  9568. "description": "配置当日最大转入限制",
  9569. "type": "number"
  9570. },
  9571. "daymaxvalue2": {
  9572. "description": "配置当日最大转入限制(转入)",
  9573. "type": "number"
  9574. },
  9575. "goodscode": {
  9576. "description": "商品代码",
  9577. "type": "string"
  9578. },
  9579. "goodsname": {
  9580. "description": "商品名称",
  9581. "type": "string"
  9582. },
  9583. "handlestatus": {
  9584. "description": "处理状态",
  9585. "type": "integer"
  9586. },
  9587. "innergoodsid": {
  9588. "description": "内部商品ID",
  9589. "type": "integer"
  9590. },
  9591. "inratio": {
  9592. "description": "配置转入比值",
  9593. "type": "integer"
  9594. },
  9595. "invalue": {
  9596. "description": "目标值",
  9597. "type": "number"
  9598. },
  9599. "logid": {
  9600. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9601. "type": "integer"
  9602. },
  9603. "mobile": {
  9604. "description": "手机号码(加密存储)",
  9605. "type": "string"
  9606. },
  9607. "outergoodscode": {
  9608. "description": "外部商品代码[JD\\PD]",
  9609. "type": "string"
  9610. },
  9611. "outratio": {
  9612. "description": "配置转出比值",
  9613. "type": "integer"
  9614. },
  9615. "outvalue": {
  9616. "description": "源值",
  9617. "type": "number"
  9618. },
  9619. "pddecimalplace": {
  9620. "description": "PD小数位",
  9621. "type": "integer"
  9622. },
  9623. "qty": {
  9624. "description": "数量",
  9625. "type": "string"
  9626. },
  9627. "remark": {
  9628. "description": "备注",
  9629. "type": "string"
  9630. },
  9631. "sessionid": {
  9632. "description": "会话ID",
  9633. "type": "integer"
  9634. },
  9635. "timemaxvalue": {
  9636. "description": "配置单次最大转入限制",
  9637. "type": "number"
  9638. },
  9639. "timemaxvalue2": {
  9640. "description": "配置单次最大转入限制(转入)",
  9641. "type": "number"
  9642. },
  9643. "timeminvalue": {
  9644. "description": "配置单次最小数量限制",
  9645. "type": "number"
  9646. },
  9647. "timeminvalue2": {
  9648. "description": "配置单次最小数量限制(转入)",
  9649. "type": "number"
  9650. },
  9651. "tradedate": {
  9652. "description": "交易日(yyyyMMdd)",
  9653. "type": "string"
  9654. },
  9655. "userid": {
  9656. "description": "用户ID",
  9657. "type": "integer"
  9658. }
  9659. }
  9660. },
  9661. "szdz.QueryGoodsPickupRsp": {
  9662. "type": "object",
  9663. "required": [
  9664. "takeorderid"
  9665. ],
  9666. "properties": {
  9667. "accountid": {
  9668. "description": "账户ID",
  9669. "type": "integer"
  9670. },
  9671. "address": {
  9672. "description": "提货人详细地址",
  9673. "type": "string"
  9674. },
  9675. "auditer": {
  9676. "description": "审核人",
  9677. "type": "integer"
  9678. },
  9679. "audittime": {
  9680. "description": "审核时间",
  9681. "type": "string"
  9682. },
  9683. "cardnum": {
  9684. "description": "提货人证件号码",
  9685. "type": "string"
  9686. },
  9687. "cardtypeid": {
  9688. "description": "提货人证件类型",
  9689. "type": "integer"
  9690. },
  9691. "checkremark": {
  9692. "description": "审核备注",
  9693. "type": "string"
  9694. },
  9695. "goodscode": {
  9696. "description": "商品代码",
  9697. "type": "string"
  9698. },
  9699. "goodsid": {
  9700. "description": "商品ID",
  9701. "type": "integer"
  9702. },
  9703. "goodsname": {
  9704. "description": "商品名称",
  9705. "type": "string"
  9706. },
  9707. "handlestatus": {
  9708. "description": "处理状态",
  9709. "type": "integer"
  9710. },
  9711. "marketid": {
  9712. "description": "市场ID",
  9713. "type": "integer"
  9714. },
  9715. "phonenum": {
  9716. "description": "提货人联系方式",
  9717. "type": "string"
  9718. },
  9719. "qty": {
  9720. "description": "提货数量",
  9721. "type": "number"
  9722. },
  9723. "recivername": {
  9724. "description": "提货人姓名",
  9725. "type": "string"
  9726. },
  9727. "reqtime": {
  9728. "description": "更新时间",
  9729. "type": "string"
  9730. },
  9731. "takemode": {
  9732. "description": "提货方式 - 2:自提 3:配送",
  9733. "type": "integer"
  9734. },
  9735. "takeorderid": {
  9736. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9737. "type": "string"
  9738. },
  9739. "takeorderstatus": {
  9740. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9741. "type": "integer"
  9742. },
  9743. "takeremark": {
  9744. "description": "提货备注",
  9745. "type": "string"
  9746. },
  9747. "tradedate": {
  9748. "description": "交易日(yyyyMMdd)",
  9749. "type": "string"
  9750. },
  9751. "userid": {
  9752. "description": "用户ID",
  9753. "type": "integer"
  9754. }
  9755. }
  9756. },
  9757. "szdz.QueryRecieptOrderRsp": {
  9758. "type": "object",
  9759. "required": [
  9760. "ordertime"
  9761. ],
  9762. "properties": {
  9763. "accountName": {
  9764. "description": "所属账号名称(已脱敏)",
  9765. "type": "string"
  9766. },
  9767. "accountid": {
  9768. "description": "资金账号",
  9769. "type": "integer"
  9770. },
  9771. "buyorsell": {
  9772. "description": "方向 - 0:买 1:卖",
  9773. "type": "integer"
  9774. },
  9775. "enableqty": {
  9776. "description": "可摘数量",
  9777. "type": "integer"
  9778. },
  9779. "goodscode": {
  9780. "description": "商品代码",
  9781. "type": "string"
  9782. },
  9783. "goodsid": {
  9784. "description": "商品ID",
  9785. "type": "integer"
  9786. },
  9787. "goodsname": {
  9788. "description": "商品名称",
  9789. "type": "string"
  9790. },
  9791. "orderid": {
  9792. "description": "委托单号",
  9793. "type": "string"
  9794. },
  9795. "orderprice": {
  9796. "description": "委托价格",
  9797. "type": "number"
  9798. },
  9799. "ordertime": {
  9800. "description": "委托时间",
  9801. "type": "string"
  9802. },
  9803. "tradedate": {
  9804. "description": "交易日(yyyyMMdd)",
  9805. "type": "string"
  9806. }
  9807. }
  9808. },
  9809. "szdz.QuerySZDZTradePositionRsp": {
  9810. "type": "object",
  9811. "properties": {
  9812. "accountid": {
  9813. "description": "账号Id",
  9814. "type": "integer"
  9815. },
  9816. "agreeunit": {
  9817. "description": "合约单位",
  9818. "type": "number"
  9819. },
  9820. "averageprice": {
  9821. "description": "持仓均价",
  9822. "type": "number"
  9823. },
  9824. "buyorsell": {
  9825. "description": "方向 - 0:买 1:卖",
  9826. "type": "integer"
  9827. },
  9828. "closetotalqty": {
  9829. "description": "平仓总数量",
  9830. "type": "integer"
  9831. },
  9832. "curholderamount": {
  9833. "description": "当前持仓总金额",
  9834. "type": "number"
  9835. },
  9836. "curpositionqty": {
  9837. "description": "当前持仓总数量",
  9838. "type": "integer"
  9839. },
  9840. "currencyid": {
  9841. "description": "报价货币ID",
  9842. "type": "integer"
  9843. },
  9844. "curtdposition": {
  9845. "description": "期末今日头寸",
  9846. "type": "integer"
  9847. },
  9848. "decimalplace": {
  9849. "description": "报价小数位",
  9850. "type": "integer"
  9851. },
  9852. "enableqty": {
  9853. "description": "可用量",
  9854. "type": "integer"
  9855. },
  9856. "fretdposition": {
  9857. "description": "冻结今日头寸",
  9858. "type": "integer"
  9859. },
  9860. "frozenqty": {
  9861. "description": "持仓冻结数量",
  9862. "type": "integer"
  9863. },
  9864. "goodscode": {
  9865. "description": "商品代码(内部)",
  9866. "type": "string"
  9867. },
  9868. "goodsid": {
  9869. "description": "商品Id",
  9870. "type": "integer"
  9871. },
  9872. "goodsname": {
  9873. "description": "商品名称",
  9874. "type": "string"
  9875. },
  9876. "goodunit": {
  9877. "description": "报价单位",
  9878. "type": "string"
  9879. },
  9880. "goodunitid": {
  9881. "description": "报价单位ID",
  9882. "type": "integer"
  9883. },
  9884. "holderamount": {
  9885. "description": "期初持仓总金额",
  9886. "type": "number"
  9887. },
  9888. "marketid": {
  9889. "description": "市场ID",
  9890. "type": "integer"
  9891. },
  9892. "openreqqty": {
  9893. "description": "开仓申请数量",
  9894. "type": "integer"
  9895. },
  9896. "opentotalqty": {
  9897. "description": "开仓总数量",
  9898. "type": "integer"
  9899. },
  9900. "otherfrozenqty": {
  9901. "description": "持仓其他冻结数量(交割冻结)",
  9902. "type": "integer"
  9903. },
  9904. "positionqty": {
  9905. "description": "期初持仓数量",
  9906. "type": "integer"
  9907. },
  9908. "szdz3freezqty": {
  9909. "description": "尚志大宗转换冻结总数量",
  9910. "type": "integer"
  9911. },
  9912. "tnqty": {
  9913. "description": "T+N冻结总量",
  9914. "type": "integer"
  9915. },
  9916. "tnusedqty": {
  9917. "description": "T+N使用量",
  9918. "type": "integer"
  9919. },
  9920. "trademode": {
  9921. "description": "交易模式",
  9922. "type": "integer"
  9923. },
  9924. "usedmargin": {
  9925. "description": "占用保证金",
  9926. "type": "number"
  9927. }
  9928. }
  9929. },
  9930. "taaccount.QueryAmountLogRsp": {
  9931. "type": "object",
  9932. "required": [
  9933. "accountid",
  9934. "amount",
  9935. "amountadjusttype",
  9936. "autoid",
  9937. "balance",
  9938. "createtime",
  9939. "currentbalance",
  9940. "operatetype"
  9941. ],
  9942. "properties": {
  9943. "OPERATETYPENAME": {
  9944. "description": "资金操作类型名称",
  9945. "type": "string"
  9946. },
  9947. "accountid": {
  9948. "description": "资金账户ID",
  9949. "type": "integer"
  9950. },
  9951. "agoodscode": {
  9952. "description": "竞拍商品代码",
  9953. "type": "string"
  9954. },
  9955. "agoodsname": {
  9956. "description": "竞拍商品名称",
  9957. "type": "string"
  9958. },
  9959. "amount": {
  9960. "description": "资金金额",
  9961. "type": "number"
  9962. },
  9963. "amountadjusttype": {
  9964. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9965. "type": "integer"
  9966. },
  9967. "autoid": {
  9968. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9969. "type": "integer"
  9970. },
  9971. "balance": {
  9972. "description": "期初余额",
  9973. "type": "number"
  9974. },
  9975. "businesscode": {
  9976. "description": "业务编号",
  9977. "type": "integer"
  9978. },
  9979. "createtime": {
  9980. "description": "发生时间",
  9981. "type": "string"
  9982. },
  9983. "currencyid": {
  9984. "description": "币种ID",
  9985. "type": "integer"
  9986. },
  9987. "currentbalance": {
  9988. "description": "期末余额(变动后金额)",
  9989. "type": "number"
  9990. },
  9991. "dgoodscode": {
  9992. "description": "交割商品代码",
  9993. "type": "string"
  9994. },
  9995. "dgoodsname": {
  9996. "description": "交割商品名称",
  9997. "type": "string"
  9998. },
  9999. "goodscode": {
  10000. "description": "商品代码",
  10001. "type": "string"
  10002. },
  10003. "goodsid": {
  10004. "description": "商品ID",
  10005. "type": "integer"
  10006. },
  10007. "goodsname": {
  10008. "description": "商品名称",
  10009. "type": "string"
  10010. },
  10011. "marketid": {
  10012. "description": "市场ID",
  10013. "type": "integer"
  10014. },
  10015. "marketname": {
  10016. "description": "市场名称",
  10017. "type": "string"
  10018. },
  10019. "moneyticket": {
  10020. "description": "资金流水号:银行端流水号",
  10021. "type": "integer"
  10022. },
  10023. "operatetype": {
  10024. "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:营销收款",
  10025. "type": "integer"
  10026. },
  10027. "relationorderid": {
  10028. "description": "关联单号",
  10029. "type": "string"
  10030. },
  10031. "remark": {
  10032. "description": "备注",
  10033. "type": "string"
  10034. },
  10035. "trademode": {
  10036. "description": "交易模式",
  10037. "type": "integer"
  10038. }
  10039. }
  10040. },
  10041. "taaccount.QueryHisAmountLogRsp": {
  10042. "type": "object",
  10043. "required": [
  10044. "accountid",
  10045. "amount",
  10046. "amountadjusttype",
  10047. "autoid",
  10048. "balance",
  10049. "createtime",
  10050. "currentbalance",
  10051. "histradedate",
  10052. "operatetype"
  10053. ],
  10054. "properties": {
  10055. "OPERATETYPENAME": {
  10056. "description": "资金操作类型名称",
  10057. "type": "string"
  10058. },
  10059. "accountid": {
  10060. "description": "资金账户ID",
  10061. "type": "integer"
  10062. },
  10063. "agoodscode": {
  10064. "description": "竞拍商品代码",
  10065. "type": "string"
  10066. },
  10067. "agoodsname": {
  10068. "description": "竞拍商品名称",
  10069. "type": "string"
  10070. },
  10071. "amount": {
  10072. "description": "资金金额",
  10073. "type": "number"
  10074. },
  10075. "amountadjusttype": {
  10076. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10077. "type": "integer"
  10078. },
  10079. "autoid": {
  10080. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10081. "type": "integer"
  10082. },
  10083. "balance": {
  10084. "description": "期初余额",
  10085. "type": "number"
  10086. },
  10087. "businesscode": {
  10088. "description": "业务编号",
  10089. "type": "integer"
  10090. },
  10091. "createtime": {
  10092. "description": "发生时间",
  10093. "type": "string"
  10094. },
  10095. "currencyid": {
  10096. "description": "币种ID",
  10097. "type": "integer"
  10098. },
  10099. "currentbalance": {
  10100. "description": "期末余额(变动后金额)",
  10101. "type": "number"
  10102. },
  10103. "dgoodscode": {
  10104. "description": "交割商品代码",
  10105. "type": "string"
  10106. },
  10107. "dgoodsname": {
  10108. "description": "交割商品名称",
  10109. "type": "string"
  10110. },
  10111. "goodscode": {
  10112. "description": "商品代码",
  10113. "type": "string"
  10114. },
  10115. "goodsid": {
  10116. "description": "商品ID",
  10117. "type": "integer"
  10118. },
  10119. "goodsname": {
  10120. "description": "商品名称",
  10121. "type": "string"
  10122. },
  10123. "histradedate": {
  10124. "description": "历史交易日",
  10125. "type": "string"
  10126. },
  10127. "isvaliddata": {
  10128. "description": "是否有效 - 0:无效 1:有效",
  10129. "type": "integer"
  10130. },
  10131. "marketid": {
  10132. "description": "市场ID",
  10133. "type": "integer"
  10134. },
  10135. "marketname": {
  10136. "description": "市场名称",
  10137. "type": "string"
  10138. },
  10139. "moneyticket": {
  10140. "description": "资金流水号:银行端流水号",
  10141. "type": "integer"
  10142. },
  10143. "operatetype": {
  10144. "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:营销收款",
  10145. "type": "integer"
  10146. },
  10147. "relationorderid": {
  10148. "description": "关联单号",
  10149. "type": "string"
  10150. },
  10151. "remark": {
  10152. "description": "备注",
  10153. "type": "string"
  10154. },
  10155. "trademode": {
  10156. "description": "交易模式",
  10157. "type": "integer"
  10158. }
  10159. }
  10160. },
  10161. "trade.QueryRecieptOrderRsp": {
  10162. "type": "object",
  10163. "required": [
  10164. "ordertime"
  10165. ],
  10166. "properties": {
  10167. "accountName": {
  10168. "description": "所属账号名称(已脱敏)",
  10169. "type": "string"
  10170. },
  10171. "accountid": {
  10172. "description": "资金账号",
  10173. "type": "integer"
  10174. },
  10175. "buyorsell": {
  10176. "description": "方向 - 0:买 1:卖",
  10177. "type": "integer"
  10178. },
  10179. "enableqty": {
  10180. "description": "可摘数量",
  10181. "type": "integer"
  10182. },
  10183. "goodscode": {
  10184. "description": "商品代码",
  10185. "type": "string"
  10186. },
  10187. "goodsid": {
  10188. "description": "商品ID",
  10189. "type": "integer"
  10190. },
  10191. "goodsname": {
  10192. "description": "商品名称",
  10193. "type": "string"
  10194. },
  10195. "orderid": {
  10196. "description": "委托单号",
  10197. "type": "string"
  10198. },
  10199. "orderprice": {
  10200. "description": "委托价格",
  10201. "type": "number"
  10202. },
  10203. "ordertime": {
  10204. "description": "委托时间",
  10205. "type": "string"
  10206. },
  10207. "tradedate": {
  10208. "description": "交易日(yyyyMMdd)",
  10209. "type": "string"
  10210. }
  10211. }
  10212. }
  10213. },
  10214. "securityDefinitions": {
  10215. "ApiKeyAuth": {
  10216. "type": "apiKey",
  10217. "name": "Authorization",
  10218. "in": "header"
  10219. }
  10220. }
  10221. }`
  10222. type swaggerInfo struct {
  10223. Version string
  10224. Host string
  10225. BasePath string
  10226. Schemes []string
  10227. Title string
  10228. Description string
  10229. }
  10230. // SwaggerInfo holds exported Swagger Info so clients can modify it
  10231. var SwaggerInfo = swaggerInfo{
  10232. Version: "1.0",
  10233. Host: "",
  10234. BasePath: "/api",
  10235. Schemes: []string{},
  10236. Title: "MTP2.0 查询服务 API",
  10237. Description: "新的查询服务,替代原通用查询服务。",
  10238. }
  10239. type s struct{}
  10240. func (s *s) ReadDoc() string {
  10241. sInfo := SwaggerInfo
  10242. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  10243. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  10244. "marshal": func(v interface{}) string {
  10245. a, _ := json.Marshal(v)
  10246. return string(a)
  10247. },
  10248. }).Parse(doc)
  10249. if err != nil {
  10250. return doc
  10251. }
  10252. var tpl bytes.Buffer
  10253. if err := t.Execute(&tpl, sInfo); err != nil {
  10254. return doc
  10255. }
  10256. return tpl.String()
  10257. }
  10258. func init() {
  10259. swag.Register(swag.Name, &s{})
  10260. }