docs.go 388 KB

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