docs.go 308 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577
  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. "marketid",
  4519. "orimargin",
  4520. "orimarginpayer",
  4521. "signdate"
  4522. ],
  4523. "properties": {
  4524. "accountid": {
  4525. "description": "资金账户ID",
  4526. "type": "integer"
  4527. },
  4528. "areauserid": {
  4529. "description": "所属机构",
  4530. "type": "integer"
  4531. },
  4532. "contractattachment": {
  4533. "description": "合同附件",
  4534. "type": "string"
  4535. },
  4536. "contractno": {
  4537. "description": "现货合同编号",
  4538. "type": "string"
  4539. },
  4540. "contracttype": {
  4541. "description": "现货合同类型 - 1:采购 -1:销售",
  4542. "type": "integer"
  4543. },
  4544. "creatorid": {
  4545. "description": "申请人",
  4546. "type": "integer"
  4547. },
  4548. "customeraccountid": {
  4549. "description": "客户资金账户ID",
  4550. "type": "integer"
  4551. },
  4552. "customeruserid": {
  4553. "description": "客户ID",
  4554. "type": "integer"
  4555. },
  4556. "details": {
  4557. "description": "明细",
  4558. "type": "array",
  4559. "items": {
  4560. "$ref": "#/definitions/erms3.SoptContractDetail"
  4561. }
  4562. },
  4563. "lastdate": {
  4564. "description": "交货时间",
  4565. "type": "string"
  4566. },
  4567. "marketid": {
  4568. "description": "市场ID",
  4569. "type": "integer"
  4570. },
  4571. "orimargin": {
  4572. "description": "初始保证金",
  4573. "type": "number"
  4574. },
  4575. "orimarginpayer": {
  4576. "description": "初始保证金支付方 -1:买方 2:卖方",
  4577. "type": "integer"
  4578. },
  4579. "remark": {
  4580. "description": "备注",
  4581. "type": "string"
  4582. },
  4583. "signdate": {
  4584. "description": "签订日期",
  4585. "type": "string"
  4586. }
  4587. }
  4588. },
  4589. "erms3.AddSpotContractApplyRsp": {
  4590. "type": "object",
  4591. "required": [
  4592. "contractno"
  4593. ],
  4594. "properties": {
  4595. "contractno": {
  4596. "description": "现货合同编号",
  4597. "type": "string"
  4598. },
  4599. "spotcontractid": {
  4600. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4601. "type": "integer"
  4602. }
  4603. }
  4604. },
  4605. "erms3.CustomerInfo": {
  4606. "type": "object",
  4607. "required": [
  4608. "userid"
  4609. ],
  4610. "properties": {
  4611. "accountids": {
  4612. "description": "资金账户ID列表",
  4613. "type": "array",
  4614. "items": {
  4615. "type": "integer"
  4616. }
  4617. },
  4618. "customername": {
  4619. "description": "名称(企业名称)",
  4620. "type": "string"
  4621. },
  4622. "mobile": {
  4623. "description": "手机号码",
  4624. "type": "string"
  4625. },
  4626. "userid": {
  4627. "description": "用户ID",
  4628. "type": "integer"
  4629. }
  4630. }
  4631. },
  4632. "erms3.QuerySpotContractAppleFormRsp": {
  4633. "type": "object",
  4634. "properties": {
  4635. "goodses": {
  4636. "description": "合约列表",
  4637. "type": "array",
  4638. "items": {
  4639. "$ref": "#/definitions/models.GoodsIDAndName"
  4640. }
  4641. },
  4642. "oppositeusers": {
  4643. "description": "对方账号列表",
  4644. "type": "array",
  4645. "items": {
  4646. "$ref": "#/definitions/erms3.CustomerInfo"
  4647. }
  4648. },
  4649. "ouruser": {
  4650. "description": "我方账号",
  4651. "type": "object",
  4652. "$ref": "#/definitions/erms3.CustomerInfo"
  4653. },
  4654. "warehouseinfos": {
  4655. "description": "仓库信息列表",
  4656. "type": "array",
  4657. "items": {
  4658. "$ref": "#/definitions/models.Warehouseinfo"
  4659. }
  4660. },
  4661. "wrstandards": {
  4662. "description": "仓单标准列表",
  4663. "type": "array",
  4664. "items": {
  4665. "$ref": "#/definitions/models.WRStandardInfo"
  4666. }
  4667. }
  4668. }
  4669. },
  4670. "erms3.QuerySpotContractInfoRsp": {
  4671. "type": "object",
  4672. "properties": {
  4673. "accountid": {
  4674. "description": "表示交易员ID.",
  4675. "type": "integer"
  4676. },
  4677. "curdeliveryqty": {
  4678. "description": "表示未交收量.",
  4679. "type": "number"
  4680. },
  4681. "customername": {
  4682. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  4683. "type": "string"
  4684. },
  4685. "deliverygoodsid": {
  4686. "description": "表示品种ID.",
  4687. "type": "string"
  4688. },
  4689. "deliveryqty": {
  4690. "description": "表示交收量.",
  4691. "type": "number"
  4692. },
  4693. "matchaccountid": {
  4694. "description": "表示业务员ID.",
  4695. "type": "integer"
  4696. },
  4697. "matchcustomername": {
  4698. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  4699. "type": "string"
  4700. },
  4701. "priceqty": {
  4702. "description": "表示定价量.",
  4703. "type": "number"
  4704. },
  4705. "relatedbizid": {
  4706. "description": "表示业务ID.",
  4707. "type": "string"
  4708. },
  4709. "signdate": {
  4710. "description": "表示签订日期.",
  4711. "type": "string"
  4712. },
  4713. "spotcontractid": {
  4714. "description": "合同ID",
  4715. "type": "string"
  4716. },
  4717. "status": {
  4718. "description": "表示状态,0-履约中 1-已完成.",
  4719. "type": "integer"
  4720. },
  4721. "totalqty": {
  4722. "description": "表示合同量.",
  4723. "type": "number"
  4724. },
  4725. "unpricedqty": {
  4726. "description": "表示未定价量.",
  4727. "type": "number"
  4728. },
  4729. "wrstandardname": {
  4730. "description": "表示商品ID.",
  4731. "type": "string"
  4732. }
  4733. }
  4734. },
  4735. "erms3.SoptContractDetail": {
  4736. "type": "object",
  4737. "required": [
  4738. "deliverygoodsid",
  4739. "producttype",
  4740. "unitname",
  4741. "warehouseid",
  4742. "wrstandardid",
  4743. "wrstandardname"
  4744. ],
  4745. "properties": {
  4746. "deliverygoodsdesc": {
  4747. "description": "现货品种说明",
  4748. "type": "string"
  4749. },
  4750. "deliverygoodsid": {
  4751. "description": "现货品种ID",
  4752. "type": "integer"
  4753. },
  4754. "deliverygoodsname": {
  4755. "description": "现货品种名称",
  4756. "type": "string"
  4757. },
  4758. "pointdesc": {
  4759. "description": "点价描述",
  4760. "type": "string"
  4761. },
  4762. "producttype": {
  4763. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4764. "type": "integer"
  4765. },
  4766. "producttypename": {
  4767. "description": "产品类型名称",
  4768. "type": "string"
  4769. },
  4770. "spotPointOrderVoList": {
  4771. "description": "点价列表",
  4772. "type": "array",
  4773. "items": {
  4774. "$ref": "#/definitions/erms3.SpotPointOrder"
  4775. }
  4776. },
  4777. "spotPriceOrderList": {
  4778. "description": "定价列表",
  4779. "type": "array",
  4780. "items": {
  4781. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4782. }
  4783. },
  4784. "unitname": {
  4785. "description": "单位名称",
  4786. "type": "string"
  4787. },
  4788. "warehouseid": {
  4789. "description": "仓库ID",
  4790. "type": "integer"
  4791. },
  4792. "warehousename": {
  4793. "description": "仓库名称",
  4794. "type": "string"
  4795. },
  4796. "wrstandardid": {
  4797. "description": "交易标的ID",
  4798. "type": "integer"
  4799. },
  4800. "wrstandardname": {
  4801. "description": "交易标的名称",
  4802. "type": "string"
  4803. }
  4804. }
  4805. },
  4806. "erms3.SpotPointOrder": {
  4807. "type": "object",
  4808. "required": [
  4809. "basic",
  4810. "goodsid",
  4811. "qty"
  4812. ],
  4813. "properties": {
  4814. "basic": {
  4815. "description": "基差",
  4816. "type": "number"
  4817. },
  4818. "deliveryendtdate": {
  4819. "description": "交收结束日期",
  4820. "type": "string"
  4821. },
  4822. "deliverystartdate": {
  4823. "description": "交收开始日期",
  4824. "type": "string"
  4825. },
  4826. "enddate": {
  4827. "description": "点价结束日期",
  4828. "type": "string"
  4829. },
  4830. "goodsid": {
  4831. "description": "商品ID",
  4832. "type": "integer"
  4833. },
  4834. "goodsname": {
  4835. "description": "商品名称",
  4836. "type": "string"
  4837. },
  4838. "qty": {
  4839. "description": "数量",
  4840. "type": "number"
  4841. },
  4842. "startdate": {
  4843. "description": "点价开始日期",
  4844. "type": "string"
  4845. }
  4846. }
  4847. },
  4848. "erms3.SpotPriceOrder": {
  4849. "type": "object",
  4850. "required": [
  4851. "amount",
  4852. "price",
  4853. "qty"
  4854. ],
  4855. "properties": {
  4856. "amount": {
  4857. "description": "金额",
  4858. "type": "number"
  4859. },
  4860. "deliveryendtdate": {
  4861. "description": "交收结束日期",
  4862. "type": "string"
  4863. },
  4864. "deliverystartdate": {
  4865. "description": "交收开始日期",
  4866. "type": "string"
  4867. },
  4868. "price": {
  4869. "description": "价格",
  4870. "type": "number"
  4871. },
  4872. "qty": {
  4873. "description": "数量",
  4874. "type": "number"
  4875. }
  4876. }
  4877. },
  4878. "hsby.GetHsbyMyCountRsp": {
  4879. "type": "object",
  4880. "properties": {
  4881. "myOrderDetailListingCount": {
  4882. "description": "我的订单求购中数量",
  4883. "type": "integer"
  4884. },
  4885. "myOrderDetailPreCount": {
  4886. "description": "我的订单抢购中数量",
  4887. "type": "integer"
  4888. },
  4889. "myPackageUnReceiveCount": {
  4890. "description": "我的包裹待收货数量",
  4891. "type": "integer"
  4892. },
  4893. "myPackageUnSendCount": {
  4894. "description": "我的包裹待发货数量",
  4895. "type": "integer"
  4896. }
  4897. }
  4898. },
  4899. "hsby.QueryProvincesAndCitiesRsp": {
  4900. "type": "object",
  4901. "properties": {
  4902. "cities": {
  4903. "description": "市",
  4904. "type": "array",
  4905. "items": {
  4906. "$ref": "#/definitions/models.Division"
  4907. }
  4908. },
  4909. "province": {
  4910. "description": "省",
  4911. "type": "object",
  4912. "$ref": "#/definitions/models.Division"
  4913. }
  4914. }
  4915. },
  4916. "models.Division": {
  4917. "type": "object",
  4918. "required": [
  4919. "autoid",
  4920. "divisioncode"
  4921. ],
  4922. "properties": {
  4923. "autoid": {
  4924. "description": "自增ID",
  4925. "type": "integer"
  4926. },
  4927. "divisioncode": {
  4928. "description": "行政代码",
  4929. "type": "string"
  4930. },
  4931. "divisionlevel": {
  4932. "description": "行政级别",
  4933. "type": "string"
  4934. },
  4935. "divisionname": {
  4936. "description": "行政名称",
  4937. "type": "string"
  4938. },
  4939. "modifierid": {
  4940. "description": "修改人",
  4941. "type": "integer"
  4942. },
  4943. "modifytime": {
  4944. "description": "修改时间",
  4945. "type": "string"
  4946. },
  4947. "parentcode": {
  4948. "description": "上级行政代码",
  4949. "type": "string"
  4950. },
  4951. "pathname": {
  4952. "description": "路径名称",
  4953. "type": "string"
  4954. },
  4955. "postcode": {
  4956. "description": "邮政编码",
  4957. "type": "string"
  4958. },
  4959. "separablename": {
  4960. "description": "可拆分的全称",
  4961. "type": "string"
  4962. },
  4963. "shortcode": {
  4964. "description": "地区简码",
  4965. "type": "string"
  4966. }
  4967. }
  4968. },
  4969. "models.GoodsIDAndName": {
  4970. "type": "object",
  4971. "required": [
  4972. "goodscode",
  4973. "goodsid",
  4974. "goodsname",
  4975. "marketid"
  4976. ],
  4977. "properties": {
  4978. "goodscode": {
  4979. "description": "商品代码(内部)",
  4980. "type": "string"
  4981. },
  4982. "goodsid": {
  4983. "description": "商品ID(自增ID SEQ_GOODS)",
  4984. "type": "integer"
  4985. },
  4986. "goodsname": {
  4987. "description": "商品名称",
  4988. "type": "string"
  4989. },
  4990. "marketid": {
  4991. "description": "所属市场ID",
  4992. "type": "integer"
  4993. }
  4994. }
  4995. },
  4996. "models.HsbyBuyMyTradeDetail": {
  4997. "type": "object",
  4998. "required": [
  4999. "accountid",
  5000. "buyorsell",
  5001. "goodscode",
  5002. "goodsid",
  5003. "goodsname",
  5004. "marketid",
  5005. "orderid",
  5006. "qty",
  5007. "time",
  5008. "trademode"
  5009. ],
  5010. "properties": {
  5011. "accountid": {
  5012. "description": "账户ID[报价币种]",
  5013. "type": "integer"
  5014. },
  5015. "agreeunit": {
  5016. "description": "合约单位",
  5017. "type": "number"
  5018. },
  5019. "amount": {
  5020. "description": "金额 = 价格 * 数量 * 合约单位",
  5021. "type": "number"
  5022. },
  5023. "buyorsell": {
  5024. "description": "买卖 - 0:买 1:卖",
  5025. "type": "integer"
  5026. },
  5027. "currencysign": {
  5028. "description": "货币符号",
  5029. "type": "string"
  5030. },
  5031. "decimalplace": {
  5032. "description": "报价小数位",
  5033. "type": "integer"
  5034. },
  5035. "goodscode": {
  5036. "description": "商品代码(内部)",
  5037. "type": "string"
  5038. },
  5039. "goodsid": {
  5040. "description": "商品ID",
  5041. "type": "integer"
  5042. },
  5043. "goodsname": {
  5044. "description": "商品名称",
  5045. "type": "string"
  5046. },
  5047. "marketid": {
  5048. "description": "市场ID",
  5049. "type": "integer"
  5050. },
  5051. "orderid": {
  5052. "description": "单号(成交单号)",
  5053. "type": "string"
  5054. },
  5055. "picurls1": {
  5056. "description": "预售商品介绍图片[多张用逗号分隔]",
  5057. "type": "string"
  5058. },
  5059. "picurls2": {
  5060. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5061. "type": "string"
  5062. },
  5063. "price": {
  5064. "description": "价格",
  5065. "type": "number"
  5066. },
  5067. "qty": {
  5068. "description": "数量",
  5069. "type": "integer"
  5070. },
  5071. "time": {
  5072. "description": "时间",
  5073. "type": "string"
  5074. },
  5075. "trademode": {
  5076. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5077. "type": "integer"
  5078. },
  5079. "vendorname1": {
  5080. "description": "预售商品供应商名称",
  5081. "type": "string"
  5082. },
  5083. "vendorname2": {
  5084. "description": "挂牌商品供应商名称",
  5085. "type": "string"
  5086. }
  5087. }
  5088. },
  5089. "models.HsbyGoodsOrderDetail": {
  5090. "type": "object",
  5091. "required": [
  5092. "buyorsell",
  5093. "orderid",
  5094. "ordertime"
  5095. ],
  5096. "properties": {
  5097. "buyorsell": {
  5098. "description": "买卖 - 0:买 1:卖",
  5099. "type": "integer"
  5100. },
  5101. "currencysign": {
  5102. "description": "货币符号",
  5103. "type": "string"
  5104. },
  5105. "customername": {
  5106. "description": "客户名称(企业名称),已脱敏",
  5107. "type": "string"
  5108. },
  5109. "enableqty": {
  5110. "description": "可用数量",
  5111. "type": "integer"
  5112. },
  5113. "goodunit": {
  5114. "description": "报价单位",
  5115. "type": "string"
  5116. },
  5117. "orderid": {
  5118. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5119. "type": "string"
  5120. },
  5121. "orderprice": {
  5122. "description": "委托价格",
  5123. "type": "number"
  5124. },
  5125. "ordertime": {
  5126. "description": "委托时间",
  5127. "type": "string"
  5128. }
  5129. }
  5130. },
  5131. "models.HsbyListingGoodsDetail": {
  5132. "type": "object",
  5133. "required": [
  5134. "goodscode",
  5135. "goodsid",
  5136. "goodsname",
  5137. "marketid",
  5138. "trademode"
  5139. ],
  5140. "properties": {
  5141. "agreeunit": {
  5142. "description": "合约单位",
  5143. "type": "number"
  5144. },
  5145. "currency": {
  5146. "description": "货币",
  5147. "type": "string"
  5148. },
  5149. "currencysign": {
  5150. "description": "货币符号",
  5151. "type": "string"
  5152. },
  5153. "decimalplace": {
  5154. "description": "报价小数位",
  5155. "type": "integer"
  5156. },
  5157. "desccityid": {
  5158. "description": "目的地(市)ID",
  5159. "type": "integer"
  5160. },
  5161. "descprovinceid": {
  5162. "description": "目的地(省)ID",
  5163. "type": "integer"
  5164. },
  5165. "goodscode": {
  5166. "description": "商品代码(内部)",
  5167. "type": "string"
  5168. },
  5169. "goodsdesc": {
  5170. "description": "商品详情",
  5171. "type": "string"
  5172. },
  5173. "goodsid": {
  5174. "description": "商品ID(自增ID SEQ_GOODS)",
  5175. "type": "integer"
  5176. },
  5177. "goodsname": {
  5178. "description": "商品名称",
  5179. "type": "string"
  5180. },
  5181. "hotindex": {
  5182. "description": "景点热度",
  5183. "type": "integer"
  5184. },
  5185. "last": {
  5186. "description": "现价",
  5187. "type": "number"
  5188. },
  5189. "limitdown": {
  5190. "description": "跌停价",
  5191. "type": "number"
  5192. },
  5193. "limitup": {
  5194. "description": "涨停价",
  5195. "type": "number"
  5196. },
  5197. "lotsize": {
  5198. "description": "手数最小变动单位",
  5199. "type": "integer"
  5200. },
  5201. "marketid": {
  5202. "description": "所属市场ID",
  5203. "type": "integer"
  5204. },
  5205. "picurls": {
  5206. "description": "介绍图片[多张用逗号分隔]",
  5207. "type": "string"
  5208. },
  5209. "quoteminunit": {
  5210. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5211. "type": "integer"
  5212. },
  5213. "stepvalue": {
  5214. "description": "价格最小变动单位",
  5215. "type": "number"
  5216. },
  5217. "trademode": {
  5218. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5219. "type": "integer"
  5220. },
  5221. "vendorattr": {
  5222. "description": "供应商附件(多张,逗号分隔)",
  5223. "type": "string"
  5224. },
  5225. "vendorname": {
  5226. "description": "供应商名称",
  5227. "type": "string"
  5228. },
  5229. "vendorphone": {
  5230. "description": "供应商客服电话",
  5231. "type": "string"
  5232. },
  5233. "videourls": {
  5234. "description": "介绍视频[多张用逗号分隔]",
  5235. "type": "string"
  5236. }
  5237. }
  5238. },
  5239. "models.HsbyMyGoods": {
  5240. "type": "object",
  5241. "required": [
  5242. "accountid",
  5243. "goodscode",
  5244. "goodsid",
  5245. "goodsname"
  5246. ],
  5247. "properties": {
  5248. "accountid": {
  5249. "description": "账号Id",
  5250. "type": "integer"
  5251. },
  5252. "agreeunit": {
  5253. "description": "合约单位",
  5254. "type": "number"
  5255. },
  5256. "buyaverageprice": {
  5257. "description": "持仓均价",
  5258. "type": "number"
  5259. },
  5260. "buycurholderamount": {
  5261. "description": "买当前持仓总金额[商品币种]",
  5262. "type": "number"
  5263. },
  5264. "buycurpositionqty": {
  5265. "description": "买当前持仓总数量",
  5266. "type": "integer"
  5267. },
  5268. "currencysign": {
  5269. "description": "货币符号",
  5270. "type": "string"
  5271. },
  5272. "decimalplace": {
  5273. "description": "报价小数位",
  5274. "type": "integer"
  5275. },
  5276. "enableqty": {
  5277. "description": "可用数量",
  5278. "type": "integer"
  5279. },
  5280. "goodscode": {
  5281. "description": "商品代码(内部)",
  5282. "type": "string"
  5283. },
  5284. "goodsid": {
  5285. "description": "商品Id",
  5286. "type": "integer"
  5287. },
  5288. "goodsname": {
  5289. "description": "商品名称",
  5290. "type": "string"
  5291. },
  5292. "goodsstatus": {
  5293. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5294. "type": "integer"
  5295. },
  5296. "picurls": {
  5297. "description": "介绍图片[多张用逗号分隔]",
  5298. "type": "string"
  5299. }
  5300. }
  5301. },
  5302. "models.HsbyMyPackage": {
  5303. "type": "object",
  5304. "required": [
  5305. "goodscode",
  5306. "goodsname",
  5307. "takeorderid"
  5308. ],
  5309. "properties": {
  5310. "accountid": {
  5311. "description": "账户ID",
  5312. "type": "integer"
  5313. },
  5314. "address": {
  5315. "description": "提货人详细地址",
  5316. "type": "string"
  5317. },
  5318. "agreeunit": {
  5319. "description": "合约单位",
  5320. "type": "number"
  5321. },
  5322. "amount": {
  5323. "description": "提货金额",
  5324. "type": "number"
  5325. },
  5326. "auditer": {
  5327. "description": "审核人",
  5328. "type": "integer"
  5329. },
  5330. "audittime": {
  5331. "description": "审核时间",
  5332. "type": "string"
  5333. },
  5334. "averageprice": {
  5335. "description": "均价",
  5336. "type": "number"
  5337. },
  5338. "cardnum": {
  5339. "description": "提货人证件号码",
  5340. "type": "string"
  5341. },
  5342. "cardtypeid": {
  5343. "description": "提货人证件类型",
  5344. "type": "integer"
  5345. },
  5346. "checkremark": {
  5347. "description": "审核备注",
  5348. "type": "string"
  5349. },
  5350. "currencysign": {
  5351. "description": "货币符号",
  5352. "type": "string"
  5353. },
  5354. "decimalplace": {
  5355. "description": "报价小数位",
  5356. "type": "integer"
  5357. },
  5358. "goodscode": {
  5359. "description": "商品代码(内部)",
  5360. "type": "string"
  5361. },
  5362. "goodsid": {
  5363. "description": "商品ID",
  5364. "type": "integer"
  5365. },
  5366. "goodsname": {
  5367. "description": "商品名称",
  5368. "type": "string"
  5369. },
  5370. "handlestatus": {
  5371. "description": "处理状态",
  5372. "type": "integer"
  5373. },
  5374. "marketid": {
  5375. "description": "市场ID",
  5376. "type": "integer"
  5377. },
  5378. "phonenum": {
  5379. "description": "提货人联系方式",
  5380. "type": "string"
  5381. },
  5382. "picurls": {
  5383. "description": "介绍图片[多张用逗号分隔]",
  5384. "type": "string"
  5385. },
  5386. "qty": {
  5387. "description": "提货数量",
  5388. "type": "number"
  5389. },
  5390. "recivername": {
  5391. "description": "提货人姓名",
  5392. "type": "string"
  5393. },
  5394. "reqtime": {
  5395. "description": "更新时间",
  5396. "type": "string"
  5397. },
  5398. "takemode": {
  5399. "description": "提货方式 - 2:自提 3:配送",
  5400. "type": "integer"
  5401. },
  5402. "takeorderid": {
  5403. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5404. "type": "string"
  5405. },
  5406. "takeorderstatus": {
  5407. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5408. "type": "integer"
  5409. },
  5410. "takeremark": {
  5411. "description": "提货备注",
  5412. "type": "string"
  5413. },
  5414. "tradedate": {
  5415. "description": "交易日(yyyyMMdd)",
  5416. "type": "string"
  5417. },
  5418. "userid": {
  5419. "description": "用户ID",
  5420. "type": "integer"
  5421. },
  5422. "vendorname": {
  5423. "description": "供应商名称",
  5424. "type": "string"
  5425. }
  5426. }
  5427. },
  5428. "models.HsbyPreGoods": {
  5429. "type": "object",
  5430. "required": [
  5431. "goodscode",
  5432. "goodsid",
  5433. "goodsname",
  5434. "marketid",
  5435. "trademode"
  5436. ],
  5437. "properties": {
  5438. "agreeunit": {
  5439. "description": "合约单位",
  5440. "type": "number"
  5441. },
  5442. "currency": {
  5443. "description": "货币",
  5444. "type": "string"
  5445. },
  5446. "currencysign": {
  5447. "description": "货币符号",
  5448. "type": "string"
  5449. },
  5450. "decimalplace": {
  5451. "description": "报价小数位",
  5452. "type": "integer"
  5453. },
  5454. "enableqty": {
  5455. "description": "剩余数量",
  5456. "type": "integer"
  5457. },
  5458. "goodscode": {
  5459. "description": "商品代码(内部)",
  5460. "type": "string"
  5461. },
  5462. "goodsid": {
  5463. "description": "商品ID(自增ID SEQ_GOODS)",
  5464. "type": "integer"
  5465. },
  5466. "goodsname": {
  5467. "description": "商品名称",
  5468. "type": "string"
  5469. },
  5470. "goodsstatus": {
  5471. "description": "商品状态- 2:未上市 3:上市",
  5472. "type": "integer"
  5473. },
  5474. "lasttradedate": {
  5475. "description": "最后交易日期(状态:待退市)",
  5476. "type": "string"
  5477. },
  5478. "listingdate": {
  5479. "description": "交易开始日期",
  5480. "type": "string"
  5481. },
  5482. "marketid": {
  5483. "description": "所属市场ID",
  5484. "type": "integer"
  5485. },
  5486. "picurls": {
  5487. "description": "介绍图片[多张用逗号分隔]",
  5488. "type": "string"
  5489. },
  5490. "presaledqty": {
  5491. "description": "已预售量(预售结束时更新)",
  5492. "type": "integer"
  5493. },
  5494. "presaleqty": {
  5495. "description": "预售数量",
  5496. "type": "integer"
  5497. },
  5498. "quoteminunit": {
  5499. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5500. "type": "integer"
  5501. },
  5502. "refprice": {
  5503. "description": "参考价格[一口价]",
  5504. "type": "number"
  5505. },
  5506. "relatedgoodsid": {
  5507. "description": "关联交易合约ID",
  5508. "type": "integer"
  5509. },
  5510. "trademode": {
  5511. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5512. "type": "integer"
  5513. },
  5514. "videourls": {
  5515. "description": "介绍视频[多张用逗号分隔]",
  5516. "type": "string"
  5517. }
  5518. }
  5519. },
  5520. "models.HsbyPreGoodsDetail": {
  5521. "type": "object",
  5522. "required": [
  5523. "goodscode",
  5524. "goodsid",
  5525. "goodsname",
  5526. "marketid",
  5527. "trademode"
  5528. ],
  5529. "properties": {
  5530. "agreeunit": {
  5531. "description": "合约单位",
  5532. "type": "number"
  5533. },
  5534. "buymaxqty": {
  5535. "description": "购买上限 [71] - 0为不限",
  5536. "type": "integer"
  5537. },
  5538. "currency": {
  5539. "description": "货币",
  5540. "type": "string"
  5541. },
  5542. "currencysign": {
  5543. "description": "货币符号",
  5544. "type": "string"
  5545. },
  5546. "customername": {
  5547. "description": "发行单位",
  5548. "type": "string"
  5549. },
  5550. "decimalplace": {
  5551. "description": "报价小数位",
  5552. "type": "integer"
  5553. },
  5554. "desccityid": {
  5555. "description": "目的地(市)ID",
  5556. "type": "integer"
  5557. },
  5558. "descprovinceid": {
  5559. "description": "目的地(省)ID",
  5560. "type": "integer"
  5561. },
  5562. "enableqty": {
  5563. "description": "剩余数量",
  5564. "type": "integer"
  5565. },
  5566. "goodscode": {
  5567. "description": "商品代码(内部)",
  5568. "type": "string"
  5569. },
  5570. "goodsdesc": {
  5571. "description": "商品详情",
  5572. "type": "string"
  5573. },
  5574. "goodsid": {
  5575. "description": "商品ID(自增ID SEQ_GOODS)",
  5576. "type": "integer"
  5577. },
  5578. "goodsname": {
  5579. "description": "商品名称",
  5580. "type": "string"
  5581. },
  5582. "goodsstatus": {
  5583. "description": "商品状态- 2:未上市 3:上市",
  5584. "type": "integer"
  5585. },
  5586. "goodunit": {
  5587. "description": "报价单位",
  5588. "type": "string"
  5589. },
  5590. "lasttradedate": {
  5591. "description": "最后交易日期(状态:待退市)",
  5592. "type": "string"
  5593. },
  5594. "listingdate": {
  5595. "description": "交易开始日期",
  5596. "type": "string"
  5597. },
  5598. "lotsize": {
  5599. "description": "手数最小变动单位",
  5600. "type": "integer"
  5601. },
  5602. "marketid": {
  5603. "description": "所属市场ID",
  5604. "type": "integer"
  5605. },
  5606. "picurls": {
  5607. "description": "介绍图片[多张用逗号分隔]",
  5608. "type": "string"
  5609. },
  5610. "presaledqty": {
  5611. "description": "已预售量(预售结束时更新)",
  5612. "type": "integer"
  5613. },
  5614. "presaleqty": {
  5615. "description": "预售数量",
  5616. "type": "integer"
  5617. },
  5618. "quoteminunit": {
  5619. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5620. "type": "integer"
  5621. },
  5622. "refprice": {
  5623. "description": "参考价格[一口价]",
  5624. "type": "number"
  5625. },
  5626. "relatedgoodsid": {
  5627. "description": "关联交易合约ID",
  5628. "type": "integer"
  5629. },
  5630. "stepvalue": {
  5631. "description": "价格最小变动单位",
  5632. "type": "number"
  5633. },
  5634. "trademode": {
  5635. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5636. "type": "integer"
  5637. },
  5638. "vendorattr": {
  5639. "description": "供应商附件(多张,逗号分隔)",
  5640. "type": "string"
  5641. },
  5642. "vendorname": {
  5643. "description": "供应商名称",
  5644. "type": "string"
  5645. },
  5646. "vendorphone": {
  5647. "description": "供应商客服电话",
  5648. "type": "string"
  5649. },
  5650. "videourls": {
  5651. "description": "介绍视频[多张用逗号分隔]",
  5652. "type": "string"
  5653. }
  5654. }
  5655. },
  5656. "models.HsbySellMyDetail": {
  5657. "type": "object",
  5658. "required": [
  5659. "accountid",
  5660. "buyorsell",
  5661. "goodscode",
  5662. "goodsid",
  5663. "goodsname",
  5664. "marketid",
  5665. "orderid",
  5666. "qty",
  5667. "time",
  5668. "trademode"
  5669. ],
  5670. "properties": {
  5671. "accountid": {
  5672. "description": "账户ID[报价币种]",
  5673. "type": "integer"
  5674. },
  5675. "agreeunit": {
  5676. "description": "合约单位",
  5677. "type": "number"
  5678. },
  5679. "amount": {
  5680. "description": "金额 = 价格 * 数量 * 合约单位",
  5681. "type": "number"
  5682. },
  5683. "buyorsell": {
  5684. "description": "买卖 - 0:买 1:卖",
  5685. "type": "integer"
  5686. },
  5687. "currencysign": {
  5688. "description": "货币符号",
  5689. "type": "string"
  5690. },
  5691. "decimalplace": {
  5692. "description": "报价小数位",
  5693. "type": "integer"
  5694. },
  5695. "goodscode": {
  5696. "description": "商品代码(内部)",
  5697. "type": "string"
  5698. },
  5699. "goodsid": {
  5700. "description": "商品ID",
  5701. "type": "integer"
  5702. },
  5703. "goodsname": {
  5704. "description": "商品名称",
  5705. "type": "string"
  5706. },
  5707. "marketid": {
  5708. "description": "市场ID",
  5709. "type": "integer"
  5710. },
  5711. "orderid": {
  5712. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5713. "type": "string"
  5714. },
  5715. "ordertype": {
  5716. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5717. "type": "integer"
  5718. },
  5719. "picurls": {
  5720. "description": "介绍图片[多张用逗号分隔]",
  5721. "type": "string"
  5722. },
  5723. "price": {
  5724. "description": "价格",
  5725. "type": "number"
  5726. },
  5727. "qty": {
  5728. "description": "数量",
  5729. "type": "integer"
  5730. },
  5731. "time": {
  5732. "description": "时间",
  5733. "type": "string"
  5734. },
  5735. "trademode": {
  5736. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5737. "type": "integer"
  5738. },
  5739. "vendorname": {
  5740. "description": "供应商名称",
  5741. "type": "string"
  5742. }
  5743. }
  5744. },
  5745. "models.HsbyTopGoods": {
  5746. "type": "object",
  5747. "required": [
  5748. "goodscode",
  5749. "goodsid",
  5750. "goodsname",
  5751. "marketid",
  5752. "trademode"
  5753. ],
  5754. "properties": {
  5755. "agreeunit": {
  5756. "description": "合约单位",
  5757. "type": "number"
  5758. },
  5759. "currency": {
  5760. "description": "货币",
  5761. "type": "string"
  5762. },
  5763. "currencysign": {
  5764. "description": "货币符号",
  5765. "type": "string"
  5766. },
  5767. "decimalplace": {
  5768. "description": "报价小数位",
  5769. "type": "integer"
  5770. },
  5771. "goodscode": {
  5772. "description": "商品代码(内部)",
  5773. "type": "string"
  5774. },
  5775. "goodsid": {
  5776. "description": "商品ID(自增ID SEQ_GOODS)",
  5777. "type": "integer"
  5778. },
  5779. "goodsname": {
  5780. "description": "商品名称",
  5781. "type": "string"
  5782. },
  5783. "hotindex": {
  5784. "description": "景点热度",
  5785. "type": "integer"
  5786. },
  5787. "last": {
  5788. "description": "现价",
  5789. "type": "number"
  5790. },
  5791. "marketid": {
  5792. "description": "所属市场ID",
  5793. "type": "integer"
  5794. },
  5795. "picurls": {
  5796. "description": "介绍图片[多张用逗号分隔]",
  5797. "type": "string"
  5798. },
  5799. "quoteminunit": {
  5800. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5801. "type": "integer"
  5802. },
  5803. "trademode": {
  5804. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5805. "type": "integer"
  5806. },
  5807. "videourls": {
  5808. "description": "介绍视频[多张用逗号分隔]",
  5809. "type": "string"
  5810. }
  5811. }
  5812. },
  5813. "models.HybsMyBuyOrderDetail": {
  5814. "type": "object",
  5815. "required": [
  5816. "accountid",
  5817. "buyorsell",
  5818. "goodscode",
  5819. "goodsid",
  5820. "goodsname",
  5821. "marketid",
  5822. "orderid",
  5823. "orderqty",
  5824. "ordertime",
  5825. "trademode"
  5826. ],
  5827. "properties": {
  5828. "accountid": {
  5829. "description": "账户ID[报价币种]",
  5830. "type": "integer"
  5831. },
  5832. "agreeunit": {
  5833. "description": "合约单位",
  5834. "type": "number"
  5835. },
  5836. "buyorsell": {
  5837. "description": "买卖 - 0:买 1:卖",
  5838. "type": "integer"
  5839. },
  5840. "cancelqty": {
  5841. "description": "撤单数量",
  5842. "type": "integer"
  5843. },
  5844. "currencysign": {
  5845. "description": "货币符号",
  5846. "type": "string"
  5847. },
  5848. "decimalplace": {
  5849. "description": "报价小数位",
  5850. "type": "integer"
  5851. },
  5852. "goodscode": {
  5853. "description": "商品代码(内部)",
  5854. "type": "string"
  5855. },
  5856. "goodsid": {
  5857. "description": "商品ID",
  5858. "type": "integer"
  5859. },
  5860. "goodsname": {
  5861. "description": "商品名称",
  5862. "type": "string"
  5863. },
  5864. "listingselecttype": {
  5865. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5866. "type": "integer"
  5867. },
  5868. "marketid": {
  5869. "description": "市场ID",
  5870. "type": "integer"
  5871. },
  5872. "mybuystatus": {
  5873. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  5874. "type": "integer"
  5875. },
  5876. "orderamount": {
  5877. "description": "委托金额",
  5878. "type": "number"
  5879. },
  5880. "orderid": {
  5881. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5882. "type": "string"
  5883. },
  5884. "orderprice": {
  5885. "description": "委托价格",
  5886. "type": "number"
  5887. },
  5888. "orderqty": {
  5889. "description": "委托数量",
  5890. "type": "integer"
  5891. },
  5892. "orderstatus": {
  5893. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5894. "type": "integer"
  5895. },
  5896. "ordertime": {
  5897. "description": "委托时间",
  5898. "type": "string"
  5899. },
  5900. "picurls1": {
  5901. "description": "预售商品介绍图片[多张用逗号分隔]",
  5902. "type": "string"
  5903. },
  5904. "picurls2": {
  5905. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5906. "type": "string"
  5907. },
  5908. "trademode": {
  5909. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5910. "type": "integer"
  5911. },
  5912. "tradeqty": {
  5913. "description": "成交数量",
  5914. "type": "integer"
  5915. },
  5916. "vendorname1": {
  5917. "description": "预售商品供应商名称",
  5918. "type": "string"
  5919. },
  5920. "vendorname2": {
  5921. "description": "挂牌商品供应商名称",
  5922. "type": "string"
  5923. }
  5924. }
  5925. },
  5926. "models.Messageboard": {
  5927. "type": "object",
  5928. "required": [
  5929. "messageboardid"
  5930. ],
  5931. "properties": {
  5932. "createtime": {
  5933. "description": "创建时间",
  5934. "type": "string"
  5935. },
  5936. "message": {
  5937. "description": "留言信息",
  5938. "type": "string"
  5939. },
  5940. "messageboardid": {
  5941. "description": "留言簿ID(SEQ_MessageBoard)",
  5942. "type": "integer"
  5943. },
  5944. "userid": {
  5945. "description": "用户ID",
  5946. "type": "integer"
  5947. }
  5948. }
  5949. },
  5950. "models.OperationPrimaryMenu": {
  5951. "type": "object",
  5952. "properties": {
  5953. "Children": {
  5954. "description": "二级功能菜单",
  5955. "type": "array",
  5956. "items": {
  5957. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5958. }
  5959. },
  5960. "Key": {
  5961. "description": "菜单KEY",
  5962. "type": "string"
  5963. },
  5964. "Label": {
  5965. "description": "菜单标题",
  5966. "type": "string"
  5967. }
  5968. }
  5969. },
  5970. "models.OperationSecondaryMenu": {
  5971. "type": "object",
  5972. "properties": {
  5973. "Key": {
  5974. "description": "菜单KEY",
  5975. "type": "string"
  5976. },
  5977. "Label": {
  5978. "description": "菜单标题",
  5979. "type": "string"
  5980. },
  5981. "TabList": {
  5982. "description": "三级功能菜单",
  5983. "type": "array",
  5984. "items": {
  5985. "$ref": "#/definitions/models.OperationTabMenu"
  5986. }
  5987. }
  5988. }
  5989. },
  5990. "models.OperationTabMenu": {
  5991. "type": "object",
  5992. "properties": {
  5993. "Key": {
  5994. "description": "菜单KEY",
  5995. "type": "string"
  5996. },
  5997. "Label": {
  5998. "description": "菜单标题",
  5999. "type": "string"
  6000. }
  6001. }
  6002. },
  6003. "models.QuotePrimaryMenu": {
  6004. "type": "object",
  6005. "properties": {
  6006. "Index": {
  6007. "description": "序号",
  6008. "type": "integer"
  6009. },
  6010. "Key": {
  6011. "description": "键名",
  6012. "type": "string"
  6013. },
  6014. "Name": {
  6015. "description": "菜单名称",
  6016. "type": "string"
  6017. },
  6018. "SubMenus": {
  6019. "description": "子菜单",
  6020. "type": "array",
  6021. "items": {
  6022. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  6023. }
  6024. },
  6025. "SubTitleType": {
  6026. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  6027. "type": "integer"
  6028. },
  6029. "TradeModes": {
  6030. "description": "包含市场交易类型",
  6031. "type": "string"
  6032. }
  6033. }
  6034. },
  6035. "models.QuoteSecondaryMenu": {
  6036. "type": "object",
  6037. "properties": {
  6038. "ExExchangeCode": {
  6039. "description": "外部交易所代码",
  6040. "type": "string"
  6041. },
  6042. "ExExchangeID": {
  6043. "description": "外部交易所ID",
  6044. "type": "integer"
  6045. },
  6046. "GoodsGroupIDs": {
  6047. "description": "商品组ID列表",
  6048. "type": "array",
  6049. "items": {
  6050. "type": "integer"
  6051. }
  6052. },
  6053. "Index": {
  6054. "description": "序号",
  6055. "type": "integer"
  6056. },
  6057. "MarketID": {
  6058. "description": "市场ID",
  6059. "type": "integer"
  6060. },
  6061. "MenuTitle": {
  6062. "description": "菜单标题(市场名称或外部交易所名称)",
  6063. "type": "string"
  6064. },
  6065. "TradeMode": {
  6066. "description": "交易模式",
  6067. "type": "integer"
  6068. }
  6069. }
  6070. },
  6071. "models.SearchGoods": {
  6072. "type": "object",
  6073. "required": [
  6074. "goodscode",
  6075. "goodsid",
  6076. "goodsname",
  6077. "marketid",
  6078. "trademode"
  6079. ],
  6080. "properties": {
  6081. "goodscode": {
  6082. "description": "商品代码(内部)",
  6083. "type": "string"
  6084. },
  6085. "goodsid": {
  6086. "description": "商品ID(自增ID SEQ_GOODS)",
  6087. "type": "integer"
  6088. },
  6089. "goodsname": {
  6090. "description": "商品名称",
  6091. "type": "string"
  6092. },
  6093. "marketid": {
  6094. "description": "所属市场ID",
  6095. "type": "integer"
  6096. },
  6097. "marketname": {
  6098. "description": "市场名称",
  6099. "type": "string"
  6100. },
  6101. "trademode": {
  6102. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6103. "type": "integer"
  6104. }
  6105. }
  6106. },
  6107. "models.Szdz2imageconfig": {
  6108. "type": "object",
  6109. "required": [
  6110. "configid"
  6111. ],
  6112. "properties": {
  6113. "configid": {
  6114. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6115. "type": "integer"
  6116. },
  6117. "imagepath": {
  6118. "description": "图片",
  6119. "type": "string"
  6120. },
  6121. "imagetype": {
  6122. "description": "类型 - 1:App首页轮播 2:我的",
  6123. "type": "integer"
  6124. },
  6125. "sort": {
  6126. "description": "排序",
  6127. "type": "integer"
  6128. },
  6129. "title": {
  6130. "description": "标题",
  6131. "type": "string"
  6132. },
  6133. "url": {
  6134. "description": "链接",
  6135. "type": "string"
  6136. }
  6137. }
  6138. },
  6139. "models.Szdz3convertconfig": {
  6140. "type": "object",
  6141. "required": [
  6142. "converttype",
  6143. "innergoodsid",
  6144. "outergoodscode"
  6145. ],
  6146. "properties": {
  6147. "canin": {
  6148. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6149. "type": "integer"
  6150. },
  6151. "canout": {
  6152. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6153. "type": "integer"
  6154. },
  6155. "converttype": {
  6156. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6157. "type": "integer"
  6158. },
  6159. "createtime": {
  6160. "description": "创建时间",
  6161. "type": "string"
  6162. },
  6163. "creatorid": {
  6164. "description": "创建人",
  6165. "type": "integer"
  6166. },
  6167. "daymaxvalue": {
  6168. "description": "当日最大转入限制",
  6169. "type": "number"
  6170. },
  6171. "freezedays": {
  6172. "description": "冻结天数 [5:花生米转交易]",
  6173. "type": "integer"
  6174. },
  6175. "innergoodsid": {
  6176. "description": "内部商品ID[交易]",
  6177. "type": "integer"
  6178. },
  6179. "inratio": {
  6180. "description": "目标值",
  6181. "type": "integer"
  6182. },
  6183. "modifierid": {
  6184. "description": "修改人",
  6185. "type": "integer"
  6186. },
  6187. "modifytime": {
  6188. "description": "修改时间",
  6189. "type": "string"
  6190. },
  6191. "outergoodscode": {
  6192. "description": "外部商品代码[JD\\PD]",
  6193. "type": "string"
  6194. },
  6195. "outratio": {
  6196. "description": "源值",
  6197. "type": "integer"
  6198. },
  6199. "pddecimalplace": {
  6200. "description": "PD小数位",
  6201. "type": "integer"
  6202. },
  6203. "timemaxvalue": {
  6204. "description": "单次最大转入限制",
  6205. "type": "number"
  6206. },
  6207. "timeminvalue": {
  6208. "description": "单次最小转入限制",
  6209. "type": "number"
  6210. }
  6211. }
  6212. },
  6213. "models.Szdz3searchwhitelist": {
  6214. "type": "object",
  6215. "required": [
  6216. "userid"
  6217. ],
  6218. "properties": {
  6219. "createtime": {
  6220. "description": "创建时间",
  6221. "type": "string"
  6222. },
  6223. "creatorid": {
  6224. "description": "创建人",
  6225. "type": "integer"
  6226. },
  6227. "modifierid": {
  6228. "description": "修改人",
  6229. "type": "integer"
  6230. },
  6231. "modifytime": {
  6232. "description": "修改时间",
  6233. "type": "string"
  6234. },
  6235. "userid": {
  6236. "description": "用户ID",
  6237. "type": "integer"
  6238. }
  6239. }
  6240. },
  6241. "models.Tablecolumnconfig": {
  6242. "type": "object",
  6243. "required": [
  6244. "autoid"
  6245. ],
  6246. "properties": {
  6247. "aligntype": {
  6248. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6249. "type": "integer"
  6250. },
  6251. "autoid": {
  6252. "description": "AutoID",
  6253. "type": "integer"
  6254. },
  6255. "columnfield": {
  6256. "description": "列字段",
  6257. "type": "string"
  6258. },
  6259. "columntitle": {
  6260. "description": "列Title",
  6261. "type": "string"
  6262. },
  6263. "columnwidth": {
  6264. "description": "列宽",
  6265. "type": "string"
  6266. },
  6267. "formatterstring": {
  6268. "description": "格式化字符",
  6269. "type": "string"
  6270. },
  6271. "formattertype": {
  6272. "description": "格式化类型",
  6273. "type": "string"
  6274. },
  6275. "groupname": {
  6276. "description": "表头分组名称",
  6277. "type": "string"
  6278. },
  6279. "isshow": {
  6280. "description": "是否显示 - 0:不显示 1:显示",
  6281. "type": "integer"
  6282. },
  6283. "needsummary": {
  6284. "description": "是否需要汇总 - 0:不需要 1:需要",
  6285. "type": "integer"
  6286. },
  6287. "orderindex": {
  6288. "description": "顺序",
  6289. "type": "integer"
  6290. },
  6291. "remark": {
  6292. "description": "备注",
  6293. "type": "string"
  6294. },
  6295. "summarytype": {
  6296. "description": "汇总类型 - 1:加总 2:最后一个",
  6297. "type": "integer"
  6298. },
  6299. "tablekey": {
  6300. "description": "列表Key",
  6301. "type": "string"
  6302. }
  6303. }
  6304. },
  6305. "models.Useraccount": {
  6306. "type": "object",
  6307. "required": [
  6308. "userid"
  6309. ],
  6310. "properties": {
  6311. "accountname": {
  6312. "description": "账户名称(机构名称)",
  6313. "type": "string"
  6314. },
  6315. "accountstatus": {
  6316. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6317. "type": "integer"
  6318. },
  6319. "auditremark": {
  6320. "description": "审核备注",
  6321. "type": "string"
  6322. },
  6323. "audittime": {
  6324. "description": "审核时间",
  6325. "type": "string"
  6326. },
  6327. "audituserid": {
  6328. "description": "审核人",
  6329. "type": "integer"
  6330. },
  6331. "broker": {
  6332. "description": "所属经纪人ID",
  6333. "type": "integer"
  6334. },
  6335. "canceltime": {
  6336. "description": "销户时间",
  6337. "type": "string"
  6338. },
  6339. "canceluserid": {
  6340. "description": "销户人",
  6341. "type": "integer"
  6342. },
  6343. "createtime": {
  6344. "description": "创建时间",
  6345. "type": "string"
  6346. },
  6347. "creatorid": {
  6348. "description": "创建人",
  6349. "type": "integer"
  6350. },
  6351. "hasauth": {
  6352. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  6353. "type": "integer"
  6354. },
  6355. "isanonymous": {
  6356. "description": "是否匿名下单 - 0:否 1:是",
  6357. "type": "integer"
  6358. },
  6359. "maxinvestornum": {
  6360. "description": "最大用户数(经纪会员下投资者个数)",
  6361. "type": "integer"
  6362. },
  6363. "memberuserid": {
  6364. "description": "所属会员ID",
  6365. "type": "integer"
  6366. },
  6367. "modifierid": {
  6368. "description": "修改人",
  6369. "type": "integer"
  6370. },
  6371. "modifyremark": {
  6372. "description": "变更备注",
  6373. "type": "string"
  6374. },
  6375. "modifystatus": {
  6376. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  6377. "type": "integer"
  6378. },
  6379. "modifytime": {
  6380. "description": "修改时间",
  6381. "type": "string"
  6382. },
  6383. "parentuserid": {
  6384. "description": "所属机构ID",
  6385. "type": "integer"
  6386. },
  6387. "reckonaccountid": {
  6388. "description": "默认结算资金账号ID(机构分润使用) 作废",
  6389. "type": "integer"
  6390. },
  6391. "refercount": {
  6392. "description": "推荐总人数",
  6393. "type": "integer"
  6394. },
  6395. "refereeuserid": {
  6396. "description": "推荐人ID",
  6397. "type": "integer"
  6398. },
  6399. "refernum": {
  6400. "description": "推荐码",
  6401. "type": "string"
  6402. },
  6403. "subarealevelpath": {
  6404. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  6405. "type": "string"
  6406. },
  6407. "userid": {
  6408. "description": "用户ID",
  6409. "type": "integer"
  6410. },
  6411. "usertype": {
  6412. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6413. "type": "integer"
  6414. }
  6415. }
  6416. },
  6417. "models.Userfavoritegoods": {
  6418. "type": "object",
  6419. "required": [
  6420. "goodsid"
  6421. ],
  6422. "properties": {
  6423. "goodsid": {
  6424. "description": "商品ID",
  6425. "type": "integer"
  6426. }
  6427. }
  6428. },
  6429. "models.Userinfo": {
  6430. "type": "object",
  6431. "required": [
  6432. "userid"
  6433. ],
  6434. "properties": {
  6435. "address": {
  6436. "description": "地址",
  6437. "type": "string"
  6438. },
  6439. "attachment1": {
  6440. "description": "附件1",
  6441. "type": "string"
  6442. },
  6443. "attachment2": {
  6444. "description": "附件2",
  6445. "type": "string"
  6446. },
  6447. "bankaccount": {
  6448. "description": "银行帐号 (加密存储)",
  6449. "type": "string"
  6450. },
  6451. "bankaccountname": {
  6452. "description": "收款人名称",
  6453. "type": "string"
  6454. },
  6455. "bankcardfrontphotourl": {
  6456. "description": "银行卡正面照地址",
  6457. "type": "string"
  6458. },
  6459. "bankid": {
  6460. "description": "银行编码",
  6461. "type": "string"
  6462. },
  6463. "bankname": {
  6464. "description": "银行名称",
  6465. "type": "string"
  6466. },
  6467. "biznature": {
  6468. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6469. "type": "integer"
  6470. },
  6471. "bizscope": {
  6472. "description": "企业经营范围(企业)",
  6473. "type": "string"
  6474. },
  6475. "cardbackphotourl": {
  6476. "description": "证件背面图片地址",
  6477. "type": "string"
  6478. },
  6479. "cardfrontphotourl": {
  6480. "description": "证件正面图片地址",
  6481. "type": "string"
  6482. },
  6483. "cardnum": {
  6484. "description": "证件号码(加密存储)",
  6485. "type": "string"
  6486. },
  6487. "cardtypeid": {
  6488. "description": "证件类型ID",
  6489. "type": "integer"
  6490. },
  6491. "cityid": {
  6492. "description": "市",
  6493. "type": "integer"
  6494. },
  6495. "company": {
  6496. "description": "公司(个人)",
  6497. "type": "string"
  6498. },
  6499. "contactname": {
  6500. "description": "联系人",
  6501. "type": "string"
  6502. },
  6503. "countryid": {
  6504. "description": "国家",
  6505. "type": "integer"
  6506. },
  6507. "createtime": {
  6508. "description": "创建时间",
  6509. "type": "string"
  6510. },
  6511. "creatorid": {
  6512. "description": "创建人",
  6513. "type": "integer"
  6514. },
  6515. "customername": {
  6516. "description": "客户名称(企业名称)",
  6517. "type": "string"
  6518. },
  6519. "districtid": {
  6520. "description": "地区",
  6521. "type": "integer"
  6522. },
  6523. "email": {
  6524. "description": "邮件(加密存储)",
  6525. "type": "string"
  6526. },
  6527. "fax": {
  6528. "description": "传真(加密存储)",
  6529. "type": "string"
  6530. },
  6531. "halfbodyphotourl": {
  6532. "description": "半身照地址",
  6533. "type": "string"
  6534. },
  6535. "hasencrypt": {
  6536. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6537. "type": "integer"
  6538. },
  6539. "headurl": {
  6540. "description": "头像地址",
  6541. "type": "string"
  6542. },
  6543. "legalcardbackphotourl": {
  6544. "description": "法人身份证背面照地址",
  6545. "type": "string"
  6546. },
  6547. "legalcardfrontphotourl": {
  6548. "description": "法人身份证正面照地址",
  6549. "type": "string"
  6550. },
  6551. "legalpersonname": {
  6552. "description": "法人姓名(企业)",
  6553. "type": "string"
  6554. },
  6555. "mobile": {
  6556. "description": "手机号码(加密存储)",
  6557. "type": "string"
  6558. },
  6559. "mobile2": {
  6560. "description": "手机号码[明文-尚志]",
  6561. "type": "string"
  6562. },
  6563. "modifierid": {
  6564. "description": "修改人",
  6565. "type": "integer"
  6566. },
  6567. "modifiertime": {
  6568. "description": "修改时间",
  6569. "type": "string"
  6570. },
  6571. "needinvoice": {
  6572. "description": "是否需要发票 - 0:不需要 1:需要",
  6573. "type": "integer"
  6574. },
  6575. "nickname": {
  6576. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6577. "type": "string"
  6578. },
  6579. "openmode": {
  6580. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6581. "type": "integer"
  6582. },
  6583. "otherurl": {
  6584. "description": "其它图片地址[使用分号分隔]",
  6585. "type": "string"
  6586. },
  6587. "postalcode": {
  6588. "description": "邮政编码",
  6589. "type": "string"
  6590. },
  6591. "provinceid": {
  6592. "description": "省",
  6593. "type": "integer"
  6594. },
  6595. "qq": {
  6596. "description": "QQ(加密存储",
  6597. "type": "string"
  6598. },
  6599. "remark": {
  6600. "description": "备注",
  6601. "type": "string"
  6602. },
  6603. "sex": {
  6604. "description": "用户性别 0: 女 1: 男",
  6605. "type": "integer"
  6606. },
  6607. "signpdfurl": {
  6608. "description": "签约pdf文件",
  6609. "type": "string"
  6610. },
  6611. "telphone": {
  6612. "description": "联系电话(加密存储)",
  6613. "type": "string"
  6614. },
  6615. "userid": {
  6616. "description": "用户ID",
  6617. "type": "integer"
  6618. },
  6619. "userinfotype": {
  6620. "description": "用户信息类型 - 1:个人 2:企业",
  6621. "type": "integer"
  6622. },
  6623. "userstatus": {
  6624. "description": "用户状态 - 1:正常 2:注销",
  6625. "type": "integer"
  6626. },
  6627. "usertype": {
  6628. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6629. "type": "integer"
  6630. },
  6631. "wechat": {
  6632. "description": "微信(加密存储)",
  6633. "type": "string"
  6634. },
  6635. "wskhinfo": {
  6636. "description": "开户申请信息(JSON)",
  6637. "type": "string"
  6638. }
  6639. }
  6640. },
  6641. "models.WRStandardInfo": {
  6642. "type": "object",
  6643. "required": [
  6644. "wrstandardid"
  6645. ],
  6646. "properties": {
  6647. "createtime": {
  6648. "description": "创建时间",
  6649. "type": "string"
  6650. },
  6651. "creatorid": {
  6652. "description": "创建人",
  6653. "type": "integer"
  6654. },
  6655. "deliverygoodsid": {
  6656. "description": "品种ID",
  6657. "type": "integer"
  6658. },
  6659. "deliverygoodsname": {
  6660. "description": "交割商品名称",
  6661. "type": "string"
  6662. },
  6663. "factoryitemjson": {
  6664. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6665. "type": "string"
  6666. },
  6667. "isvalid": {
  6668. "description": "是否有效 - 0:无效 1:有效",
  6669. "type": "integer"
  6670. },
  6671. "minivalue": {
  6672. "description": "最小变动值",
  6673. "type": "integer"
  6674. },
  6675. "minivaluedp": {
  6676. "description": "最小变动值小数位",
  6677. "type": "integer"
  6678. },
  6679. "realminivalue": {
  6680. "description": "实际最小变动值",
  6681. "type": "integer"
  6682. },
  6683. "realminivaluedp": {
  6684. "description": "实际最小变动值小数位",
  6685. "type": "integer"
  6686. },
  6687. "unitid": {
  6688. "description": "单位ID",
  6689. "type": "integer"
  6690. },
  6691. "unitname": {
  6692. "description": "单位",
  6693. "type": "string"
  6694. },
  6695. "updatetime": {
  6696. "description": "更新时间",
  6697. "type": "string"
  6698. },
  6699. "updatorid": {
  6700. "description": "更新人",
  6701. "type": "integer"
  6702. },
  6703. "wrsstatus": {
  6704. "description": "状态 - 作废 - 0:未激活 1:正常",
  6705. "type": "integer"
  6706. },
  6707. "wrstandardcode": {
  6708. "description": "仓单标准代码",
  6709. "type": "string"
  6710. },
  6711. "wrstandardid": {
  6712. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6713. "type": "integer"
  6714. },
  6715. "wrstandardname": {
  6716. "description": "仓单标准名称",
  6717. "type": "string"
  6718. }
  6719. }
  6720. },
  6721. "models.Warehouseinfo": {
  6722. "type": "object",
  6723. "required": [
  6724. "autoid",
  6725. "warehousecode"
  6726. ],
  6727. "properties": {
  6728. "address": {
  6729. "description": "详细地址",
  6730. "type": "string"
  6731. },
  6732. "areauserid": {
  6733. "description": "所属机构",
  6734. "type": "integer"
  6735. },
  6736. "autoid": {
  6737. "description": "自增ID",
  6738. "type": "integer"
  6739. },
  6740. "cityid": {
  6741. "description": "市",
  6742. "type": "integer"
  6743. },
  6744. "contactname": {
  6745. "description": "联系人",
  6746. "type": "string"
  6747. },
  6748. "contactnum": {
  6749. "description": "联系电话",
  6750. "type": "string"
  6751. },
  6752. "countryid": {
  6753. "description": "国家",
  6754. "type": "integer"
  6755. },
  6756. "createtime": {
  6757. "description": "创建时间",
  6758. "type": "string"
  6759. },
  6760. "districtid": {
  6761. "description": "区",
  6762. "type": "integer"
  6763. },
  6764. "hasvideo": {
  6765. "description": "是否有视频 - 0:无 1:有",
  6766. "type": "integer"
  6767. },
  6768. "provinceid": {
  6769. "description": "省",
  6770. "type": "integer"
  6771. },
  6772. "remark": {
  6773. "description": "审核备注",
  6774. "type": "string"
  6775. },
  6776. "videourl": {
  6777. "description": "视频地址",
  6778. "type": "string"
  6779. },
  6780. "warehousecode": {
  6781. "description": "仓库代码",
  6782. "type": "string"
  6783. },
  6784. "warehousename": {
  6785. "description": "仓库名称",
  6786. "type": "string"
  6787. },
  6788. "warehousestatus": {
  6789. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6790. "type": "integer"
  6791. },
  6792. "warehousetype": {
  6793. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6794. "type": "integer"
  6795. }
  6796. }
  6797. },
  6798. "order.QueryHisTradeDetailRsp": {
  6799. "type": "object",
  6800. "required": [
  6801. "accountid",
  6802. "buyorsell",
  6803. "goodsid",
  6804. "histradedate",
  6805. "marketid",
  6806. "memberuserid",
  6807. "orderid",
  6808. "tradeamount",
  6809. "tradedate",
  6810. "tradeid",
  6811. "tradeprice",
  6812. "tradeqty",
  6813. "tradetime"
  6814. ],
  6815. "properties": {
  6816. "accountid": {
  6817. "description": "账户ID[报价币种]",
  6818. "type": "integer"
  6819. },
  6820. "buildtype": {
  6821. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6822. "type": "integer"
  6823. },
  6824. "buyorsell": {
  6825. "description": "方向 - 0:买 1:卖",
  6826. "type": "integer"
  6827. },
  6828. "charge": {
  6829. "description": "手续费",
  6830. "type": "number"
  6831. },
  6832. "closecharge": {
  6833. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6834. "type": "number"
  6835. },
  6836. "closeexchagechargevalue": {
  6837. "description": "平仓交易所手续费设置值",
  6838. "type": "number"
  6839. },
  6840. "closefeealgorithm": {
  6841. "description": "平仓手续费收取方式 1:比率 2:固定",
  6842. "type": "integer"
  6843. },
  6844. "closememberchargevalue": {
  6845. "description": "平仓会员手续费设置值",
  6846. "type": "number"
  6847. },
  6848. "closepl": {
  6849. "description": "平仓盈亏",
  6850. "type": "number"
  6851. },
  6852. "closepl2": {
  6853. "description": "平仓盈亏[逐笔]",
  6854. "type": "number"
  6855. },
  6856. "closeqty": {
  6857. "description": "平仓数量(先建后平操作 需要记录)",
  6858. "type": "integer"
  6859. },
  6860. "creditamount": {
  6861. "description": "授信金额",
  6862. "type": "number"
  6863. },
  6864. "gcaccountid": {
  6865. "description": "账户ID[合约币种]",
  6866. "type": "integer"
  6867. },
  6868. "goodscode": {
  6869. "description": "商品代码",
  6870. "type": "string"
  6871. },
  6872. "goodsid": {
  6873. "description": "商品ID",
  6874. "type": "integer"
  6875. },
  6876. "goodsname": {
  6877. "description": "商品名称",
  6878. "type": "string"
  6879. },
  6880. "histradedate": {
  6881. "description": "历史交易日",
  6882. "type": "string"
  6883. },
  6884. "intclosepl": {
  6885. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6886. "type": "integer"
  6887. },
  6888. "isconfirmexercise": {
  6889. "description": "是否确认行权- 0:否 1:是",
  6890. "type": "integer"
  6891. },
  6892. "ismain": {
  6893. "description": "是否主单 - 0:不是 1:是",
  6894. "type": "integer"
  6895. },
  6896. "ispreexercise": {
  6897. "description": "是否预申报- 0:否 1:是",
  6898. "type": "integer"
  6899. },
  6900. "isreckoned": {
  6901. "description": "是否结算 - 0:未结算 1:已结算",
  6902. "type": "integer"
  6903. },
  6904. "isvaliddata": {
  6905. "description": "是否有效 - 0:无效 1:有效",
  6906. "type": "integer"
  6907. },
  6908. "listingselecttype": {
  6909. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6910. "type": "integer"
  6911. },
  6912. "marketid": {
  6913. "description": "市场ID",
  6914. "type": "integer"
  6915. },
  6916. "marketname": {
  6917. "description": "市场名称",
  6918. "type": "string"
  6919. },
  6920. "matchaccountid": {
  6921. "description": "对手账号id",
  6922. "type": "integer"
  6923. },
  6924. "memberuserid": {
  6925. "description": "会员id 个人投资者 需要填写",
  6926. "type": "integer"
  6927. },
  6928. "opencharge": {
  6929. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6930. "type": "number"
  6931. },
  6932. "openexchagechargevalue": {
  6933. "description": "建仓交易所手续费设置值",
  6934. "type": "number"
  6935. },
  6936. "openfeealgorithm": {
  6937. "description": "建仓手续费收取方式 1:比率 2:固定",
  6938. "type": "integer"
  6939. },
  6940. "openmemberchargevalue": {
  6941. "description": "建仓会员手续费设置值",
  6942. "type": "number"
  6943. },
  6944. "openqty": {
  6945. "description": "开仓数量(先建后平操作 需要记录)",
  6946. "type": "integer"
  6947. },
  6948. "optiontype": {
  6949. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6950. "type": "integer"
  6951. },
  6952. "orderid": {
  6953. "description": "委托单号",
  6954. "type": "string"
  6955. },
  6956. "performanceplanid": {
  6957. "description": "履约计划ID[期权]",
  6958. "type": "integer"
  6959. },
  6960. "performancestatus": {
  6961. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6962. "type": "integer"
  6963. },
  6964. "preexerciseprice": {
  6965. "description": "预申报价格",
  6966. "type": "number"
  6967. },
  6968. "premium": {
  6969. "description": "权利金 - [持仓单的权利金]",
  6970. "type": "number"
  6971. },
  6972. "relatedouttradeid": {
  6973. "description": "关联外部成交单ID",
  6974. "type": "integer"
  6975. },
  6976. "status": {
  6977. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6978. "type": "integer"
  6979. },
  6980. "tradeamount": {
  6981. "description": "成交金额[账户币种,用于所有权]",
  6982. "type": "number"
  6983. },
  6984. "tradedate": {
  6985. "description": "交易日(yyyyMMdd)",
  6986. "type": "string"
  6987. },
  6988. "tradeid": {
  6989. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6990. "type": "string"
  6991. },
  6992. "trademode": {
  6993. "description": "交易模式",
  6994. "type": "integer"
  6995. },
  6996. "tradeprice": {
  6997. "description": "成交价格",
  6998. "type": "number"
  6999. },
  7000. "tradeproperty": {
  7001. "description": "交易属性",
  7002. "type": "integer"
  7003. },
  7004. "tradeqty": {
  7005. "description": "成交数量",
  7006. "type": "integer"
  7007. },
  7008. "tradetime": {
  7009. "description": "成交时间",
  7010. "type": "string"
  7011. },
  7012. "tradetype": {
  7013. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7014. "type": "integer"
  7015. }
  7016. }
  7017. },
  7018. "order.QueryHisTradeOrderDetailRsp": {
  7019. "type": "object",
  7020. "required": [
  7021. "accountid",
  7022. "buildtype",
  7023. "buyorsell",
  7024. "goodsid",
  7025. "histradedate",
  7026. "marketid",
  7027. "memberuserid",
  7028. "operatetype",
  7029. "orderid",
  7030. "orderqty",
  7031. "ordertime",
  7032. "pricemode",
  7033. "tradedate",
  7034. "validtype"
  7035. ],
  7036. "properties": {
  7037. "accountid": {
  7038. "description": "账户ID[报价币种]",
  7039. "type": "integer"
  7040. },
  7041. "buildtype": {
  7042. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7043. "type": "integer"
  7044. },
  7045. "buyorsell": {
  7046. "description": "买卖 - 0:买 1:卖",
  7047. "type": "integer"
  7048. },
  7049. "cancelorderid": {
  7050. "description": "撤单单号(撤单时填写)",
  7051. "type": "string"
  7052. },
  7053. "cancelqty": {
  7054. "description": "撤单数量",
  7055. "type": "integer"
  7056. },
  7057. "clientordertime": {
  7058. "description": "客户端委托时间",
  7059. "type": "string"
  7060. },
  7061. "clientticket": {
  7062. "description": "客户端流水号",
  7063. "type": "string"
  7064. },
  7065. "clienttype": {
  7066. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7067. "type": "integer"
  7068. },
  7069. "closeexchagechargevalue": {
  7070. "description": "平仓交易所手续费设置值",
  7071. "type": "number"
  7072. },
  7073. "closefeealgorithm": {
  7074. "description": "平仓手续费收取方式 1:比率 2:固定",
  7075. "type": "integer"
  7076. },
  7077. "closefreezecharge": {
  7078. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7079. "type": "number"
  7080. },
  7081. "closememberchargevalue": {
  7082. "description": "平仓会员手续费设置值",
  7083. "type": "number"
  7084. },
  7085. "closeqty": {
  7086. "description": "平仓数量(先建后平操作 需要记录)",
  7087. "type": "integer"
  7088. },
  7089. "closetradeqty": {
  7090. "description": "平仓成交数量(先建后平操作,需要记录)",
  7091. "type": "integer"
  7092. },
  7093. "closeunfreezecharge": {
  7094. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7095. "type": "number"
  7096. },
  7097. "delistingtype": {
  7098. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7099. "type": "integer"
  7100. },
  7101. "freezecharge": {
  7102. "description": "冻结手续费",
  7103. "type": "number"
  7104. },
  7105. "freezemargin": {
  7106. "description": "冻结保证金(冻结交易金额)",
  7107. "type": "number"
  7108. },
  7109. "gcaccountid": {
  7110. "description": "账户ID[合约币种]",
  7111. "type": "integer"
  7112. },
  7113. "goodscode": {
  7114. "description": "商品代码",
  7115. "type": "string"
  7116. },
  7117. "goodsid": {
  7118. "description": "商品ID",
  7119. "type": "integer"
  7120. },
  7121. "goodsname": {
  7122. "description": "商品名称",
  7123. "type": "string"
  7124. },
  7125. "histradedate": {
  7126. "description": "历史交易日",
  7127. "type": "string"
  7128. },
  7129. "isconfirmexercise": {
  7130. "description": "是否确认行权- 0:否 1:是",
  7131. "type": "integer"
  7132. },
  7133. "ispreexercise": {
  7134. "description": "是否预申报- 0:否 1:是",
  7135. "type": "integer"
  7136. },
  7137. "isvaliddata": {
  7138. "description": "是否有效 - 0:无效 1:有效",
  7139. "type": "integer"
  7140. },
  7141. "listingselecttype": {
  7142. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7143. "type": "integer"
  7144. },
  7145. "marginalgorithm": {
  7146. "description": "保证金收取方式 1:比率 2:固定",
  7147. "type": "integer"
  7148. },
  7149. "marginvalue": {
  7150. "description": "即市保证金设置值",
  7151. "type": "number"
  7152. },
  7153. "marketid": {
  7154. "description": "市场ID",
  7155. "type": "integer"
  7156. },
  7157. "marketmaxsub": {
  7158. "description": "市价最大偏移范围",
  7159. "type": "number"
  7160. },
  7161. "marketname": {
  7162. "description": "市场名称",
  7163. "type": "string"
  7164. },
  7165. "memberuserid": {
  7166. "description": "所属会员UserID",
  7167. "type": "integer"
  7168. },
  7169. "openexchagechargevalue": {
  7170. "description": "建仓交易所手续费设置值",
  7171. "type": "number"
  7172. },
  7173. "openfeealgorithm": {
  7174. "description": "建仓手续费收取方式 1:比率 2:固定",
  7175. "type": "integer"
  7176. },
  7177. "openfreezecharge": {
  7178. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7179. "type": "number"
  7180. },
  7181. "openmemberchargevalue": {
  7182. "description": "建仓会员手续费设置值",
  7183. "type": "number"
  7184. },
  7185. "openqty": {
  7186. "description": "开仓数量(先建后平操作,需要记录)",
  7187. "type": "integer"
  7188. },
  7189. "opentradeqty": {
  7190. "description": "开仓成交数量(先建后平操作,需要记录)",
  7191. "type": "integer"
  7192. },
  7193. "openunfreezecharge": {
  7194. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7195. "type": "number"
  7196. },
  7197. "operatetype": {
  7198. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7199. "type": "integer"
  7200. },
  7201. "operatorid": {
  7202. "description": "登录账号(LoginID)",
  7203. "type": "integer"
  7204. },
  7205. "optiontype": {
  7206. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7207. "type": "integer"
  7208. },
  7209. "orderid": {
  7210. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7211. "type": "string"
  7212. },
  7213. "orderprice": {
  7214. "description": "委托价格",
  7215. "type": "number"
  7216. },
  7217. "orderqty": {
  7218. "description": "委托数量",
  7219. "type": "integer"
  7220. },
  7221. "ordersrc": {
  7222. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7223. "type": "integer"
  7224. },
  7225. "orderstatus": {
  7226. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7227. "type": "integer"
  7228. },
  7229. "ordertime": {
  7230. "description": "委托时间",
  7231. "type": "string"
  7232. },
  7233. "preexerciseprice": {
  7234. "description": "预申报价格",
  7235. "type": "number"
  7236. },
  7237. "premium": {
  7238. "description": "权利金",
  7239. "type": "number"
  7240. },
  7241. "preorderid": {
  7242. "description": "关联预埋单号(止盈止损单时填写)",
  7243. "type": "string"
  7244. },
  7245. "pricemode": {
  7246. "description": "取价方式 - 1:市价 2: 限价",
  7247. "type": "integer"
  7248. },
  7249. "quoteid": {
  7250. "description": "报价单ID",
  7251. "type": "integer"
  7252. },
  7253. "relatedid": {
  7254. "description": "关联单号(交割单)",
  7255. "type": "string"
  7256. },
  7257. "retcode": {
  7258. "description": "错误代码",
  7259. "type": "integer"
  7260. },
  7261. "sessionid": {
  7262. "description": "会话ID",
  7263. "type": "integer"
  7264. },
  7265. "tradedate": {
  7266. "description": "交易日(yyyyMMdd)",
  7267. "type": "string"
  7268. },
  7269. "trademode": {
  7270. "description": "交易模式",
  7271. "type": "integer"
  7272. },
  7273. "tradeproperty": {
  7274. "description": "交易属性",
  7275. "type": "integer"
  7276. },
  7277. "tradeqty": {
  7278. "description": "成交数量",
  7279. "type": "integer"
  7280. },
  7281. "unfreezecharge": {
  7282. "description": "解冻手续费",
  7283. "type": "number"
  7284. },
  7285. "unfreezemargin": {
  7286. "description": "解冻保证金",
  7287. "type": "number"
  7288. },
  7289. "updatetime": {
  7290. "description": "更新时间",
  7291. "type": "string"
  7292. },
  7293. "uuid": {
  7294. "description": "发起端唯一id",
  7295. "type": "string"
  7296. },
  7297. "validtime": {
  7298. "description": "有效期限",
  7299. "type": "string"
  7300. },
  7301. "validtype": {
  7302. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7303. "type": "integer"
  7304. },
  7305. "volumetype": {
  7306. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7307. "type": "integer"
  7308. }
  7309. }
  7310. },
  7311. "order.QueryTradeDetailRsp": {
  7312. "type": "object",
  7313. "required": [
  7314. "accountid",
  7315. "buyorsell",
  7316. "goodsid",
  7317. "marketid",
  7318. "memberuserid",
  7319. "orderid",
  7320. "tradeamount",
  7321. "tradedate",
  7322. "tradeid",
  7323. "tradeprice",
  7324. "tradeqty",
  7325. "tradetime"
  7326. ],
  7327. "properties": {
  7328. "accountid": {
  7329. "description": "账户ID[报价币种]",
  7330. "type": "integer"
  7331. },
  7332. "buildtype": {
  7333. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7334. "type": "integer"
  7335. },
  7336. "buyorsell": {
  7337. "description": "方向 - 0:买 1:卖",
  7338. "type": "integer"
  7339. },
  7340. "charge": {
  7341. "description": "手续费",
  7342. "type": "number"
  7343. },
  7344. "closecharge": {
  7345. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7346. "type": "number"
  7347. },
  7348. "closeexchagechargevalue": {
  7349. "description": "平仓交易所手续费设置值",
  7350. "type": "number"
  7351. },
  7352. "closefeealgorithm": {
  7353. "description": "平仓手续费收取方式 1:比率 2:固定",
  7354. "type": "integer"
  7355. },
  7356. "closememberchargevalue": {
  7357. "description": "平仓会员手续费设置值",
  7358. "type": "number"
  7359. },
  7360. "closepl": {
  7361. "description": "平仓盈亏",
  7362. "type": "number"
  7363. },
  7364. "closepl2": {
  7365. "description": "平仓盈亏[逐笔]",
  7366. "type": "number"
  7367. },
  7368. "closeqty": {
  7369. "description": "平仓数量(先建后平操作 需要记录)",
  7370. "type": "integer"
  7371. },
  7372. "creditamount": {
  7373. "description": "授信金额",
  7374. "type": "number"
  7375. },
  7376. "gcaccountid": {
  7377. "description": "账户ID[合约币种]",
  7378. "type": "integer"
  7379. },
  7380. "goodscode": {
  7381. "description": "商品代码",
  7382. "type": "string"
  7383. },
  7384. "goodsid": {
  7385. "description": "商品ID",
  7386. "type": "integer"
  7387. },
  7388. "goodsname": {
  7389. "description": "商品名称",
  7390. "type": "string"
  7391. },
  7392. "intclosepl": {
  7393. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7394. "type": "integer"
  7395. },
  7396. "isconfirmexercise": {
  7397. "description": "是否确认行权- 0:否 1:是",
  7398. "type": "integer"
  7399. },
  7400. "ismain": {
  7401. "description": "是否主单 - 0:不是 1:是",
  7402. "type": "integer"
  7403. },
  7404. "ispreexercise": {
  7405. "description": "是否预申报- 0:否 1:是",
  7406. "type": "integer"
  7407. },
  7408. "isreckoned": {
  7409. "description": "是否结算 - 0:未结算 1:已结算",
  7410. "type": "integer"
  7411. },
  7412. "listingselecttype": {
  7413. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7414. "type": "integer"
  7415. },
  7416. "marketid": {
  7417. "description": "市场ID",
  7418. "type": "integer"
  7419. },
  7420. "marketname": {
  7421. "description": "市场名称",
  7422. "type": "string"
  7423. },
  7424. "matchaccountid": {
  7425. "description": "对手账号id",
  7426. "type": "integer"
  7427. },
  7428. "memberuserid": {
  7429. "description": "会员id 个人投资者 需要填写",
  7430. "type": "integer"
  7431. },
  7432. "opencharge": {
  7433. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7434. "type": "number"
  7435. },
  7436. "openexchagechargevalue": {
  7437. "description": "建仓交易所手续费设置值",
  7438. "type": "number"
  7439. },
  7440. "openfeealgorithm": {
  7441. "description": "建仓手续费收取方式 1:比率 2:固定",
  7442. "type": "integer"
  7443. },
  7444. "openmemberchargevalue": {
  7445. "description": "建仓会员手续费设置值",
  7446. "type": "number"
  7447. },
  7448. "openqty": {
  7449. "description": "开仓数量(先建后平操作 需要记录)",
  7450. "type": "integer"
  7451. },
  7452. "optiontype": {
  7453. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7454. "type": "integer"
  7455. },
  7456. "orderid": {
  7457. "description": "委托单号",
  7458. "type": "string"
  7459. },
  7460. "performanceplanid": {
  7461. "description": "履约计划ID[期权]",
  7462. "type": "integer"
  7463. },
  7464. "performancestatus": {
  7465. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7466. "type": "integer"
  7467. },
  7468. "preexerciseprice": {
  7469. "description": "预申报价格",
  7470. "type": "number"
  7471. },
  7472. "premium": {
  7473. "description": "权利金 - [持仓单的权利金]",
  7474. "type": "number"
  7475. },
  7476. "relatedouttradeid": {
  7477. "description": "关联外部成交单ID",
  7478. "type": "integer"
  7479. },
  7480. "status": {
  7481. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7482. "type": "integer"
  7483. },
  7484. "tradeamount": {
  7485. "description": "成交金额[账户币种,用于所有权]",
  7486. "type": "number"
  7487. },
  7488. "tradedate": {
  7489. "description": "交易日(yyyyMMdd)",
  7490. "type": "string"
  7491. },
  7492. "tradeid": {
  7493. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7494. "type": "string"
  7495. },
  7496. "trademode": {
  7497. "description": "交易模式",
  7498. "type": "integer"
  7499. },
  7500. "tradeprice": {
  7501. "description": "成交价格",
  7502. "type": "number"
  7503. },
  7504. "tradeproperty": {
  7505. "description": "交易属性",
  7506. "type": "integer"
  7507. },
  7508. "tradeqty": {
  7509. "description": "成交数量",
  7510. "type": "integer"
  7511. },
  7512. "tradetime": {
  7513. "description": "成交时间",
  7514. "type": "string"
  7515. },
  7516. "tradetype": {
  7517. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7518. "type": "integer"
  7519. }
  7520. }
  7521. },
  7522. "order.QueryTradeOrderDetailRsp": {
  7523. "type": "object",
  7524. "required": [
  7525. "accountid",
  7526. "buildtype",
  7527. "buyorsell",
  7528. "goodsid",
  7529. "marketid",
  7530. "operatetype",
  7531. "orderqty",
  7532. "ordertime",
  7533. "pricemode",
  7534. "tradedate",
  7535. "validtype"
  7536. ],
  7537. "properties": {
  7538. "accountid": {
  7539. "description": "账户ID[报价币种]",
  7540. "type": "integer"
  7541. },
  7542. "buildtype": {
  7543. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7544. "type": "integer"
  7545. },
  7546. "buyorsell": {
  7547. "description": "买卖 - 0:买 1:卖",
  7548. "type": "integer"
  7549. },
  7550. "cancelorderid": {
  7551. "description": "撤单单号(撤单时填写)",
  7552. "type": "string"
  7553. },
  7554. "cancelqty": {
  7555. "description": "撤单数量",
  7556. "type": "integer"
  7557. },
  7558. "clienttype": {
  7559. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7560. "type": "integer"
  7561. },
  7562. "closefreezecharge": {
  7563. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7564. "type": "number"
  7565. },
  7566. "closeqty": {
  7567. "description": "平仓数量(先建后平操作 需要记录)",
  7568. "type": "integer"
  7569. },
  7570. "closetradeqty": {
  7571. "description": "平仓成交数量(先建后平操作,需要记录)",
  7572. "type": "integer"
  7573. },
  7574. "closeunfreezecharge": {
  7575. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7576. "type": "number"
  7577. },
  7578. "delistingtype": {
  7579. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7580. "type": "integer"
  7581. },
  7582. "enableqty": {
  7583. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7584. "type": "integer"
  7585. },
  7586. "freezecharge": {
  7587. "description": "冻结手续费",
  7588. "type": "number"
  7589. },
  7590. "freezemargin": {
  7591. "description": "冻结保证金(冻结交易金额)",
  7592. "type": "number"
  7593. },
  7594. "goodscode": {
  7595. "description": "商品代码",
  7596. "type": "string"
  7597. },
  7598. "goodsid": {
  7599. "description": "商品ID",
  7600. "type": "integer"
  7601. },
  7602. "goodsname": {
  7603. "description": "商品名称",
  7604. "type": "string"
  7605. },
  7606. "listingselecttype": {
  7607. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7608. "type": "integer"
  7609. },
  7610. "marketid": {
  7611. "description": "市场ID",
  7612. "type": "integer"
  7613. },
  7614. "marketname": {
  7615. "description": "市场名称",
  7616. "type": "string"
  7617. },
  7618. "openfreezecharge": {
  7619. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7620. "type": "number"
  7621. },
  7622. "openqty": {
  7623. "description": "开仓数量(先建后平操作,需要记录)",
  7624. "type": "integer"
  7625. },
  7626. "opentradeqty": {
  7627. "description": "开仓成交数量(先建后平操作,需要记录)",
  7628. "type": "integer"
  7629. },
  7630. "openunfreezecharge": {
  7631. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7632. "type": "number"
  7633. },
  7634. "operatetype": {
  7635. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7636. "type": "integer"
  7637. },
  7638. "operatorid": {
  7639. "description": "登录账号(LoginID)",
  7640. "type": "integer"
  7641. },
  7642. "orderid": {
  7643. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7644. "type": "string"
  7645. },
  7646. "orderprice": {
  7647. "description": "委托价格",
  7648. "type": "number"
  7649. },
  7650. "orderqty": {
  7651. "description": "委托数量",
  7652. "type": "integer"
  7653. },
  7654. "ordersrc": {
  7655. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7656. "type": "integer"
  7657. },
  7658. "orderstatus": {
  7659. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7660. "type": "integer"
  7661. },
  7662. "ordertime": {
  7663. "description": "委托时间",
  7664. "type": "string"
  7665. },
  7666. "preorderid": {
  7667. "description": "关联预埋单号(止盈止损单时填写)",
  7668. "type": "string"
  7669. },
  7670. "pricemode": {
  7671. "description": "取价方式 - 1:市价 2: 限价",
  7672. "type": "integer"
  7673. },
  7674. "relatedid": {
  7675. "description": "关联单号(交割单)",
  7676. "type": "string"
  7677. },
  7678. "tradedate": {
  7679. "description": "交易日(yyyyMMdd)",
  7680. "type": "string"
  7681. },
  7682. "trademode": {
  7683. "description": "交易模式",
  7684. "type": "integer"
  7685. },
  7686. "tradeqty": {
  7687. "description": "成交数量",
  7688. "type": "integer"
  7689. },
  7690. "unfreezecharge": {
  7691. "description": "解冻手续费",
  7692. "type": "number"
  7693. },
  7694. "unfreezemargin": {
  7695. "description": "解冻保证金",
  7696. "type": "number"
  7697. },
  7698. "validtime": {
  7699. "description": "有效期限",
  7700. "type": "string"
  7701. },
  7702. "validtype": {
  7703. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7704. "type": "integer"
  7705. },
  7706. "volumetype": {
  7707. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7708. "type": "integer"
  7709. }
  7710. }
  7711. },
  7712. "order.QueryTradePositionRsp": {
  7713. "type": "object",
  7714. "required": [
  7715. "goodsid"
  7716. ],
  7717. "properties": {
  7718. "accountid": {
  7719. "description": "资金账户",
  7720. "type": "integer"
  7721. },
  7722. "agreeunit": {
  7723. "description": "合约单位",
  7724. "type": "number"
  7725. },
  7726. "averageprice": {
  7727. "description": "持仓均价",
  7728. "type": "number"
  7729. },
  7730. "buyorsell": {
  7731. "description": "方向 - 0:买 1:卖",
  7732. "type": "integer"
  7733. },
  7734. "closetotalqty": {
  7735. "description": "平仓总数量",
  7736. "type": "integer"
  7737. },
  7738. "curholderamount": {
  7739. "description": "当前持仓总金额[商品币种]",
  7740. "type": "number"
  7741. },
  7742. "curpositionqty": {
  7743. "description": "当前持仓总数量",
  7744. "type": "integer"
  7745. },
  7746. "currencyid": {
  7747. "description": "报价货币ID",
  7748. "type": "integer"
  7749. },
  7750. "curtdposition": {
  7751. "description": "期末今日头寸",
  7752. "type": "integer"
  7753. },
  7754. "decimalplace": {
  7755. "description": "报价小数位",
  7756. "type": "integer"
  7757. },
  7758. "enableqty": {
  7759. "description": "可用量",
  7760. "type": "integer"
  7761. },
  7762. "fretdposition": {
  7763. "description": "冻结今日头寸",
  7764. "type": "integer"
  7765. },
  7766. "frozenqty": {
  7767. "description": "持仓冻结数量",
  7768. "type": "integer"
  7769. },
  7770. "goodscode": {
  7771. "description": "商品代码",
  7772. "type": "string"
  7773. },
  7774. "goodsid": {
  7775. "description": "商品Id",
  7776. "type": "integer"
  7777. },
  7778. "goodsname": {
  7779. "description": "商品名称",
  7780. "type": "string"
  7781. },
  7782. "goodunit": {
  7783. "description": "报价单位",
  7784. "type": "string"
  7785. },
  7786. "goodunitid": {
  7787. "description": "报价单位ID",
  7788. "type": "integer"
  7789. },
  7790. "holderamount": {
  7791. "description": "期初持仓总金额[商品币种]",
  7792. "type": "number"
  7793. },
  7794. "marketid": {
  7795. "description": "所属市场ID",
  7796. "type": "integer"
  7797. },
  7798. "openreqqty": {
  7799. "description": "开仓申请数量(用于比较最大持仓数量)",
  7800. "type": "integer"
  7801. },
  7802. "opentotalqty": {
  7803. "description": "开仓总数量",
  7804. "type": "integer"
  7805. },
  7806. "otherfrozenqty": {
  7807. "description": "持仓其他冻结数量(交割冻结)",
  7808. "type": "integer"
  7809. },
  7810. "positionqty": {
  7811. "description": "期初持仓数量",
  7812. "type": "integer"
  7813. },
  7814. "tnqty": {
  7815. "description": "T+N冻结总量",
  7816. "type": "integer"
  7817. },
  7818. "tnusedqty": {
  7819. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7820. "type": "integer"
  7821. },
  7822. "trademode": {
  7823. "description": "交易模式",
  7824. "type": "integer"
  7825. },
  7826. "usedmargin": {
  7827. "description": "占用保证金[商品币种]",
  7828. "type": "number"
  7829. }
  7830. }
  7831. },
  7832. "quote.HistoryData": {
  7833. "type": "object",
  7834. "properties": {
  7835. "c": {
  7836. "description": "收盘价",
  7837. "type": "number"
  7838. },
  7839. "h": {
  7840. "description": "最高价",
  7841. "type": "number"
  7842. },
  7843. "hv": {
  7844. "description": "持仓量",
  7845. "type": "integer"
  7846. },
  7847. "l": {
  7848. "description": "最低价",
  7849. "type": "number"
  7850. },
  7851. "o": {
  7852. "description": "开盘价",
  7853. "type": "number"
  7854. },
  7855. "s": {
  7856. "description": "结算价,日线周期(包括)以上才有",
  7857. "type": "number"
  7858. },
  7859. "ts": {
  7860. "description": "时间",
  7861. "type": "string"
  7862. },
  7863. "tt": {
  7864. "description": "总金额",
  7865. "type": "number"
  7866. },
  7867. "tv": {
  7868. "description": "总量",
  7869. "type": "integer"
  7870. }
  7871. }
  7872. },
  7873. "quote.QueryTSDataRsp": {
  7874. "type": "object",
  7875. "properties": {
  7876. "decimalPlace": {
  7877. "description": "小数位",
  7878. "type": "integer"
  7879. },
  7880. "endTime": {
  7881. "description": "结束时间",
  7882. "type": "string"
  7883. },
  7884. "goodsCode": {
  7885. "description": "商品代码",
  7886. "type": "string"
  7887. },
  7888. "historyDatas": {
  7889. "description": "历史数据",
  7890. "type": "array",
  7891. "items": {
  7892. "$ref": "#/definitions/quote.HistoryData"
  7893. }
  7894. },
  7895. "preSettle": {
  7896. "description": "昨结",
  7897. "type": "number"
  7898. },
  7899. "startTime": {
  7900. "description": "开始时间",
  7901. "type": "string"
  7902. },
  7903. "tradeDate": {
  7904. "description": "交易日",
  7905. "type": "string"
  7906. }
  7907. }
  7908. },
  7909. "szdz.QueryConvertLogRsp": {
  7910. "type": "object",
  7911. "required": [
  7912. "logid"
  7913. ],
  7914. "properties": {
  7915. "accountid": {
  7916. "description": "资金账户ID",
  7917. "type": "integer"
  7918. },
  7919. "clientticket": {
  7920. "description": "客户端流水号",
  7921. "type": "string"
  7922. },
  7923. "converttype": {
  7924. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  7925. "type": "integer"
  7926. },
  7927. "createtime": {
  7928. "description": "记账时间",
  7929. "type": "string"
  7930. },
  7931. "daymaxvalue": {
  7932. "description": "配置当日最大转入限制",
  7933. "type": "number"
  7934. },
  7935. "daymaxvalue2": {
  7936. "description": "配置当日最大转入限制(转入)",
  7937. "type": "number"
  7938. },
  7939. "goodscode": {
  7940. "description": "商品代码",
  7941. "type": "string"
  7942. },
  7943. "goodsname": {
  7944. "description": "商品名称",
  7945. "type": "string"
  7946. },
  7947. "handlestatus": {
  7948. "description": "处理状态",
  7949. "type": "integer"
  7950. },
  7951. "innergoodsid": {
  7952. "description": "内部商品ID",
  7953. "type": "integer"
  7954. },
  7955. "inratio": {
  7956. "description": "配置转入比值",
  7957. "type": "integer"
  7958. },
  7959. "invalue": {
  7960. "description": "目标值",
  7961. "type": "number"
  7962. },
  7963. "logid": {
  7964. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7965. "type": "integer"
  7966. },
  7967. "mobile": {
  7968. "description": "手机号码(加密存储)",
  7969. "type": "string"
  7970. },
  7971. "outergoodscode": {
  7972. "description": "外部商品代码[JD\\PD]",
  7973. "type": "string"
  7974. },
  7975. "outratio": {
  7976. "description": "配置转出比值",
  7977. "type": "integer"
  7978. },
  7979. "outvalue": {
  7980. "description": "源值",
  7981. "type": "number"
  7982. },
  7983. "pddecimalplace": {
  7984. "description": "PD小数位",
  7985. "type": "integer"
  7986. },
  7987. "qty": {
  7988. "description": "数量",
  7989. "type": "string"
  7990. },
  7991. "remark": {
  7992. "description": "备注",
  7993. "type": "string"
  7994. },
  7995. "sessionid": {
  7996. "description": "会话ID",
  7997. "type": "integer"
  7998. },
  7999. "timemaxvalue": {
  8000. "description": "配置单次最大转入限制",
  8001. "type": "number"
  8002. },
  8003. "timemaxvalue2": {
  8004. "description": "配置单次最大转入限制(转入)",
  8005. "type": "number"
  8006. },
  8007. "timeminvalue": {
  8008. "description": "配置单次最小数量限制",
  8009. "type": "number"
  8010. },
  8011. "timeminvalue2": {
  8012. "description": "配置单次最小数量限制(转入)",
  8013. "type": "number"
  8014. },
  8015. "tradedate": {
  8016. "description": "交易日(yyyyMMdd)",
  8017. "type": "string"
  8018. },
  8019. "userid": {
  8020. "description": "用户ID",
  8021. "type": "integer"
  8022. }
  8023. }
  8024. },
  8025. "szdz.QueryGoodsPickupRsp": {
  8026. "type": "object",
  8027. "required": [
  8028. "takeorderid"
  8029. ],
  8030. "properties": {
  8031. "accountid": {
  8032. "description": "账户ID",
  8033. "type": "integer"
  8034. },
  8035. "address": {
  8036. "description": "提货人详细地址",
  8037. "type": "string"
  8038. },
  8039. "auditer": {
  8040. "description": "审核人",
  8041. "type": "integer"
  8042. },
  8043. "audittime": {
  8044. "description": "审核时间",
  8045. "type": "string"
  8046. },
  8047. "cardnum": {
  8048. "description": "提货人证件号码",
  8049. "type": "string"
  8050. },
  8051. "cardtypeid": {
  8052. "description": "提货人证件类型",
  8053. "type": "integer"
  8054. },
  8055. "checkremark": {
  8056. "description": "审核备注",
  8057. "type": "string"
  8058. },
  8059. "goodscode": {
  8060. "description": "商品代码",
  8061. "type": "string"
  8062. },
  8063. "goodsid": {
  8064. "description": "商品ID",
  8065. "type": "integer"
  8066. },
  8067. "goodsname": {
  8068. "description": "商品名称",
  8069. "type": "string"
  8070. },
  8071. "handlestatus": {
  8072. "description": "处理状态",
  8073. "type": "integer"
  8074. },
  8075. "marketid": {
  8076. "description": "市场ID",
  8077. "type": "integer"
  8078. },
  8079. "phonenum": {
  8080. "description": "提货人联系方式",
  8081. "type": "string"
  8082. },
  8083. "qty": {
  8084. "description": "提货数量",
  8085. "type": "number"
  8086. },
  8087. "recivername": {
  8088. "description": "提货人姓名",
  8089. "type": "string"
  8090. },
  8091. "reqtime": {
  8092. "description": "更新时间",
  8093. "type": "string"
  8094. },
  8095. "takemode": {
  8096. "description": "提货方式 - 2:自提 3:配送",
  8097. "type": "integer"
  8098. },
  8099. "takeorderid": {
  8100. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8101. "type": "string"
  8102. },
  8103. "takeorderstatus": {
  8104. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8105. "type": "integer"
  8106. },
  8107. "takeremark": {
  8108. "description": "提货备注",
  8109. "type": "string"
  8110. },
  8111. "tradedate": {
  8112. "description": "交易日(yyyyMMdd)",
  8113. "type": "string"
  8114. },
  8115. "userid": {
  8116. "description": "用户ID",
  8117. "type": "integer"
  8118. }
  8119. }
  8120. },
  8121. "szdz.QueryRecieptOrderRsp": {
  8122. "type": "object",
  8123. "properties": {
  8124. "accountName": {
  8125. "description": "所属账号名称(已脱敏)",
  8126. "type": "string"
  8127. },
  8128. "accountid": {
  8129. "description": "资金账号",
  8130. "type": "integer"
  8131. },
  8132. "buyorsell": {
  8133. "description": "方向 - 0:买 1:卖",
  8134. "type": "integer"
  8135. },
  8136. "enableqty": {
  8137. "description": "可摘数量",
  8138. "type": "integer"
  8139. },
  8140. "goodscode": {
  8141. "description": "商品代码",
  8142. "type": "string"
  8143. },
  8144. "goodsid": {
  8145. "description": "商品ID",
  8146. "type": "integer"
  8147. },
  8148. "goodsname": {
  8149. "description": "商品名称",
  8150. "type": "string"
  8151. },
  8152. "orderid": {
  8153. "description": "委托单号",
  8154. "type": "string"
  8155. },
  8156. "orderprice": {
  8157. "description": "委托价格",
  8158. "type": "number"
  8159. },
  8160. "tradedate": {
  8161. "description": "交易日(yyyyMMdd)",
  8162. "type": "string"
  8163. }
  8164. }
  8165. },
  8166. "szdz.QuerySZDZTradePositionRsp": {
  8167. "type": "object",
  8168. "properties": {
  8169. "accountid": {
  8170. "description": "账号Id",
  8171. "type": "integer"
  8172. },
  8173. "agreeunit": {
  8174. "description": "合约单位",
  8175. "type": "number"
  8176. },
  8177. "averageprice": {
  8178. "description": "持仓均价",
  8179. "type": "number"
  8180. },
  8181. "buyorsell": {
  8182. "description": "方向 - 0:买 1:卖",
  8183. "type": "integer"
  8184. },
  8185. "closetotalqty": {
  8186. "description": "平仓总数量",
  8187. "type": "integer"
  8188. },
  8189. "curholderamount": {
  8190. "description": "当前持仓总金额",
  8191. "type": "number"
  8192. },
  8193. "curpositionqty": {
  8194. "description": "当前持仓总数量",
  8195. "type": "integer"
  8196. },
  8197. "currencyid": {
  8198. "description": "报价货币ID",
  8199. "type": "integer"
  8200. },
  8201. "curtdposition": {
  8202. "description": "期末今日头寸",
  8203. "type": "integer"
  8204. },
  8205. "decimalplace": {
  8206. "description": "报价小数位",
  8207. "type": "integer"
  8208. },
  8209. "enableqty": {
  8210. "description": "可用量",
  8211. "type": "integer"
  8212. },
  8213. "fretdposition": {
  8214. "description": "冻结今日头寸",
  8215. "type": "integer"
  8216. },
  8217. "frozenqty": {
  8218. "description": "持仓冻结数量",
  8219. "type": "integer"
  8220. },
  8221. "goodscode": {
  8222. "description": "商品代码(内部)",
  8223. "type": "string"
  8224. },
  8225. "goodsid": {
  8226. "description": "商品Id",
  8227. "type": "integer"
  8228. },
  8229. "goodsname": {
  8230. "description": "商品名称",
  8231. "type": "string"
  8232. },
  8233. "goodunit": {
  8234. "description": "报价单位",
  8235. "type": "string"
  8236. },
  8237. "goodunitid": {
  8238. "description": "报价单位ID",
  8239. "type": "integer"
  8240. },
  8241. "holderamount": {
  8242. "description": "期初持仓总金额",
  8243. "type": "number"
  8244. },
  8245. "marketid": {
  8246. "description": "市场ID",
  8247. "type": "integer"
  8248. },
  8249. "openreqqty": {
  8250. "description": "开仓申请数量",
  8251. "type": "integer"
  8252. },
  8253. "opentotalqty": {
  8254. "description": "开仓总数量",
  8255. "type": "integer"
  8256. },
  8257. "otherfrozenqty": {
  8258. "description": "持仓其他冻结数量(交割冻结)",
  8259. "type": "integer"
  8260. },
  8261. "positionqty": {
  8262. "description": "期初持仓数量",
  8263. "type": "integer"
  8264. },
  8265. "szdz3freezqty": {
  8266. "description": "尚志大宗转换冻结总数量",
  8267. "type": "integer"
  8268. },
  8269. "tnqty": {
  8270. "description": "T+N冻结总量",
  8271. "type": "integer"
  8272. },
  8273. "tnusedqty": {
  8274. "description": "T+N使用量",
  8275. "type": "integer"
  8276. },
  8277. "trademode": {
  8278. "description": "交易模式",
  8279. "type": "integer"
  8280. },
  8281. "usedmargin": {
  8282. "description": "占用保证金",
  8283. "type": "number"
  8284. }
  8285. }
  8286. },
  8287. "taaccount.QueryAmountLogRsp": {
  8288. "type": "object",
  8289. "required": [
  8290. "accountid",
  8291. "amount",
  8292. "amountadjusttype",
  8293. "autoid",
  8294. "balance",
  8295. "createtime",
  8296. "currentbalance",
  8297. "operatetype"
  8298. ],
  8299. "properties": {
  8300. "OPERATETYPENAME": {
  8301. "description": "资金操作类型名称",
  8302. "type": "string"
  8303. },
  8304. "accountid": {
  8305. "description": "资金账户ID",
  8306. "type": "integer"
  8307. },
  8308. "agoodscode": {
  8309. "description": "竞拍商品代码",
  8310. "type": "string"
  8311. },
  8312. "agoodsname": {
  8313. "description": "竞拍商品名称",
  8314. "type": "string"
  8315. },
  8316. "amount": {
  8317. "description": "资金金额",
  8318. "type": "number"
  8319. },
  8320. "amountadjusttype": {
  8321. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8322. "type": "integer"
  8323. },
  8324. "autoid": {
  8325. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8326. "type": "integer"
  8327. },
  8328. "balance": {
  8329. "description": "期初余额",
  8330. "type": "number"
  8331. },
  8332. "businesscode": {
  8333. "description": "业务编号",
  8334. "type": "integer"
  8335. },
  8336. "createtime": {
  8337. "description": "发生时间",
  8338. "type": "string"
  8339. },
  8340. "currencyid": {
  8341. "description": "币种ID",
  8342. "type": "integer"
  8343. },
  8344. "currentbalance": {
  8345. "description": "期末余额(变动后金额)",
  8346. "type": "number"
  8347. },
  8348. "dgoodscode": {
  8349. "description": "交割商品代码",
  8350. "type": "string"
  8351. },
  8352. "dgoodsname": {
  8353. "description": "交割商品名称",
  8354. "type": "string"
  8355. },
  8356. "goodscode": {
  8357. "description": "商品代码",
  8358. "type": "string"
  8359. },
  8360. "goodsid": {
  8361. "description": "商品ID",
  8362. "type": "integer"
  8363. },
  8364. "goodsname": {
  8365. "description": "商品名称",
  8366. "type": "string"
  8367. },
  8368. "marketid": {
  8369. "description": "市场ID",
  8370. "type": "integer"
  8371. },
  8372. "marketname": {
  8373. "description": "市场名称",
  8374. "type": "string"
  8375. },
  8376. "moneyticket": {
  8377. "description": "资金流水号:银行端流水号",
  8378. "type": "integer"
  8379. },
  8380. "operatetype": {
  8381. "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:营销收款",
  8382. "type": "integer"
  8383. },
  8384. "relationorderid": {
  8385. "description": "关联单号",
  8386. "type": "string"
  8387. },
  8388. "remark": {
  8389. "description": "备注",
  8390. "type": "string"
  8391. },
  8392. "trademode": {
  8393. "description": "交易模式",
  8394. "type": "integer"
  8395. }
  8396. }
  8397. },
  8398. "taaccount.QueryHisAmountLogRsp": {
  8399. "type": "object",
  8400. "required": [
  8401. "accountid",
  8402. "amount",
  8403. "amountadjusttype",
  8404. "autoid",
  8405. "balance",
  8406. "createtime",
  8407. "currentbalance",
  8408. "histradedate",
  8409. "operatetype"
  8410. ],
  8411. "properties": {
  8412. "OPERATETYPENAME": {
  8413. "description": "资金操作类型名称",
  8414. "type": "string"
  8415. },
  8416. "accountid": {
  8417. "description": "资金账户ID",
  8418. "type": "integer"
  8419. },
  8420. "agoodscode": {
  8421. "description": "竞拍商品代码",
  8422. "type": "string"
  8423. },
  8424. "agoodsname": {
  8425. "description": "竞拍商品名称",
  8426. "type": "string"
  8427. },
  8428. "amount": {
  8429. "description": "资金金额",
  8430. "type": "number"
  8431. },
  8432. "amountadjusttype": {
  8433. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8434. "type": "integer"
  8435. },
  8436. "autoid": {
  8437. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8438. "type": "integer"
  8439. },
  8440. "balance": {
  8441. "description": "期初余额",
  8442. "type": "number"
  8443. },
  8444. "businesscode": {
  8445. "description": "业务编号",
  8446. "type": "integer"
  8447. },
  8448. "createtime": {
  8449. "description": "发生时间",
  8450. "type": "string"
  8451. },
  8452. "currencyid": {
  8453. "description": "币种ID",
  8454. "type": "integer"
  8455. },
  8456. "currentbalance": {
  8457. "description": "期末余额(变动后金额)",
  8458. "type": "number"
  8459. },
  8460. "dgoodscode": {
  8461. "description": "交割商品代码",
  8462. "type": "string"
  8463. },
  8464. "dgoodsname": {
  8465. "description": "交割商品名称",
  8466. "type": "string"
  8467. },
  8468. "goodscode": {
  8469. "description": "商品代码",
  8470. "type": "string"
  8471. },
  8472. "goodsid": {
  8473. "description": "商品ID",
  8474. "type": "integer"
  8475. },
  8476. "goodsname": {
  8477. "description": "商品名称",
  8478. "type": "string"
  8479. },
  8480. "histradedate": {
  8481. "description": "历史交易日",
  8482. "type": "string"
  8483. },
  8484. "isvaliddata": {
  8485. "description": "是否有效 - 0:无效 1:有效",
  8486. "type": "integer"
  8487. },
  8488. "marketid": {
  8489. "description": "市场ID",
  8490. "type": "integer"
  8491. },
  8492. "marketname": {
  8493. "description": "市场名称",
  8494. "type": "string"
  8495. },
  8496. "moneyticket": {
  8497. "description": "资金流水号:银行端流水号",
  8498. "type": "integer"
  8499. },
  8500. "operatetype": {
  8501. "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:营销收款",
  8502. "type": "integer"
  8503. },
  8504. "relationorderid": {
  8505. "description": "关联单号",
  8506. "type": "string"
  8507. },
  8508. "remark": {
  8509. "description": "备注",
  8510. "type": "string"
  8511. },
  8512. "trademode": {
  8513. "description": "交易模式",
  8514. "type": "integer"
  8515. }
  8516. }
  8517. }
  8518. },
  8519. "securityDefinitions": {
  8520. "ApiKeyAuth": {
  8521. "type": "apiKey",
  8522. "name": "Authorization",
  8523. "in": "header"
  8524. }
  8525. }
  8526. }`
  8527. type swaggerInfo struct {
  8528. Version string
  8529. Host string
  8530. BasePath string
  8531. Schemes []string
  8532. Title string
  8533. Description string
  8534. }
  8535. // SwaggerInfo holds exported Swagger Info so clients can modify it
  8536. var SwaggerInfo = swaggerInfo{
  8537. Version: "1.0",
  8538. Host: "",
  8539. BasePath: "/api",
  8540. Schemes: []string{},
  8541. Title: "MTP2.0 查询服务 API",
  8542. Description: "新的查询服务,替代原通用查询服务。",
  8543. }
  8544. type s struct{}
  8545. func (s *s) ReadDoc() string {
  8546. sInfo := SwaggerInfo
  8547. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  8548. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  8549. "marshal": func(v interface{}) string {
  8550. a, _ := json.Marshal(v)
  8551. return string(a)
  8552. },
  8553. }).Parse(doc)
  8554. if err != nil {
  8555. return doc
  8556. }
  8557. var tpl bytes.Buffer
  8558. if err := t.Execute(&tpl, sInfo); err != nil {
  8559. return doc
  8560. }
  8561. return tpl.String()
  8562. }
  8563. func init() {
  8564. swag.Register(swag.Name, &s{})
  8565. }