docs.go 330 KB

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