docs.go 334 KB

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