docs.go 307 KB

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