docs.go 365 KB

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