docs.go 357 KB

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