docs.go 339 KB

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