docs.go 332 KB

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