docs.go 308 KB

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