swagger.json 441 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "responses": {
  366. "200": {
  367. "description": "OK",
  368. "schema": {
  369. "$ref": "#/definitions/models.Enumdicitem"
  370. }
  371. },
  372. "500": {
  373. "description": "Internal Server Error",
  374. "schema": {
  375. "$ref": "#/definitions/app.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/Common/GetServerTime": {
  382. "get": {
  383. "produces": [
  384. "application/json"
  385. ],
  386. "tags": [
  387. "通用服务"
  388. ],
  389. "summary": "获取服务器时间",
  390. "responses": {
  391. "200": {
  392. "description": "OK",
  393. "schema": {
  394. "$ref": "#/definitions/app.Response"
  395. }
  396. },
  397. "500": {
  398. "description": "Internal Server Error",
  399. "schema": {
  400. "$ref": "#/definitions/app.Response"
  401. }
  402. }
  403. }
  404. }
  405. },
  406. "/Common/NoticeReaded": {
  407. "post": {
  408. "security": [
  409. {
  410. "ApiKeyAuth": []
  411. }
  412. ],
  413. "produces": [
  414. "application/json"
  415. ],
  416. "tags": [
  417. "通用服务"
  418. ],
  419. "summary": "通知公告设置已读请求",
  420. "parameters": [
  421. {
  422. "type": "integer",
  423. "description": "登录账号",
  424. "name": "loginID",
  425. "in": "query",
  426. "required": true
  427. },
  428. {
  429. "type": "integer",
  430. "description": "通知公告ID",
  431. "name": "noticeID",
  432. "in": "query",
  433. "required": true
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/QueryImageConfigs": {
  453. "get": {
  454. "produces": [
  455. "application/json"
  456. ],
  457. "tags": [
  458. "通用服务"
  459. ],
  460. "summary": "查询轮播图配置信息",
  461. "parameters": [
  462. {
  463. "type": "integer",
  464. "description": "类型 - 1:App首页轮播 2:我的",
  465. "name": "imageType",
  466. "in": "query"
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/models.Szdz2imageconfig"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Common/QueryNotice": {
  486. "get": {
  487. "security": [
  488. {
  489. "ApiKeyAuth": []
  490. }
  491. ],
  492. "produces": [
  493. "application/json"
  494. ],
  495. "tags": [
  496. "通用服务"
  497. ],
  498. "summary": "通知公告系统消息查询",
  499. "parameters": [
  500. {
  501. "type": "integer",
  502. "description": "页码",
  503. "name": "page",
  504. "in": "query"
  505. },
  506. {
  507. "type": "integer",
  508. "description": "每页条数",
  509. "name": "pagesize",
  510. "in": "query"
  511. },
  512. {
  513. "type": "integer",
  514. "description": "登录账号",
  515. "name": "loginID",
  516. "in": "query",
  517. "required": true
  518. },
  519. {
  520. "type": "integer",
  521. "description": "消息类型 - 1:公告通知 2:系统消息",
  522. "name": "msgType",
  523. "in": "query"
  524. },
  525. {
  526. "type": "boolean",
  527. "description": "是否只获取未读信息",
  528. "name": "onlyUnRead",
  529. "in": "query"
  530. }
  531. ],
  532. "responses": {
  533. "200": {
  534. "description": "OK",
  535. "schema": {
  536. "$ref": "#/definitions/common.QueryNoticeRsp"
  537. }
  538. },
  539. "500": {
  540. "description": "Internal Server Error",
  541. "schema": {
  542. "$ref": "#/definitions/app.Response"
  543. }
  544. }
  545. }
  546. }
  547. },
  548. "/Common/QueryProvincesAndCities": {
  549. "get": {
  550. "produces": [
  551. "application/json"
  552. ],
  553. "tags": [
  554. "通用服务"
  555. ],
  556. "summary": "查询省市信息(不包括区)",
  557. "parameters": [
  558. {
  559. "type": "integer",
  560. "description": "省ID",
  561. "name": "provinceID",
  562. "in": "query"
  563. }
  564. ],
  565. "responses": {
  566. "200": {
  567. "description": "OK",
  568. "schema": {
  569. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  570. }
  571. },
  572. "500": {
  573. "description": "Internal Server Error",
  574. "schema": {
  575. "$ref": "#/definitions/app.Response"
  576. }
  577. }
  578. }
  579. }
  580. },
  581. "/Common/QueryTableDefine": {
  582. "get": {
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "通用服务"
  588. ],
  589. "summary": "查询交易端列表头信息",
  590. "parameters": [
  591. {
  592. "type": "string",
  593. "description": "表key",
  594. "name": "tableKey",
  595. "in": "query"
  596. },
  597. {
  598. "type": "integer",
  599. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  600. "name": "tableType",
  601. "in": "query"
  602. }
  603. ],
  604. "responses": {
  605. "200": {
  606. "description": "OK",
  607. "schema": {
  608. "$ref": "#/definitions/common.QueryTableDefineRsp"
  609. }
  610. },
  611. "500": {
  612. "description": "Internal Server Error",
  613. "schema": {
  614. "$ref": "#/definitions/app.Response"
  615. }
  616. }
  617. }
  618. }
  619. },
  620. "/Common/QueryTraderMenu": {
  621. "get": {
  622. "produces": [
  623. "application/json"
  624. ],
  625. "tags": [
  626. "通用服务"
  627. ],
  628. "summary": "查询交易端菜单",
  629. "parameters": [
  630. {
  631. "type": "integer",
  632. "description": "登录账号",
  633. "name": "loginid",
  634. "in": "query",
  635. "required": true
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "OK",
  641. "schema": {
  642. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  643. }
  644. },
  645. "500": {
  646. "description": "Internal Server Error",
  647. "schema": {
  648. "$ref": "#/definitions/app.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/Delivery/QueryDeliveryRelation": {
  655. "get": {
  656. "security": [
  657. {
  658. "ApiKeyAuth": []
  659. }
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "交割服务"
  666. ],
  667. "summary": "查询商品交割关系表",
  668. "parameters": [
  669. {
  670. "type": "integer",
  671. "description": "商品ID",
  672. "name": "goodsid",
  673. "in": "query"
  674. },
  675. {
  676. "type": "integer",
  677. "description": "品种ID",
  678. "name": "deliverygoodsid",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "市场ID",
  684. "name": "marketid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Ermcp/QueryBusinessDj": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "企业风险管理(app)"
  716. ],
  717. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  718. "responses": {
  719. "200": {
  720. "description": "OK",
  721. "schema": {
  722. "type": "array",
  723. "items": {
  724. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  725. }
  726. }
  727. },
  728. "500": {
  729. "description": "Internal Server Error",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. }
  734. }
  735. }
  736. },
  737. "/Ermcp/QueryBusinessFp": {
  738. "get": {
  739. "security": [
  740. {
  741. "ApiKeyAuth": []
  742. }
  743. ],
  744. "produces": [
  745. "application/json"
  746. ],
  747. "tags": [
  748. "企业风险管理(app)"
  749. ],
  750. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  751. "responses": {
  752. "200": {
  753. "description": "OK",
  754. "schema": {
  755. "type": "array",
  756. "items": {
  757. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  758. }
  759. }
  760. },
  761. "500": {
  762. "description": "Internal Server Error",
  763. "schema": {
  764. "$ref": "#/definitions/app.Response"
  765. }
  766. }
  767. }
  768. }
  769. },
  770. "/Ermcp/QueryBusinessJs": {
  771. "get": {
  772. "security": [
  773. {
  774. "ApiKeyAuth": []
  775. }
  776. ],
  777. "produces": [
  778. "application/json"
  779. ],
  780. "tags": [
  781. "企业风险管理(app)"
  782. ],
  783. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "type": "array",
  789. "items": {
  790. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  791. }
  792. }
  793. },
  794. "500": {
  795. "description": "Internal Server Error",
  796. "schema": {
  797. "$ref": "#/definitions/app.Response"
  798. }
  799. }
  800. }
  801. }
  802. },
  803. "/Ermcp/QueryBusinessKx": {
  804. "get": {
  805. "security": [
  806. {
  807. "ApiKeyAuth": []
  808. }
  809. ],
  810. "produces": [
  811. "application/json"
  812. ],
  813. "tags": [
  814. "企业风险管理(app)"
  815. ],
  816. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  817. "responses": {
  818. "200": {
  819. "description": "OK",
  820. "schema": {
  821. "type": "array",
  822. "items": {
  823. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  824. }
  825. }
  826. },
  827. "500": {
  828. "description": "Internal Server Error",
  829. "schema": {
  830. "$ref": "#/definitions/app.Response"
  831. }
  832. }
  833. }
  834. }
  835. },
  836. "/Ermcp/QueryContract": {
  837. "get": {
  838. "security": [
  839. {
  840. "ApiKeyAuth": []
  841. }
  842. ],
  843. "produces": [
  844. "application/json"
  845. ],
  846. "tags": [
  847. "企业风险管理(app)"
  848. ],
  849. "summary": "查询合同(采购和销售)",
  850. "parameters": [
  851. {
  852. "type": "integer",
  853. "description": "合同类型 1-采购, -1-销售",
  854. "name": "contracttype",
  855. "in": "query",
  856. "required": true
  857. },
  858. {
  859. "type": "integer",
  860. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  861. "name": "QueryType",
  862. "in": "query",
  863. "required": true
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "type": "array",
  871. "items": {
  872. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  873. }
  874. }
  875. },
  876. "500": {
  877. "description": "Internal Server Error",
  878. "schema": {
  879. "$ref": "#/definitions/app.Response"
  880. }
  881. }
  882. }
  883. }
  884. },
  885. "/Ermcp/QueryHedgePlan": {
  886. "get": {
  887. "security": [
  888. {
  889. "ApiKeyAuth": []
  890. }
  891. ],
  892. "produces": [
  893. "application/json"
  894. ],
  895. "tags": [
  896. "企业风险管理(app)"
  897. ],
  898. "summary": "查询套保计划",
  899. "parameters": [
  900. {
  901. "type": "integer",
  902. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  903. "name": "HedgePlanStatus",
  904. "in": "query",
  905. "required": true
  906. }
  907. ],
  908. "responses": {
  909. "200": {
  910. "description": "OK",
  911. "schema": {
  912. "type": "array",
  913. "items": {
  914. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  915. }
  916. }
  917. },
  918. "500": {
  919. "description": "Internal Server Error",
  920. "schema": {
  921. "$ref": "#/definitions/app.Response"
  922. }
  923. }
  924. }
  925. }
  926. },
  927. "/Ermcp/QuerySpotContract": {
  928. "get": {
  929. "security": [
  930. {
  931. "ApiKeyAuth": []
  932. }
  933. ],
  934. "produces": [
  935. "application/json"
  936. ],
  937. "tags": [
  938. "企业风险管理(app)"
  939. ],
  940. "summary": "查询现货合同(对应现货合同菜单)",
  941. "parameters": [
  942. {
  943. "type": "integer",
  944. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  945. "name": "QueryType",
  946. "in": "query",
  947. "required": true
  948. }
  949. ],
  950. "responses": {
  951. "200": {
  952. "description": "OK",
  953. "schema": {
  954. "type": "array",
  955. "items": {
  956. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  957. }
  958. }
  959. },
  960. "500": {
  961. "description": "Internal Server Error",
  962. "schema": {
  963. "$ref": "#/definitions/app.Response"
  964. }
  965. }
  966. }
  967. }
  968. },
  969. "/Ermcp/QueryUserInfo": {
  970. "get": {
  971. "security": [
  972. {
  973. "ApiKeyAuth": []
  974. }
  975. ],
  976. "produces": [
  977. "application/json"
  978. ],
  979. "tags": [
  980. "企业风险管理(app)"
  981. ],
  982. "summary": "查询客户资料",
  983. "parameters": [
  984. {
  985. "type": "string",
  986. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  987. "name": "AccountStatus",
  988. "in": "query",
  989. "required": true
  990. }
  991. ],
  992. "responses": {
  993. "200": {
  994. "description": "OK",
  995. "schema": {
  996. "type": "array",
  997. "items": {
  998. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  999. }
  1000. }
  1001. },
  1002. "500": {
  1003. "description": "Internal Server Error",
  1004. "schema": {
  1005. "$ref": "#/definitions/app.Response"
  1006. }
  1007. }
  1008. }
  1009. }
  1010. },
  1011. "/Ermcp/QueryWrStandard": {
  1012. "get": {
  1013. "security": [
  1014. {
  1015. "ApiKeyAuth": []
  1016. }
  1017. ],
  1018. "produces": [
  1019. "application/json"
  1020. ],
  1021. "tags": [
  1022. "企业风险管理(app)"
  1023. ],
  1024. "summary": "查询现货商品",
  1025. "responses": {
  1026. "200": {
  1027. "description": "OK",
  1028. "schema": {
  1029. "type": "array",
  1030. "items": {
  1031. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1032. }
  1033. }
  1034. },
  1035. "500": {
  1036. "description": "Internal Server Error",
  1037. "schema": {
  1038. "$ref": "#/definitions/app.Response"
  1039. }
  1040. }
  1041. }
  1042. }
  1043. },
  1044. "/Erms2/QueryArbitrageStrategy": {
  1045. "get": {
  1046. "security": [
  1047. {
  1048. "ApiKeyAuth": []
  1049. }
  1050. ],
  1051. "produces": [
  1052. "application/json"
  1053. ],
  1054. "tags": [
  1055. "风险管理"
  1056. ],
  1057. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1058. "parameters": [
  1059. {
  1060. "type": "integer",
  1061. "description": "账户ID",
  1062. "name": "userid",
  1063. "in": "query",
  1064. "required": true
  1065. },
  1066. {
  1067. "type": "string",
  1068. "description": "商品组ID(品种ID)",
  1069. "name": "goodsgroupid",
  1070. "in": "query"
  1071. }
  1072. ],
  1073. "responses": {
  1074. "200": {
  1075. "description": "OK",
  1076. "schema": {
  1077. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1078. }
  1079. },
  1080. "500": {
  1081. "description": "Internal Server Error",
  1082. "schema": {
  1083. "$ref": "#/definitions/app.Response"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/Erms2/QueryInnerTradeDetail": {
  1090. "get": {
  1091. "security": [
  1092. {
  1093. "ApiKeyAuth": []
  1094. }
  1095. ],
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "tags": [
  1100. "风险管理"
  1101. ],
  1102. "summary": "查询内部成交单信息",
  1103. "parameters": [
  1104. {
  1105. "type": "integer",
  1106. "description": "资金账户",
  1107. "name": "accountid",
  1108. "in": "query",
  1109. "required": true
  1110. }
  1111. ],
  1112. "responses": {
  1113. "200": {
  1114. "description": "OK",
  1115. "schema": {
  1116. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Erms2/QuerySpotContract": {
  1129. "get": {
  1130. "security": [
  1131. {
  1132. "ApiKeyAuth": []
  1133. }
  1134. ],
  1135. "produces": [
  1136. "application/json"
  1137. ],
  1138. "tags": [
  1139. "风险管理"
  1140. ],
  1141. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1142. "parameters": [
  1143. {
  1144. "type": "integer",
  1145. "description": "策略申请ID",
  1146. "name": "asapplyid",
  1147. "in": "query",
  1148. "required": true
  1149. },
  1150. {
  1151. "type": "integer",
  1152. "description": "现货合同ID",
  1153. "name": "spotcontractid",
  1154. "in": "query"
  1155. }
  1156. ],
  1157. "responses": {
  1158. "200": {
  1159. "description": "OK",
  1160. "schema": {
  1161. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1162. }
  1163. },
  1164. "500": {
  1165. "description": "Internal Server Error",
  1166. "schema": {
  1167. "$ref": "#/definitions/app.Response"
  1168. }
  1169. }
  1170. }
  1171. }
  1172. },
  1173. "/Erms3/AddErms2ASApply": {
  1174. "post": {
  1175. "security": [
  1176. {
  1177. "ApiKeyAuth": []
  1178. }
  1179. ],
  1180. "produces": [
  1181. "application/json"
  1182. ],
  1183. "tags": [
  1184. "风险管理v3"
  1185. ],
  1186. "summary": "新增期现套利业务申请",
  1187. "parameters": [
  1188. {
  1189. "description": "申请参数",
  1190. "name": "jsonBody",
  1191. "in": "body",
  1192. "required": true,
  1193. "schema": {
  1194. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1195. }
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "$ref": "#/definitions/app.Response"
  1203. }
  1204. },
  1205. "500": {
  1206. "description": "Internal Server Error",
  1207. "schema": {
  1208. "$ref": "#/definitions/app.Response"
  1209. }
  1210. }
  1211. }
  1212. }
  1213. },
  1214. "/Erms3/AddErms2SpotTradeApply": {
  1215. "post": {
  1216. "security": [
  1217. {
  1218. "ApiKeyAuth": []
  1219. }
  1220. ],
  1221. "produces": [
  1222. "application/json"
  1223. ],
  1224. "tags": [
  1225. "风险管理v3"
  1226. ],
  1227. "summary": "新增现货贸易业务申请",
  1228. "parameters": [
  1229. {
  1230. "description": "申请参数",
  1231. "name": "jsonBody",
  1232. "in": "body",
  1233. "required": true,
  1234. "schema": {
  1235. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1236. }
  1237. }
  1238. ],
  1239. "responses": {
  1240. "200": {
  1241. "description": "OK",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. },
  1246. "500": {
  1247. "description": "Internal Server Error",
  1248. "schema": {
  1249. "$ref": "#/definitions/app.Response"
  1250. }
  1251. }
  1252. }
  1253. }
  1254. },
  1255. "/Erms3/AddSpotContractApply": {
  1256. "post": {
  1257. "security": [
  1258. {
  1259. "ApiKeyAuth": []
  1260. }
  1261. ],
  1262. "produces": [
  1263. "application/json"
  1264. ],
  1265. "tags": [
  1266. "风险管理v3"
  1267. ],
  1268. "summary": "新增现货合同申请",
  1269. "parameters": [
  1270. {
  1271. "description": "申请参数",
  1272. "name": "jsonBody",
  1273. "in": "body",
  1274. "required": true,
  1275. "schema": {
  1276. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1277. }
  1278. }
  1279. ],
  1280. "responses": {
  1281. "200": {
  1282. "description": "OK",
  1283. "schema": {
  1284. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1285. }
  1286. },
  1287. "500": {
  1288. "description": "Internal Server Error",
  1289. "schema": {
  1290. "$ref": "#/definitions/app.Response"
  1291. }
  1292. }
  1293. }
  1294. }
  1295. },
  1296. "/Erms3/AddUserInfoApply": {
  1297. "post": {
  1298. "security": [
  1299. {
  1300. "ApiKeyAuth": []
  1301. }
  1302. ],
  1303. "produces": [
  1304. "application/json"
  1305. ],
  1306. "tags": [
  1307. "风险管理v3"
  1308. ],
  1309. "summary": "新增客户申请",
  1310. "parameters": [
  1311. {
  1312. "description": "申请参数",
  1313. "name": "jsonBody",
  1314. "in": "body",
  1315. "required": true,
  1316. "schema": {
  1317. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1318. }
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "$ref": "#/definitions/app.Response"
  1326. }
  1327. },
  1328. "500": {
  1329. "description": "Internal Server Error",
  1330. "schema": {
  1331. "$ref": "#/definitions/app.Response"
  1332. }
  1333. }
  1334. }
  1335. }
  1336. },
  1337. "/Erms3/QueryBusinessInfo": {
  1338. "get": {
  1339. "security": [
  1340. {
  1341. "ApiKeyAuth": []
  1342. }
  1343. ],
  1344. "produces": [
  1345. "application/json"
  1346. ],
  1347. "tags": [
  1348. "风险管理v3"
  1349. ],
  1350. "summary": "查询业务表单数据",
  1351. "parameters": [
  1352. {
  1353. "type": "string",
  1354. "description": "资金账号ID列表,用逗号分隔",
  1355. "name": "accountids",
  1356. "in": "query",
  1357. "required": true
  1358. },
  1359. {
  1360. "type": "integer",
  1361. "description": "状态,0为未结束 1为已结束",
  1362. "name": "status",
  1363. "in": "query",
  1364. "required": true
  1365. }
  1366. ],
  1367. "responses": {
  1368. "200": {
  1369. "description": "OK",
  1370. "schema": {
  1371. "type": "array",
  1372. "items": {
  1373. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1374. }
  1375. }
  1376. },
  1377. "500": {
  1378. "description": "Internal Server Error",
  1379. "schema": {
  1380. "$ref": "#/definitions/app.Response"
  1381. }
  1382. }
  1383. }
  1384. }
  1385. },
  1386. "/Erms3/QueryPendingAuditContract": {
  1387. "get": {
  1388. "security": [
  1389. {
  1390. "ApiKeyAuth": []
  1391. }
  1392. ],
  1393. "produces": [
  1394. "application/json"
  1395. ],
  1396. "tags": [
  1397. "风险管理v3"
  1398. ],
  1399. "summary": "查询待审核合同",
  1400. "parameters": [
  1401. {
  1402. "type": "string",
  1403. "description": "资金账号ID列表,逗号隔开",
  1404. "name": "accountids",
  1405. "in": "query",
  1406. "required": true
  1407. },
  1408. {
  1409. "type": "integer",
  1410. "description": "合同类型 1-采购 -1-销售",
  1411. "name": "contracttype",
  1412. "in": "query",
  1413. "required": true
  1414. },
  1415. {
  1416. "type": "integer",
  1417. "description": "合同模式 1-普通 2-回购",
  1418. "name": "contractmode",
  1419. "in": "query",
  1420. "required": true
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Erms3/QueryPendingBusiness": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "风险管理v3"
  1454. ],
  1455. "summary": "查询待审核基差贸易业务",
  1456. "parameters": [
  1457. {
  1458. "type": "string",
  1459. "description": "资金账号ID列表,逗号隔开",
  1460. "name": "accountids",
  1461. "in": "query",
  1462. "required": true
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Erms3/QuerySpotContractAppleForm": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "风险管理v3"
  1496. ],
  1497. "summary": "查询合同申请表单数据",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "登录账号",
  1502. "name": "loginID",
  1503. "in": "query",
  1504. "required": true
  1505. }
  1506. ],
  1507. "responses": {
  1508. "200": {
  1509. "description": "OK",
  1510. "schema": {
  1511. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1512. }
  1513. },
  1514. "500": {
  1515. "description": "Internal Server Error",
  1516. "schema": {
  1517. "$ref": "#/definitions/app.Response"
  1518. }
  1519. }
  1520. }
  1521. }
  1522. },
  1523. "/Erms3/QuerySpotContractDetail": {
  1524. "get": {
  1525. "security": [
  1526. {
  1527. "ApiKeyAuth": []
  1528. }
  1529. ],
  1530. "produces": [
  1531. "application/json"
  1532. ],
  1533. "tags": [
  1534. "风险管理v3"
  1535. ],
  1536. "summary": "查询合同详细信息",
  1537. "parameters": [
  1538. {
  1539. "type": "string",
  1540. "description": "资金账号ID列表,用逗号分隔",
  1541. "name": "accountids",
  1542. "in": "query",
  1543. "required": true
  1544. },
  1545. {
  1546. "type": "integer",
  1547. "description": "合同类型,1为采购合同 -1为销售合同",
  1548. "name": "contracttype",
  1549. "in": "query",
  1550. "required": true
  1551. },
  1552. {
  1553. "type": "integer",
  1554. "description": "合同模式,1为普通合同 2为回购销售合同",
  1555. "name": "contractmode",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "状态,0为履约中 1为已完成",
  1562. "name": "status",
  1563. "in": "query",
  1564. "required": true
  1565. }
  1566. ],
  1567. "responses": {
  1568. "200": {
  1569. "description": "OK",
  1570. "schema": {
  1571. "type": "array",
  1572. "items": {
  1573. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1574. }
  1575. }
  1576. },
  1577. "500": {
  1578. "description": "Internal Server Error",
  1579. "schema": {
  1580. "$ref": "#/definitions/app.Response"
  1581. }
  1582. }
  1583. }
  1584. }
  1585. },
  1586. "/Erms3/QueryUserInfoApplies": {
  1587. "get": {
  1588. "security": [
  1589. {
  1590. "ApiKeyAuth": []
  1591. }
  1592. ],
  1593. "produces": [
  1594. "application/json"
  1595. ],
  1596. "tags": [
  1597. "风险管理v3"
  1598. ],
  1599. "summary": "客户申请信息查询",
  1600. "parameters": [
  1601. {
  1602. "type": "integer",
  1603. "description": "页码",
  1604. "name": "page",
  1605. "in": "query"
  1606. },
  1607. {
  1608. "type": "integer",
  1609. "description": "每页条数",
  1610. "name": "pagesize",
  1611. "in": "query"
  1612. },
  1613. {
  1614. "type": "string",
  1615. "description": "客户名称,支持模糊查询",
  1616. "name": "userName",
  1617. "in": "query"
  1618. }
  1619. ],
  1620. "responses": {
  1621. "200": {
  1622. "description": "OK",
  1623. "schema": {
  1624. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1625. }
  1626. },
  1627. "500": {
  1628. "description": "Internal Server Error",
  1629. "schema": {
  1630. "$ref": "#/definitions/app.Response"
  1631. }
  1632. }
  1633. }
  1634. }
  1635. },
  1636. "/Erms3/QueryUserInfos": {
  1637. "get": {
  1638. "security": [
  1639. {
  1640. "ApiKeyAuth": []
  1641. }
  1642. ],
  1643. "produces": [
  1644. "application/json"
  1645. ],
  1646. "tags": [
  1647. "风险管理v3"
  1648. ],
  1649. "summary": "客户信息查询",
  1650. "parameters": [
  1651. {
  1652. "type": "integer",
  1653. "description": "页码",
  1654. "name": "page",
  1655. "in": "query"
  1656. },
  1657. {
  1658. "type": "integer",
  1659. "description": "每页条数",
  1660. "name": "pagesize",
  1661. "in": "query"
  1662. },
  1663. {
  1664. "type": "string",
  1665. "description": "客户名称,支持模糊查询",
  1666. "name": "userName",
  1667. "in": "query"
  1668. }
  1669. ],
  1670. "responses": {
  1671. "200": {
  1672. "description": "OK",
  1673. "schema": {
  1674. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1675. }
  1676. },
  1677. "500": {
  1678. "description": "Internal Server Error",
  1679. "schema": {
  1680. "$ref": "#/definitions/app.Response"
  1681. }
  1682. }
  1683. }
  1684. }
  1685. },
  1686. "/HSBY/GetHsbyMyCount": {
  1687. "get": {
  1688. "security": [
  1689. {
  1690. "ApiKeyAuth": []
  1691. }
  1692. ],
  1693. "description": "说明: 不包括已完成的数量。",
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "定制【海商报业】"
  1699. ],
  1700. "summary": "获取我的订单与包裹数量",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "资金账户列表,格式:1,2,3",
  1705. "name": "accountIDs",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1715. }
  1716. },
  1717. "500": {
  1718. "description": "Internal Server Error",
  1719. "schema": {
  1720. "$ref": "#/definitions/app.Response"
  1721. }
  1722. }
  1723. }
  1724. }
  1725. },
  1726. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1727. "get": {
  1728. "security": [
  1729. {
  1730. "ApiKeyAuth": []
  1731. }
  1732. ],
  1733. "produces": [
  1734. "application/json"
  1735. ],
  1736. "tags": [
  1737. "定制【海商报业】"
  1738. ],
  1739. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1740. "parameters": [
  1741. {
  1742. "type": "integer",
  1743. "description": "页码",
  1744. "name": "page",
  1745. "in": "query"
  1746. },
  1747. {
  1748. "type": "integer",
  1749. "description": "每页条数",
  1750. "name": "pagesize",
  1751. "in": "query"
  1752. },
  1753. {
  1754. "type": "string",
  1755. "description": "资金账户列表,格式:1,2,3",
  1756. "name": "accountIDs",
  1757. "in": "query",
  1758. "required": true
  1759. }
  1760. ],
  1761. "responses": {
  1762. "200": {
  1763. "description": "OK",
  1764. "schema": {
  1765. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "description": "说明:查询结果已按委托价格和委托时间排序",
  1785. "produces": [
  1786. "application/json"
  1787. ],
  1788. "tags": [
  1789. "定制【海商报业】"
  1790. ],
  1791. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1792. "parameters": [
  1793. {
  1794. "type": "integer",
  1795. "description": "商品ID",
  1796. "name": "goodsID",
  1797. "in": "query",
  1798. "required": true
  1799. },
  1800. {
  1801. "type": "string",
  1802. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1803. "name": "accountIDs",
  1804. "in": "query"
  1805. },
  1806. {
  1807. "type": "integer",
  1808. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1809. "name": "buyOrSell",
  1810. "in": "query"
  1811. },
  1812. {
  1813. "type": "number",
  1814. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1815. "name": "price",
  1816. "in": "query"
  1817. },
  1818. {
  1819. "type": "integer",
  1820. "description": "档位,不传则默认为3档",
  1821. "name": "speed",
  1822. "in": "query"
  1823. }
  1824. ],
  1825. "responses": {
  1826. "200": {
  1827. "description": "OK",
  1828. "schema": {
  1829. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1830. }
  1831. },
  1832. "500": {
  1833. "description": "Internal Server Error",
  1834. "schema": {
  1835. "$ref": "#/definitions/app.Response"
  1836. }
  1837. }
  1838. }
  1839. }
  1840. },
  1841. "/HSBY/QueryHsbyListingGoodsDetail": {
  1842. "get": {
  1843. "security": [
  1844. {
  1845. "ApiKeyAuth": []
  1846. }
  1847. ],
  1848. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "定制【海商报业】"
  1854. ],
  1855. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "商品ID",
  1860. "name": "goodsID",
  1861. "in": "query",
  1862. "required": true
  1863. },
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1867. "name": "accountID",
  1868. "in": "query"
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1876. }
  1877. },
  1878. "500": {
  1879. "description": "Internal Server Error",
  1880. "schema": {
  1881. "$ref": "#/definitions/app.Response"
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1888. "get": {
  1889. "security": [
  1890. {
  1891. "ApiKeyAuth": []
  1892. }
  1893. ],
  1894. "produces": [
  1895. "application/json"
  1896. ],
  1897. "tags": [
  1898. "定制【海商报业】"
  1899. ],
  1900. "summary": "查询三级市场(商城)商品信息详情",
  1901. "parameters": [
  1902. {
  1903. "type": "integer",
  1904. "description": "委托单号",
  1905. "name": "orderID",
  1906. "in": "query",
  1907. "required": true
  1908. },
  1909. {
  1910. "type": "integer",
  1911. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1912. "name": "accountID",
  1913. "in": "query"
  1914. }
  1915. ],
  1916. "responses": {
  1917. "200": {
  1918. "description": "OK",
  1919. "schema": {
  1920. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1921. }
  1922. },
  1923. "500": {
  1924. "description": "Internal Server Error",
  1925. "schema": {
  1926. "$ref": "#/definitions/app.Response"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "/HSBY/QueryHsbyMarketGoodses": {
  1933. "get": {
  1934. "security": [
  1935. {
  1936. "ApiKeyAuth": []
  1937. }
  1938. ],
  1939. "produces": [
  1940. "application/json"
  1941. ],
  1942. "tags": [
  1943. "定制【海商报业】"
  1944. ],
  1945. "summary": "查询特卖商品列表(三级商城)",
  1946. "parameters": [
  1947. {
  1948. "type": "integer",
  1949. "description": "页码",
  1950. "name": "page",
  1951. "in": "query"
  1952. },
  1953. {
  1954. "type": "integer",
  1955. "description": "每页条数",
  1956. "name": "pagesize",
  1957. "in": "query"
  1958. },
  1959. {
  1960. "type": "string",
  1961. "description": "市场ID列表,格式:1,2,3",
  1962. "name": "marketIDs",
  1963. "in": "query",
  1964. "required": true
  1965. },
  1966. {
  1967. "type": "integer",
  1968. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1969. "name": "accountID",
  1970. "in": "query"
  1971. },
  1972. {
  1973. "type": "integer",
  1974. "description": "类别ID",
  1975. "name": "categoryID",
  1976. "in": "query"
  1977. },
  1978. {
  1979. "type": "string",
  1980. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1981. "name": "goodsIDs",
  1982. "in": "query"
  1983. },
  1984. {
  1985. "type": "integer",
  1986. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1987. "name": "couponTypeID",
  1988. "in": "query"
  1989. }
  1990. ],
  1991. "responses": {
  1992. "200": {
  1993. "description": "OK",
  1994. "schema": {
  1995. "$ref": "#/definitions/models.HsbyMarketGoods"
  1996. }
  1997. },
  1998. "500": {
  1999. "description": "Internal Server Error",
  2000. "schema": {
  2001. "$ref": "#/definitions/app.Response"
  2002. }
  2003. }
  2004. }
  2005. }
  2006. },
  2007. "/HSBY/QueryHsbyMarkets": {
  2008. "get": {
  2009. "security": [
  2010. {
  2011. "ApiKeyAuth": []
  2012. }
  2013. ],
  2014. "produces": [
  2015. "application/json"
  2016. ],
  2017. "tags": [
  2018. "定制【海商报业】"
  2019. ],
  2020. "summary": "查询海商报业相关市场信息",
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "$ref": "#/definitions/models.HsbyMarketInfo"
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Internal Server Error",
  2030. "schema": {
  2031. "$ref": "#/definitions/app.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2038. "get": {
  2039. "security": [
  2040. {
  2041. "ApiKeyAuth": []
  2042. }
  2043. ],
  2044. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2045. "produces": [
  2046. "application/json"
  2047. ],
  2048. "tags": [
  2049. "定制【海商报业】"
  2050. ],
  2051. "summary": "查询“我的订单”信息",
  2052. "parameters": [
  2053. {
  2054. "type": "string",
  2055. "description": "资金账户列表,格式:1,2,3",
  2056. "name": "accountIDs",
  2057. "in": "query",
  2058. "required": true
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2063. "name": "myBuyStatus",
  2064. "in": "query"
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2072. }
  2073. },
  2074. "500": {
  2075. "description": "Internal Server Error",
  2076. "schema": {
  2077. "$ref": "#/definitions/app.Response"
  2078. }
  2079. }
  2080. }
  2081. }
  2082. },
  2083. "/HSBY/QueryHsbyMyGoods": {
  2084. "get": {
  2085. "security": [
  2086. {
  2087. "ApiKeyAuth": []
  2088. }
  2089. ],
  2090. "produces": [
  2091. "application/json"
  2092. ],
  2093. "tags": [
  2094. "定制【海商报业】"
  2095. ],
  2096. "summary": "查询“我的商品”信息",
  2097. "parameters": [
  2098. {
  2099. "type": "string",
  2100. "description": "资金账户列表,格式:1,2,3",
  2101. "name": "accountIDs",
  2102. "in": "query",
  2103. "required": true
  2104. }
  2105. ],
  2106. "responses": {
  2107. "200": {
  2108. "description": "OK",
  2109. "schema": {
  2110. "$ref": "#/definitions/models.HsbyMyGoods"
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/HSBY/QueryHsbyMyPackages": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "定制【海商报业】"
  2134. ],
  2135. "summary": "查询我的包裹信息",
  2136. "parameters": [
  2137. {
  2138. "type": "string",
  2139. "description": "资金账户列表,格式:1,2,3",
  2140. "name": "accountIDs",
  2141. "in": "query",
  2142. "required": true
  2143. },
  2144. {
  2145. "type": "integer",
  2146. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2147. "name": "takeOrderStatus",
  2148. "in": "query"
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "$ref": "#/definitions/models.HsbyMyPackage"
  2156. }
  2157. },
  2158. "500": {
  2159. "description": "Internal Server Error",
  2160. "schema": {
  2161. "$ref": "#/definitions/app.Response"
  2162. }
  2163. }
  2164. }
  2165. }
  2166. },
  2167. "/HSBY/QueryHsbyPreGoodsDetail": {
  2168. "get": {
  2169. "security": [
  2170. {
  2171. "ApiKeyAuth": []
  2172. }
  2173. ],
  2174. "produces": [
  2175. "application/json"
  2176. ],
  2177. "tags": [
  2178. "定制【海商报业】"
  2179. ],
  2180. "summary": "查询一级市场(预售)商品信息详情",
  2181. "parameters": [
  2182. {
  2183. "type": "integer",
  2184. "description": "商品ID",
  2185. "name": "goodsID",
  2186. "in": "query",
  2187. "required": true
  2188. },
  2189. {
  2190. "type": "integer",
  2191. "description": "资金账户,主要用于获取预售商品购买上限",
  2192. "name": "accountID",
  2193. "in": "query"
  2194. }
  2195. ],
  2196. "responses": {
  2197. "200": {
  2198. "description": "OK",
  2199. "schema": {
  2200. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2201. }
  2202. },
  2203. "500": {
  2204. "description": "Internal Server Error",
  2205. "schema": {
  2206. "$ref": "#/definitions/app.Response"
  2207. }
  2208. }
  2209. }
  2210. }
  2211. },
  2212. "/HSBY/QueryHsbyPreGoodses": {
  2213. "get": {
  2214. "security": [
  2215. {
  2216. "ApiKeyAuth": []
  2217. }
  2218. ],
  2219. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "定制【海商报业】"
  2225. ],
  2226. "summary": "查询新品上市商品列表(一级市场预售)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "页码",
  2231. "name": "page",
  2232. "in": "query"
  2233. },
  2234. {
  2235. "type": "integer",
  2236. "description": "每页条数",
  2237. "name": "pagesize",
  2238. "in": "query"
  2239. },
  2240. {
  2241. "type": "string",
  2242. "description": "市场ID列表,格式:1,2,3",
  2243. "name": "marketIDs",
  2244. "in": "query",
  2245. "required": true
  2246. },
  2247. {
  2248. "type": "integer",
  2249. "description": "目的地(省)ID",
  2250. "name": "descProvinceID",
  2251. "in": "query"
  2252. },
  2253. {
  2254. "type": "integer",
  2255. "description": "目的地(市)ID",
  2256. "name": "descCityID",
  2257. "in": "query"
  2258. }
  2259. ],
  2260. "responses": {
  2261. "200": {
  2262. "description": "OK",
  2263. "schema": {
  2264. "$ref": "#/definitions/models.HsbyPreGoods"
  2265. }
  2266. },
  2267. "500": {
  2268. "description": "Internal Server Error",
  2269. "schema": {
  2270. "$ref": "#/definitions/app.Response"
  2271. }
  2272. }
  2273. }
  2274. }
  2275. },
  2276. "/HSBY/QueryHsbySellMyDetails": {
  2277. "get": {
  2278. "security": [
  2279. {
  2280. "ApiKeyAuth": []
  2281. }
  2282. ],
  2283. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "定制【海商报业】"
  2289. ],
  2290. "summary": "查询\"我的闲置\"单据信息",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "页码",
  2295. "name": "page",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "integer",
  2300. "description": "每页条数",
  2301. "name": "pagesize",
  2302. "in": "query"
  2303. },
  2304. {
  2305. "type": "string",
  2306. "description": "资金账户列表,格式:1,2,3",
  2307. "name": "accountIDs",
  2308. "in": "query",
  2309. "required": true
  2310. },
  2311. {
  2312. "type": "integer",
  2313. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2314. "name": "orderType",
  2315. "in": "query"
  2316. }
  2317. ],
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "$ref": "#/definitions/models.HsbySellMyDetail"
  2323. }
  2324. },
  2325. "500": {
  2326. "description": "Internal Server Error",
  2327. "schema": {
  2328. "$ref": "#/definitions/app.Response"
  2329. }
  2330. }
  2331. }
  2332. }
  2333. },
  2334. "/HSBY/QueryHsbyTopGoodses": {
  2335. "get": {
  2336. "security": [
  2337. {
  2338. "ApiKeyAuth": []
  2339. }
  2340. ],
  2341. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2342. "produces": [
  2343. "application/json"
  2344. ],
  2345. "tags": [
  2346. "定制【海商报业】"
  2347. ],
  2348. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2349. "parameters": [
  2350. {
  2351. "type": "integer",
  2352. "description": "页码",
  2353. "name": "page",
  2354. "in": "query"
  2355. },
  2356. {
  2357. "type": "integer",
  2358. "description": "每页条数",
  2359. "name": "pagesize",
  2360. "in": "query"
  2361. },
  2362. {
  2363. "type": "string",
  2364. "description": "市场ID列表,格式:1,2,3",
  2365. "name": "marketIDs",
  2366. "in": "query",
  2367. "required": true
  2368. },
  2369. {
  2370. "type": "integer",
  2371. "description": "目的地(省)ID",
  2372. "name": "descProvinceID",
  2373. "in": "query"
  2374. },
  2375. {
  2376. "type": "integer",
  2377. "description": "目的地(市)ID",
  2378. "name": "descCityID",
  2379. "in": "query"
  2380. }
  2381. ],
  2382. "responses": {
  2383. "200": {
  2384. "description": "OK",
  2385. "schema": {
  2386. "$ref": "#/definitions/models.HsbyTopGoods"
  2387. }
  2388. },
  2389. "500": {
  2390. "description": "Internal Server Error",
  2391. "schema": {
  2392. "$ref": "#/definitions/app.Response"
  2393. }
  2394. }
  2395. }
  2396. }
  2397. },
  2398. "/HSBY/QueryMyCollectionOrders": {
  2399. "get": {
  2400. "security": [
  2401. {
  2402. "ApiKeyAuth": []
  2403. }
  2404. ],
  2405. "produces": [
  2406. "application/json"
  2407. ],
  2408. "tags": [
  2409. "定制【海商报业】"
  2410. ],
  2411. "summary": "我的闲置中收款信息查询",
  2412. "parameters": [
  2413. {
  2414. "type": "integer",
  2415. "description": "页码",
  2416. "name": "page",
  2417. "in": "query"
  2418. },
  2419. {
  2420. "type": "integer",
  2421. "description": "每页条数",
  2422. "name": "pagesize",
  2423. "in": "query"
  2424. },
  2425. {
  2426. "type": "string",
  2427. "description": "资金账户,格式:1,2,3",
  2428. "name": "accountIDs",
  2429. "in": "query",
  2430. "required": true
  2431. }
  2432. ],
  2433. "responses": {
  2434. "200": {
  2435. "description": "OK",
  2436. "schema": {
  2437. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2438. }
  2439. },
  2440. "500": {
  2441. "description": "Internal Server Error",
  2442. "schema": {
  2443. "$ref": "#/definitions/app.Response"
  2444. }
  2445. }
  2446. }
  2447. }
  2448. },
  2449. "/HSBY/QueryMyCouponHolds": {
  2450. "get": {
  2451. "security": [
  2452. {
  2453. "ApiKeyAuth": []
  2454. }
  2455. ],
  2456. "produces": [
  2457. "application/json"
  2458. ],
  2459. "tags": [
  2460. "定制【海商报业】"
  2461. ],
  2462. "summary": "我的优惠卷持仓查询",
  2463. "parameters": [
  2464. {
  2465. "type": "string",
  2466. "description": "资金账户列表,格式:1,2,3",
  2467. "name": "accountIDs",
  2468. "in": "query",
  2469. "required": true
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2474. "name": "holdStatus",
  2475. "in": "query"
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "$ref": "#/definitions/models.MyCouponHold"
  2483. }
  2484. },
  2485. "500": {
  2486. "description": "Internal Server Error",
  2487. "schema": {
  2488. "$ref": "#/definitions/app.Response"
  2489. }
  2490. }
  2491. }
  2492. }
  2493. },
  2494. "/HSBY/QueryMyCoupons": {
  2495. "get": {
  2496. "security": [
  2497. {
  2498. "ApiKeyAuth": []
  2499. }
  2500. ],
  2501. "produces": [
  2502. "application/json"
  2503. ],
  2504. "tags": [
  2505. "定制【海商报业】"
  2506. ],
  2507. "summary": "我的优惠卷查询",
  2508. "parameters": [
  2509. {
  2510. "type": "string",
  2511. "description": "资金账户列表,格式:1,2,3",
  2512. "name": "accountIDs",
  2513. "in": "query",
  2514. "required": true
  2515. },
  2516. {
  2517. "type": "integer",
  2518. "description": "商品ID, 一般与sellUserID配套传入",
  2519. "name": "goodsID",
  2520. "in": "query"
  2521. },
  2522. {
  2523. "type": "integer",
  2524. "description": "卖方UserID",
  2525. "name": "sellUserID",
  2526. "in": "query"
  2527. }
  2528. ],
  2529. "responses": {
  2530. "200": {
  2531. "description": "OK",
  2532. "schema": {
  2533. "$ref": "#/definitions/models.MyCoupon"
  2534. }
  2535. },
  2536. "500": {
  2537. "description": "Internal Server Error",
  2538. "schema": {
  2539. "$ref": "#/definitions/app.Response"
  2540. }
  2541. }
  2542. }
  2543. }
  2544. },
  2545. "/HSBY/QueryMyPayOrders": {
  2546. "get": {
  2547. "security": [
  2548. {
  2549. "ApiKeyAuth": []
  2550. }
  2551. ],
  2552. "produces": [
  2553. "application/json"
  2554. ],
  2555. "tags": [
  2556. "定制【海商报业】"
  2557. ],
  2558. "summary": "获取我的订单中待付款信息",
  2559. "parameters": [
  2560. {
  2561. "type": "integer",
  2562. "description": "页码",
  2563. "name": "page",
  2564. "in": "query"
  2565. },
  2566. {
  2567. "type": "integer",
  2568. "description": "每页条数",
  2569. "name": "pagesize",
  2570. "in": "query"
  2571. },
  2572. {
  2573. "type": "string",
  2574. "description": "资金账户列表,格式:1,2,3",
  2575. "name": "accountIDs",
  2576. "in": "query",
  2577. "required": true
  2578. },
  2579. {
  2580. "type": "integer",
  2581. "description": "买方委托单号",
  2582. "name": "buyOrderID",
  2583. "in": "query"
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "卖方委托单号",
  2588. "name": "sellOrderID",
  2589. "in": "query"
  2590. }
  2591. ],
  2592. "responses": {
  2593. "200": {
  2594. "description": "OK",
  2595. "schema": {
  2596. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2597. }
  2598. },
  2599. "500": {
  2600. "description": "Internal Server Error",
  2601. "schema": {
  2602. "$ref": "#/definitions/app.Response"
  2603. }
  2604. }
  2605. }
  2606. }
  2607. },
  2608. "/HSBY/QueryMyUsedCoupon": {
  2609. "get": {
  2610. "security": [
  2611. {
  2612. "ApiKeyAuth": []
  2613. }
  2614. ],
  2615. "produces": [
  2616. "application/json"
  2617. ],
  2618. "tags": [
  2619. "定制【海商报业】"
  2620. ],
  2621. "summary": "已使用优惠卷查询",
  2622. "parameters": [
  2623. {
  2624. "type": "string",
  2625. "description": "资金账户列表,格式:1,2,3",
  2626. "name": "accountIDs",
  2627. "in": "query",
  2628. "required": true
  2629. }
  2630. ],
  2631. "responses": {
  2632. "200": {
  2633. "description": "OK",
  2634. "schema": {
  2635. "$ref": "#/definitions/models.MyUsedCoupon"
  2636. }
  2637. },
  2638. "500": {
  2639. "description": "Internal Server Error",
  2640. "schema": {
  2641. "$ref": "#/definitions/app.Response"
  2642. }
  2643. }
  2644. }
  2645. }
  2646. },
  2647. "/HSBY/QueryProvincesAndCities": {
  2648. "get": {
  2649. "security": [
  2650. {
  2651. "ApiKeyAuth": []
  2652. }
  2653. ],
  2654. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2655. "produces": [
  2656. "application/json"
  2657. ],
  2658. "tags": [
  2659. "定制【海商报业】"
  2660. ],
  2661. "summary": "查询省市信息(不包括区)",
  2662. "parameters": [
  2663. {
  2664. "type": "integer",
  2665. "description": "省ID",
  2666. "name": "provinceID",
  2667. "in": "query"
  2668. }
  2669. ],
  2670. "responses": {
  2671. "200": {
  2672. "description": "OK",
  2673. "schema": {
  2674. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2675. }
  2676. },
  2677. "500": {
  2678. "description": "Internal Server Error",
  2679. "schema": {
  2680. "$ref": "#/definitions/app.Response"
  2681. }
  2682. }
  2683. }
  2684. }
  2685. },
  2686. "/HSBY/SetHsbyMyPackagesStatus": {
  2687. "post": {
  2688. "security": [
  2689. {
  2690. "ApiKeyAuth": []
  2691. }
  2692. ],
  2693. "produces": [
  2694. "application/json"
  2695. ],
  2696. "tags": [
  2697. "定制【海商报业】"
  2698. ],
  2699. "summary": "设置我的包裹已收货状态",
  2700. "parameters": [
  2701. {
  2702. "type": "string",
  2703. "description": "提货单号",
  2704. "name": "takeOrderID",
  2705. "in": "query",
  2706. "required": true
  2707. },
  2708. {
  2709. "type": "integer",
  2710. "description": "资金账号",
  2711. "name": "accountID",
  2712. "in": "query",
  2713. "required": true
  2714. }
  2715. ],
  2716. "responses": {
  2717. "200": {
  2718. "description": "OK",
  2719. "schema": {
  2720. "$ref": "#/definitions/app.Response"
  2721. }
  2722. },
  2723. "500": {
  2724. "description": "Internal Server Error",
  2725. "schema": {
  2726. "$ref": "#/definitions/app.Response"
  2727. }
  2728. }
  2729. }
  2730. }
  2731. },
  2732. "/Market/QueryMarketRun": {
  2733. "get": {
  2734. "security": [
  2735. {
  2736. "ApiKeyAuth": []
  2737. }
  2738. ],
  2739. "produces": [
  2740. "application/json"
  2741. ],
  2742. "tags": [
  2743. "通用市场"
  2744. ],
  2745. "summary": "查询市场运行信息",
  2746. "parameters": [
  2747. {
  2748. "type": "integer",
  2749. "description": "市场ID,不传返回所有",
  2750. "name": "marketID",
  2751. "in": "query"
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "$ref": "#/definitions/models.Marketrun"
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Order/QueryHisTradeDetail": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "通用单据"
  2782. ],
  2783. "summary": "历史成交单查询(合约市场)",
  2784. "parameters": [
  2785. {
  2786. "type": "string",
  2787. "description": "资金账户 - 格式:1,2,3",
  2788. "name": "accountID",
  2789. "in": "query",
  2790. "required": true
  2791. },
  2792. {
  2793. "type": "integer",
  2794. "description": "成交单号",
  2795. "name": "tradeID",
  2796. "in": "query"
  2797. },
  2798. {
  2799. "type": "integer",
  2800. "description": "委托单号",
  2801. "name": "orderID",
  2802. "in": "query"
  2803. },
  2804. {
  2805. "type": "string",
  2806. "description": "交易模式 - 格式:1,2,3",
  2807. "name": "tradeMode",
  2808. "in": "query"
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "委托单据类型",
  2813. "name": "buildType",
  2814. "in": "query"
  2815. },
  2816. {
  2817. "type": "string",
  2818. "description": "成交类别 - 格式:1,2,3",
  2819. "name": "tradeType",
  2820. "in": "query"
  2821. },
  2822. {
  2823. "type": "string",
  2824. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2825. "name": "startDate",
  2826. "in": "query"
  2827. },
  2828. {
  2829. "type": "string",
  2830. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2831. "name": "endDate",
  2832. "in": "query"
  2833. }
  2834. ],
  2835. "responses": {
  2836. "200": {
  2837. "description": "OK",
  2838. "schema": {
  2839. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2840. }
  2841. },
  2842. "500": {
  2843. "description": "Internal Server Error",
  2844. "schema": {
  2845. "$ref": "#/definitions/app.Response"
  2846. }
  2847. }
  2848. }
  2849. }
  2850. },
  2851. "/Order/QueryHisTradeOrderDetail": {
  2852. "get": {
  2853. "security": [
  2854. {
  2855. "ApiKeyAuth": []
  2856. }
  2857. ],
  2858. "produces": [
  2859. "application/json"
  2860. ],
  2861. "tags": [
  2862. "通用单据"
  2863. ],
  2864. "summary": "历史委托单查询请求(合约市场)",
  2865. "parameters": [
  2866. {
  2867. "type": "string",
  2868. "description": "资金账户 - 格式:1,2,3",
  2869. "name": "accountID",
  2870. "in": "query",
  2871. "required": true
  2872. },
  2873. {
  2874. "type": "string",
  2875. "description": "交易模式 - 格式:1,2,3",
  2876. "name": "tradeMode",
  2877. "in": "query"
  2878. },
  2879. {
  2880. "type": "string",
  2881. "description": "委托状态 - 格式:1,2,3",
  2882. "name": "orderStatus",
  2883. "in": "query"
  2884. },
  2885. {
  2886. "type": "integer",
  2887. "description": "委托单号",
  2888. "name": "orderID",
  2889. "in": "query"
  2890. },
  2891. {
  2892. "type": "string",
  2893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2894. "name": "startDate",
  2895. "in": "query"
  2896. },
  2897. {
  2898. "type": "string",
  2899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2900. "name": "endDate",
  2901. "in": "query"
  2902. }
  2903. ],
  2904. "responses": {
  2905. "200": {
  2906. "description": "OK",
  2907. "schema": {
  2908. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2909. }
  2910. },
  2911. "500": {
  2912. "description": "Internal Server Error",
  2913. "schema": {
  2914. "$ref": "#/definitions/app.Response"
  2915. }
  2916. }
  2917. }
  2918. }
  2919. },
  2920. "/Order/QueryTradeDetail": {
  2921. "get": {
  2922. "security": [
  2923. {
  2924. "ApiKeyAuth": []
  2925. }
  2926. ],
  2927. "produces": [
  2928. "application/json"
  2929. ],
  2930. "tags": [
  2931. "通用单据"
  2932. ],
  2933. "summary": "成交单查询(合约市场)",
  2934. "parameters": [
  2935. {
  2936. "type": "string",
  2937. "description": "资金账户 - 格式:1,2,3",
  2938. "name": "accountID",
  2939. "in": "query",
  2940. "required": true
  2941. },
  2942. {
  2943. "type": "integer",
  2944. "description": "成交单号",
  2945. "name": "tradeID",
  2946. "in": "query"
  2947. },
  2948. {
  2949. "type": "integer",
  2950. "description": "委托单号",
  2951. "name": "orderID",
  2952. "in": "query"
  2953. },
  2954. {
  2955. "type": "string",
  2956. "description": "交易模式 - 格式:1,2,3",
  2957. "name": "tradeMode",
  2958. "in": "query"
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "委托单据类型",
  2963. "name": "buildType",
  2964. "in": "query"
  2965. },
  2966. {
  2967. "type": "string",
  2968. "description": "成交类别 - 格式:1,2,3",
  2969. "name": "tradeType",
  2970. "in": "query"
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2978. }
  2979. },
  2980. "500": {
  2981. "description": "Internal Server Error",
  2982. "schema": {
  2983. "$ref": "#/definitions/app.Response"
  2984. }
  2985. }
  2986. }
  2987. }
  2988. },
  2989. "/Order/QueryTradeOrderDetail": {
  2990. "get": {
  2991. "security": [
  2992. {
  2993. "ApiKeyAuth": []
  2994. }
  2995. ],
  2996. "produces": [
  2997. "application/json"
  2998. ],
  2999. "tags": [
  3000. "通用单据"
  3001. ],
  3002. "summary": "委托单查询请求(合约市场)",
  3003. "parameters": [
  3004. {
  3005. "type": "string",
  3006. "description": "资金账户 - 格式:1,2,3",
  3007. "name": "accountID",
  3008. "in": "query",
  3009. "required": true
  3010. },
  3011. {
  3012. "type": "string",
  3013. "description": "交易模式 - 格式:1,2,3",
  3014. "name": "tradeMode",
  3015. "in": "query"
  3016. },
  3017. {
  3018. "type": "string",
  3019. "description": "委托状态 - 格式:1,2,3",
  3020. "name": "orderStatus",
  3021. "in": "query"
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "委托单号",
  3026. "name": "orderID",
  3027. "in": "query"
  3028. }
  3029. ],
  3030. "responses": {
  3031. "200": {
  3032. "description": "OK",
  3033. "schema": {
  3034. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3035. }
  3036. },
  3037. "500": {
  3038. "description": "Internal Server Error",
  3039. "schema": {
  3040. "$ref": "#/definitions/app.Response"
  3041. }
  3042. }
  3043. }
  3044. }
  3045. },
  3046. "/Order/QueryTradePosition": {
  3047. "get": {
  3048. "security": [
  3049. {
  3050. "ApiKeyAuth": []
  3051. }
  3052. ],
  3053. "produces": [
  3054. "application/json"
  3055. ],
  3056. "tags": [
  3057. "通用单据"
  3058. ],
  3059. "summary": "持仓汇总查询(合约市场)",
  3060. "parameters": [
  3061. {
  3062. "type": "string",
  3063. "description": "资金账户 - 格式:1,2,3",
  3064. "name": "accountID",
  3065. "in": "query",
  3066. "required": true
  3067. },
  3068. {
  3069. "type": "string",
  3070. "description": "交易模式 - 格式:1,2,3",
  3071. "name": "tradeMode",
  3072. "in": "query"
  3073. }
  3074. ],
  3075. "responses": {
  3076. "200": {
  3077. "description": "OK",
  3078. "schema": {
  3079. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3080. }
  3081. },
  3082. "500": {
  3083. "description": "Internal Server Error",
  3084. "schema": {
  3085. "$ref": "#/definitions/app.Response"
  3086. }
  3087. }
  3088. }
  3089. }
  3090. },
  3091. "/Quote/QueryHistoryDatas": {
  3092. "get": {
  3093. "security": [
  3094. {
  3095. "ApiKeyAuth": []
  3096. }
  3097. ],
  3098. "produces": [
  3099. "application/json"
  3100. ],
  3101. "tags": [
  3102. "行情服务"
  3103. ],
  3104. "summary": "查询行情历史数据",
  3105. "parameters": [
  3106. {
  3107. "type": "integer",
  3108. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3109. "name": "cycleType",
  3110. "in": "query",
  3111. "required": true
  3112. },
  3113. {
  3114. "type": "string",
  3115. "description": "商品代码",
  3116. "name": "goodsCode",
  3117. "in": "query",
  3118. "required": true
  3119. },
  3120. {
  3121. "type": "string",
  3122. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3123. "name": "startTime",
  3124. "in": "query"
  3125. },
  3126. {
  3127. "type": "string",
  3128. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3129. "name": "endTime",
  3130. "in": "query"
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "条数",
  3135. "name": "count",
  3136. "in": "query"
  3137. },
  3138. {
  3139. "type": "boolean",
  3140. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3141. "name": "isAsc",
  3142. "in": "query"
  3143. }
  3144. ],
  3145. "responses": {
  3146. "200": {
  3147. "description": "OK",
  3148. "schema": {
  3149. "$ref": "#/definitions/quote.HistoryData"
  3150. }
  3151. },
  3152. "500": {
  3153. "description": "Internal Server Error",
  3154. "schema": {
  3155. "$ref": "#/definitions/app.Response"
  3156. }
  3157. }
  3158. }
  3159. }
  3160. },
  3161. "/Quote/QueryTSData": {
  3162. "get": {
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "行情服务"
  3168. ],
  3169. "summary": "分时图数据查询",
  3170. "parameters": [
  3171. {
  3172. "type": "string",
  3173. "description": "商品代码",
  3174. "name": "GoodsCode",
  3175. "in": "query",
  3176. "required": true
  3177. }
  3178. ],
  3179. "responses": {
  3180. "200": {
  3181. "description": "OK",
  3182. "schema": {
  3183. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3184. }
  3185. },
  3186. "500": {
  3187. "description": "Internal Server Error",
  3188. "schema": {
  3189. "$ref": "#/definitions/app.Response"
  3190. }
  3191. }
  3192. }
  3193. }
  3194. },
  3195. "/SZDZ/QueryConvertConfig": {
  3196. "get": {
  3197. "security": [
  3198. {
  3199. "ApiKeyAuth": []
  3200. }
  3201. ],
  3202. "produces": [
  3203. "application/json"
  3204. ],
  3205. "tags": [
  3206. "定制【尚志大宗】"
  3207. ],
  3208. "summary": "查询交易系统转换设置",
  3209. "parameters": [
  3210. {
  3211. "type": "integer",
  3212. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3213. "name": "convertType",
  3214. "in": "query"
  3215. },
  3216. {
  3217. "type": "string",
  3218. "description": "外部商品代码[JD\\PD]",
  3219. "name": "outerGoodsCode",
  3220. "in": "query"
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "内部商品ID列表[交易],格式:1,2,3",
  3225. "name": "innerGoodsIDs",
  3226. "in": "query"
  3227. }
  3228. ],
  3229. "responses": {
  3230. "200": {
  3231. "description": "OK",
  3232. "schema": {
  3233. "$ref": "#/definitions/models.Szdz3convertconfig"
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/SZDZ/QueryConvertLog": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "定制【尚志大宗】"
  3257. ],
  3258. "summary": "交易系统转换流水查询",
  3259. "parameters": [
  3260. {
  3261. "type": "string",
  3262. "description": "资金账户 - 格式:1,2,3",
  3263. "name": "accountID",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "string",
  3269. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3270. "name": "startDate",
  3271. "in": "query"
  3272. },
  3273. {
  3274. "type": "string",
  3275. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3276. "name": "endDate",
  3277. "in": "query"
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3285. }
  3286. },
  3287. "500": {
  3288. "description": "Internal Server Error",
  3289. "schema": {
  3290. "$ref": "#/definitions/app.Response"
  3291. }
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/SZDZ/QueryGoodsPickup": {
  3297. "get": {
  3298. "security": [
  3299. {
  3300. "ApiKeyAuth": []
  3301. }
  3302. ],
  3303. "produces": [
  3304. "application/json"
  3305. ],
  3306. "tags": [
  3307. "定制【尚志大宗】"
  3308. ],
  3309. "summary": "商品提货单查询",
  3310. "parameters": [
  3311. {
  3312. "type": "string",
  3313. "description": "资金账户 - 格式:1,2,3",
  3314. "name": "accountID",
  3315. "in": "query",
  3316. "required": true
  3317. },
  3318. {
  3319. "type": "integer",
  3320. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3321. "name": "takeOrderStatus",
  3322. "in": "query"
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/app.Response"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/SZDZ/QueryRecieptOrder": {
  3342. "get": {
  3343. "security": [
  3344. {
  3345. "ApiKeyAuth": []
  3346. }
  3347. ],
  3348. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3349. "produces": [
  3350. "application/json"
  3351. ],
  3352. "tags": [
  3353. "定制【尚志大宗】"
  3354. ],
  3355. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3356. "parameters": [
  3357. {
  3358. "type": "integer",
  3359. "description": "页码",
  3360. "name": "page",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "integer",
  3365. "description": "每页条数",
  3366. "name": "pagesize",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "integer",
  3371. "description": "商品ID",
  3372. "name": "goodsID",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "所属账户名称",
  3379. "name": "accountName",
  3380. "in": "query"
  3381. },
  3382. {
  3383. "type": "integer",
  3384. "description": "市场ID",
  3385. "name": "marketID",
  3386. "in": "query"
  3387. },
  3388. {
  3389. "type": "integer",
  3390. "description": "方向 - 0:买 1:卖",
  3391. "name": "buyorsell",
  3392. "in": "query",
  3393. "required": true
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3401. }
  3402. },
  3403. "500": {
  3404. "description": "Internal Server Error",
  3405. "schema": {
  3406. "$ref": "#/definitions/app.Response"
  3407. }
  3408. }
  3409. }
  3410. }
  3411. },
  3412. "/SZDZ/QuerySZDZTradePosition": {
  3413. "get": {
  3414. "security": [
  3415. {
  3416. "ApiKeyAuth": []
  3417. }
  3418. ],
  3419. "produces": [
  3420. "application/json"
  3421. ],
  3422. "tags": [
  3423. "定制【尚志大宗】"
  3424. ],
  3425. "summary": "持仓汇总查询(尚志大宗)",
  3426. "parameters": [
  3427. {
  3428. "type": "integer",
  3429. "description": "资金账户",
  3430. "name": "accountID",
  3431. "in": "query",
  3432. "required": true
  3433. }
  3434. ],
  3435. "responses": {
  3436. "200": {
  3437. "description": "OK",
  3438. "schema": {
  3439. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3440. }
  3441. },
  3442. "500": {
  3443. "description": "Internal Server Error",
  3444. "schema": {
  3445. "$ref": "#/definitions/app.Response"
  3446. }
  3447. }
  3448. }
  3449. }
  3450. },
  3451. "/SZDZ/SearchWhite": {
  3452. "get": {
  3453. "security": [
  3454. {
  3455. "ApiKeyAuth": []
  3456. }
  3457. ],
  3458. "produces": [
  3459. "application/json"
  3460. ],
  3461. "tags": [
  3462. "定制【尚志大宗】"
  3463. ],
  3464. "summary": "搜索白名单",
  3465. "parameters": [
  3466. {
  3467. "type": "integer",
  3468. "description": "用户ID",
  3469. "name": "userID",
  3470. "in": "query",
  3471. "required": true
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "OK",
  3477. "schema": {
  3478. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3479. }
  3480. },
  3481. "500": {
  3482. "description": "Internal Server Error",
  3483. "schema": {
  3484. "$ref": "#/definitions/app.Response"
  3485. }
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "/Search/SearchGoodses": {
  3491. "get": {
  3492. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "检索服务"
  3498. ],
  3499. "summary": "检索商品信息",
  3500. "parameters": [
  3501. {
  3502. "type": "string",
  3503. "description": "检索内容",
  3504. "name": "content",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "交易模式,格式:1,2,3",
  3511. "name": "tradeModes",
  3512. "in": "query"
  3513. }
  3514. ],
  3515. "responses": {
  3516. "200": {
  3517. "description": "OK",
  3518. "schema": {
  3519. "$ref": "#/definitions/models.SearchGoods"
  3520. }
  3521. },
  3522. "500": {
  3523. "description": "Internal Server Error",
  3524. "schema": {
  3525. "$ref": "#/definitions/app.Response"
  3526. }
  3527. }
  3528. }
  3529. }
  3530. },
  3531. "/TaAccount/QueryAmountLog": {
  3532. "get": {
  3533. "security": [
  3534. {
  3535. "ApiKeyAuth": []
  3536. }
  3537. ],
  3538. "produces": [
  3539. "application/json"
  3540. ],
  3541. "tags": [
  3542. "资金账户"
  3543. ],
  3544. "summary": "资金流水查询(当前)",
  3545. "parameters": [
  3546. {
  3547. "type": "integer",
  3548. "description": "页码",
  3549. "name": "page",
  3550. "in": "query"
  3551. },
  3552. {
  3553. "type": "integer",
  3554. "description": "每页条数",
  3555. "name": "pagesize",
  3556. "in": "query"
  3557. },
  3558. {
  3559. "type": "string",
  3560. "description": "资金账户 - 格式:1,2,3",
  3561. "name": "accountID",
  3562. "in": "query",
  3563. "required": true
  3564. },
  3565. {
  3566. "type": "string",
  3567. "description": "资金操作类型 - 格式:1,2,3",
  3568. "name": "OperateType",
  3569. "in": "query"
  3570. }
  3571. ],
  3572. "responses": {
  3573. "200": {
  3574. "description": "OK",
  3575. "schema": {
  3576. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3577. }
  3578. },
  3579. "500": {
  3580. "description": "Internal Server Error",
  3581. "schema": {
  3582. "$ref": "#/definitions/app.Response"
  3583. }
  3584. }
  3585. }
  3586. }
  3587. },
  3588. "/TaAccount/QueryHisAmountLog": {
  3589. "get": {
  3590. "security": [
  3591. {
  3592. "ApiKeyAuth": []
  3593. }
  3594. ],
  3595. "produces": [
  3596. "application/json"
  3597. ],
  3598. "tags": [
  3599. "资金账户"
  3600. ],
  3601. "summary": "资金流水查询(历史)",
  3602. "parameters": [
  3603. {
  3604. "type": "integer",
  3605. "description": "页码",
  3606. "name": "page",
  3607. "in": "query"
  3608. },
  3609. {
  3610. "type": "integer",
  3611. "description": "每页条数",
  3612. "name": "pagesize",
  3613. "in": "query"
  3614. },
  3615. {
  3616. "type": "string",
  3617. "description": "资金账户 - 格式:1,2,3",
  3618. "name": "accountID",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "string",
  3624. "description": "资金操作类型 - 格式:1,2,3",
  3625. "name": "OperateType",
  3626. "in": "query"
  3627. },
  3628. {
  3629. "type": "string",
  3630. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3631. "name": "startDate",
  3632. "in": "query"
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3637. "name": "endDate",
  3638. "in": "query"
  3639. }
  3640. ],
  3641. "responses": {
  3642. "200": {
  3643. "description": "OK",
  3644. "schema": {
  3645. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3646. }
  3647. },
  3648. "500": {
  3649. "description": "Internal Server Error",
  3650. "schema": {
  3651. "$ref": "#/definitions/app.Response"
  3652. }
  3653. }
  3654. }
  3655. }
  3656. },
  3657. "/Trade/QueryRecieptOrder": {
  3658. "get": {
  3659. "security": [
  3660. {
  3661. "ApiKeyAuth": []
  3662. }
  3663. ],
  3664. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3665. "produces": [
  3666. "application/json"
  3667. ],
  3668. "tags": [
  3669. "通用交易"
  3670. ],
  3671. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3672. "parameters": [
  3673. {
  3674. "type": "integer",
  3675. "description": "页码",
  3676. "name": "page",
  3677. "in": "query"
  3678. },
  3679. {
  3680. "type": "integer",
  3681. "description": "每页条数",
  3682. "name": "pagesize",
  3683. "in": "query"
  3684. },
  3685. {
  3686. "type": "integer",
  3687. "description": "商品ID",
  3688. "name": "goodsID",
  3689. "in": "query",
  3690. "required": true
  3691. },
  3692. {
  3693. "type": "string",
  3694. "description": "所属账户名称",
  3695. "name": "accountName",
  3696. "in": "query"
  3697. },
  3698. {
  3699. "type": "integer",
  3700. "description": "市场ID",
  3701. "name": "marketID",
  3702. "in": "query"
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "方向 - 0:买 1:卖",
  3707. "name": "buyorsell",
  3708. "in": "query",
  3709. "required": true
  3710. }
  3711. ],
  3712. "responses": {
  3713. "200": {
  3714. "description": "OK",
  3715. "schema": {
  3716. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3717. }
  3718. },
  3719. "500": {
  3720. "description": "Internal Server Error",
  3721. "schema": {
  3722. "$ref": "#/definitions/app.Response"
  3723. }
  3724. }
  3725. }
  3726. }
  3727. },
  3728. "/User/AddMessageBoard": {
  3729. "post": {
  3730. "security": [
  3731. {
  3732. "ApiKeyAuth": []
  3733. }
  3734. ],
  3735. "produces": [
  3736. "application/json"
  3737. ],
  3738. "tags": [
  3739. "用户信息"
  3740. ],
  3741. "summary": "添加用户留言板信息",
  3742. "parameters": [
  3743. {
  3744. "type": "integer",
  3745. "description": "用户ID",
  3746. "name": "userID",
  3747. "in": "query",
  3748. "required": true
  3749. },
  3750. {
  3751. "type": "string",
  3752. "description": "留言信息",
  3753. "name": "message",
  3754. "in": "query",
  3755. "required": true
  3756. }
  3757. ],
  3758. "responses": {
  3759. "200": {
  3760. "description": "OK",
  3761. "schema": {
  3762. "$ref": "#/definitions/app.Response"
  3763. }
  3764. },
  3765. "500": {
  3766. "description": "Internal Server Error",
  3767. "schema": {
  3768. "$ref": "#/definitions/app.Response"
  3769. }
  3770. }
  3771. }
  3772. }
  3773. },
  3774. "/User/AddUserFavoriteGoods": {
  3775. "post": {
  3776. "security": [
  3777. {
  3778. "ApiKeyAuth": []
  3779. }
  3780. ],
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "用户信息"
  3786. ],
  3787. "summary": "添加用户商品收藏信息",
  3788. "parameters": [
  3789. {
  3790. "type": "integer",
  3791. "description": "用户ID",
  3792. "name": "userID",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "商品ID",
  3799. "name": "goodsID",
  3800. "in": "query",
  3801. "required": true
  3802. }
  3803. ],
  3804. "responses": {
  3805. "200": {
  3806. "description": "OK",
  3807. "schema": {
  3808. "$ref": "#/definitions/app.Response"
  3809. }
  3810. },
  3811. "500": {
  3812. "description": "Internal Server Error",
  3813. "schema": {
  3814. "$ref": "#/definitions/app.Response"
  3815. }
  3816. }
  3817. }
  3818. }
  3819. },
  3820. "/User/GetLoginID": {
  3821. "get": {
  3822. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3823. "produces": [
  3824. "application/json"
  3825. ],
  3826. "tags": [
  3827. "用户信息"
  3828. ],
  3829. "summary": "获取登录ID",
  3830. "parameters": [
  3831. {
  3832. "type": "string",
  3833. "description": "登录代码",
  3834. "name": "username",
  3835. "in": "query",
  3836. "required": true
  3837. }
  3838. ],
  3839. "responses": {
  3840. "200": {
  3841. "description": "OK",
  3842. "schema": {
  3843. "$ref": "#/definitions/app.Response"
  3844. }
  3845. },
  3846. "500": {
  3847. "description": "Internal Server Error",
  3848. "schema": {
  3849. "$ref": "#/definitions/app.Response"
  3850. }
  3851. }
  3852. }
  3853. }
  3854. },
  3855. "/User/GetUserAccount": {
  3856. "get": {
  3857. "security": [
  3858. {
  3859. "ApiKeyAuth": []
  3860. }
  3861. ],
  3862. "produces": [
  3863. "application/json"
  3864. ],
  3865. "tags": [
  3866. "用户信息"
  3867. ],
  3868. "summary": "获取用户账号信息",
  3869. "parameters": [
  3870. {
  3871. "type": "integer",
  3872. "description": "用户ID",
  3873. "name": "userID",
  3874. "in": "query",
  3875. "required": true
  3876. }
  3877. ],
  3878. "responses": {
  3879. "200": {
  3880. "description": "OK",
  3881. "schema": {
  3882. "$ref": "#/definitions/models.Useraccount"
  3883. }
  3884. },
  3885. "500": {
  3886. "description": "Internal Server Error",
  3887. "schema": {
  3888. "$ref": "#/definitions/app.Response"
  3889. }
  3890. }
  3891. }
  3892. }
  3893. },
  3894. "/User/GetUserAuthStatus": {
  3895. "get": {
  3896. "security": [
  3897. {
  3898. "ApiKeyAuth": []
  3899. }
  3900. ],
  3901. "produces": [
  3902. "application/json"
  3903. ],
  3904. "tags": [
  3905. "用户信息"
  3906. ],
  3907. "summary": "获取用户实名认证状态",
  3908. "parameters": [
  3909. {
  3910. "type": "integer",
  3911. "description": "用户ID",
  3912. "name": "userID",
  3913. "in": "query",
  3914. "required": true
  3915. }
  3916. ],
  3917. "responses": {
  3918. "200": {
  3919. "description": "OK",
  3920. "schema": {
  3921. "$ref": "#/definitions/app.Response"
  3922. }
  3923. },
  3924. "500": {
  3925. "description": "Internal Server Error",
  3926. "schema": {
  3927. "$ref": "#/definitions/app.Response"
  3928. }
  3929. }
  3930. }
  3931. }
  3932. },
  3933. "/User/QueryMessageBoard": {
  3934. "get": {
  3935. "security": [
  3936. {
  3937. "ApiKeyAuth": []
  3938. }
  3939. ],
  3940. "produces": [
  3941. "application/json"
  3942. ],
  3943. "tags": [
  3944. "用户信息"
  3945. ],
  3946. "summary": "获取用户留言板信息",
  3947. "parameters": [
  3948. {
  3949. "type": "integer",
  3950. "description": "用户ID",
  3951. "name": "userID",
  3952. "in": "query",
  3953. "required": true
  3954. }
  3955. ],
  3956. "responses": {
  3957. "200": {
  3958. "description": "OK",
  3959. "schema": {
  3960. "$ref": "#/definitions/models.Messageboard"
  3961. }
  3962. },
  3963. "500": {
  3964. "description": "Internal Server Error",
  3965. "schema": {
  3966. "$ref": "#/definitions/app.Response"
  3967. }
  3968. }
  3969. }
  3970. }
  3971. },
  3972. "/User/QueryUserFavoriteGoodses": {
  3973. "get": {
  3974. "security": [
  3975. {
  3976. "ApiKeyAuth": []
  3977. }
  3978. ],
  3979. "produces": [
  3980. "application/json"
  3981. ],
  3982. "tags": [
  3983. "用户信息"
  3984. ],
  3985. "summary": "获取用户商品收藏信息",
  3986. "parameters": [
  3987. {
  3988. "type": "integer",
  3989. "description": "用户ID",
  3990. "name": "userID",
  3991. "in": "query",
  3992. "required": true
  3993. }
  3994. ],
  3995. "responses": {
  3996. "200": {
  3997. "description": "OK",
  3998. "schema": {
  3999. "$ref": "#/definitions/models.Userfavoritegoods"
  4000. }
  4001. },
  4002. "500": {
  4003. "description": "Internal Server Error",
  4004. "schema": {
  4005. "$ref": "#/definitions/app.Response"
  4006. }
  4007. }
  4008. }
  4009. }
  4010. },
  4011. "/User/QueryUserInfo": {
  4012. "get": {
  4013. "security": [
  4014. {
  4015. "ApiKeyAuth": []
  4016. }
  4017. ],
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "用户信息"
  4023. ],
  4024. "summary": "获取用户信息",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "用户ID",
  4029. "name": "userID",
  4030. "in": "query",
  4031. "required": true
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "$ref": "#/definitions/models.Userinfo"
  4039. }
  4040. },
  4041. "500": {
  4042. "description": "Internal Server Error",
  4043. "schema": {
  4044. "$ref": "#/definitions/app.Response"
  4045. }
  4046. }
  4047. }
  4048. }
  4049. },
  4050. "/User/QueryUserReferNum": {
  4051. "get": {
  4052. "produces": [
  4053. "application/json"
  4054. ],
  4055. "tags": [
  4056. "用户信息"
  4057. ],
  4058. "summary": "获取用户邀请码",
  4059. "parameters": [
  4060. {
  4061. "type": "integer",
  4062. "description": "用户ID",
  4063. "name": "userID",
  4064. "in": "query",
  4065. "required": true
  4066. }
  4067. ],
  4068. "responses": {
  4069. "200": {
  4070. "description": "OK",
  4071. "schema": {
  4072. "$ref": "#/definitions/app.Response"
  4073. }
  4074. },
  4075. "500": {
  4076. "description": "Internal Server Error",
  4077. "schema": {
  4078. "$ref": "#/definitions/app.Response"
  4079. }
  4080. }
  4081. }
  4082. }
  4083. },
  4084. "/User/RemoveUserFavoriteGoods": {
  4085. "post": {
  4086. "security": [
  4087. {
  4088. "ApiKeyAuth": []
  4089. }
  4090. ],
  4091. "produces": [
  4092. "application/json"
  4093. ],
  4094. "tags": [
  4095. "用户信息"
  4096. ],
  4097. "summary": "移除用户商品收藏信息",
  4098. "parameters": [
  4099. {
  4100. "type": "integer",
  4101. "description": "用户ID",
  4102. "name": "userID",
  4103. "in": "query",
  4104. "required": true
  4105. },
  4106. {
  4107. "type": "integer",
  4108. "description": "商品ID",
  4109. "name": "goodsID",
  4110. "in": "query",
  4111. "required": true
  4112. }
  4113. ],
  4114. "responses": {
  4115. "200": {
  4116. "description": "OK",
  4117. "schema": {
  4118. "$ref": "#/definitions/app.Response"
  4119. }
  4120. },
  4121. "500": {
  4122. "description": "Internal Server Error",
  4123. "schema": {
  4124. "$ref": "#/definitions/app.Response"
  4125. }
  4126. }
  4127. }
  4128. }
  4129. },
  4130. "/WR/GetWRCategoryInfo": {
  4131. "get": {
  4132. "produces": [
  4133. "application/json"
  4134. ],
  4135. "tags": [
  4136. "仓单服务"
  4137. ],
  4138. "summary": "获取现货分类信息",
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "$ref": "#/definitions/models.WRCategoryTree"
  4144. }
  4145. },
  4146. "500": {
  4147. "description": "Internal Server Error",
  4148. "schema": {
  4149. "$ref": "#/definitions/app.Response"
  4150. }
  4151. }
  4152. }
  4153. }
  4154. },
  4155. "/WRTrade/GetAllDeliveryGoods": {
  4156. "get": {
  4157. "security": [
  4158. {
  4159. "ApiKeyAuth": []
  4160. },
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json",
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "仓单贸易",
  4171. "仓单贸易"
  4172. ],
  4173. "summary": "获取带仓单分类的种类信息",
  4174. "responses": {
  4175. "200": {
  4176. "description": "OK",
  4177. "schema": {
  4178. "$ref": "#/definitions/app.Response"
  4179. }
  4180. },
  4181. "500": {
  4182. "description": "Internal Server Error",
  4183. "schema": {
  4184. "$ref": "#/definitions/app.Response"
  4185. }
  4186. }
  4187. }
  4188. }
  4189. }
  4190. },
  4191. "definitions": {
  4192. "app.Response": {
  4193. "type": "object",
  4194. "properties": {
  4195. "code": {
  4196. "type": "integer"
  4197. },
  4198. "data": {
  4199. "type": "object"
  4200. },
  4201. "msg": {
  4202. "type": "string"
  4203. },
  4204. "page": {
  4205. "description": "页码",
  4206. "type": "integer"
  4207. },
  4208. "pagesize": {
  4209. "description": "每页条数",
  4210. "type": "integer"
  4211. },
  4212. "total": {
  4213. "description": "总条数",
  4214. "type": "integer"
  4215. }
  4216. }
  4217. },
  4218. "common.QueryNoticeRsp": {
  4219. "type": "object",
  4220. "required": [
  4221. "autoid"
  4222. ],
  4223. "properties": {
  4224. "auditoruserid": {
  4225. "description": "审核人",
  4226. "type": "integer"
  4227. },
  4228. "auditremark": {
  4229. "description": "审核备注",
  4230. "type": "string"
  4231. },
  4232. "audittime": {
  4233. "description": "审核日期",
  4234. "type": "string"
  4235. },
  4236. "autoid": {
  4237. "description": "自增ID",
  4238. "type": "integer"
  4239. },
  4240. "content": {
  4241. "description": "内容",
  4242. "type": "string"
  4243. },
  4244. "createtime": {
  4245. "description": "创建时间",
  4246. "type": "string"
  4247. },
  4248. "creatorid": {
  4249. "description": "建仓人",
  4250. "type": "integer"
  4251. },
  4252. "endtime": {
  4253. "description": "结束时间",
  4254. "type": "string"
  4255. },
  4256. "istop": {
  4257. "description": "是否置顶 - 0:不置顶 1:置顶",
  4258. "type": "integer"
  4259. },
  4260. "msgiconurl": {
  4261. "description": "消息图标Url",
  4262. "type": "string"
  4263. },
  4264. "msgtype": {
  4265. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4266. "type": "integer"
  4267. },
  4268. "publisher": {
  4269. "description": "消息发布者",
  4270. "type": "string"
  4271. },
  4272. "readed": {
  4273. "description": "是否已读",
  4274. "type": "boolean"
  4275. },
  4276. "scheduletime": {
  4277. "description": "计划发送时间",
  4278. "type": "string"
  4279. },
  4280. "sendtype": {
  4281. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4282. "type": "integer"
  4283. },
  4284. "sentstatus": {
  4285. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4286. "type": "integer"
  4287. },
  4288. "title": {
  4289. "description": "标题",
  4290. "type": "string"
  4291. },
  4292. "userid": {
  4293. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4294. "type": "integer"
  4295. }
  4296. }
  4297. },
  4298. "common.QueryProvincesAndCitiesRsp": {
  4299. "type": "object",
  4300. "properties": {
  4301. "cities": {
  4302. "description": "市",
  4303. "type": "array",
  4304. "items": {
  4305. "$ref": "#/definitions/models.Division"
  4306. }
  4307. },
  4308. "province": {
  4309. "description": "省",
  4310. "type": "object",
  4311. "$ref": "#/definitions/models.Division"
  4312. }
  4313. }
  4314. },
  4315. "common.QueryTableDefineRsp": {
  4316. "type": "object",
  4317. "required": [
  4318. "tablekey"
  4319. ],
  4320. "properties": {
  4321. "columns": {
  4322. "description": "列头信息数组",
  4323. "type": "array",
  4324. "items": {
  4325. "$ref": "#/definitions/models.Tablecolumnconfig"
  4326. }
  4327. },
  4328. "remark": {
  4329. "description": "Remark",
  4330. "type": "string"
  4331. },
  4332. "tabelmenu": {
  4333. "description": "列表菜单",
  4334. "type": "string"
  4335. },
  4336. "tablekey": {
  4337. "description": "列表Key",
  4338. "type": "string"
  4339. },
  4340. "tablename": {
  4341. "description": "列表名称",
  4342. "type": "string"
  4343. },
  4344. "tabletype": {
  4345. "description": "列表类型 - 1:管理端 2:终端",
  4346. "type": "integer"
  4347. }
  4348. }
  4349. },
  4350. "common.QueryTraderMenuRsp": {
  4351. "type": "object",
  4352. "properties": {
  4353. "OperationMenu": {
  4354. "description": "功能菜单",
  4355. "type": "array",
  4356. "items": {
  4357. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4358. }
  4359. },
  4360. "QuoteMenu": {
  4361. "description": "报价牌分类菜单",
  4362. "type": "array",
  4363. "items": {
  4364. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "cptrade.Cptradepositioncancel": {
  4370. "type": "object",
  4371. "required": [
  4372. "cancelid"
  4373. ],
  4374. "properties": {
  4375. "accountid": {
  4376. "description": "申请人账户ID",
  4377. "type": "integer"
  4378. },
  4379. "applystatus": {
  4380. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4381. "type": "integer"
  4382. },
  4383. "applytime": {
  4384. "description": "申请时间",
  4385. "type": "string"
  4386. },
  4387. "cancelid": {
  4388. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4389. "type": "integer"
  4390. },
  4391. "cancelqty": {
  4392. "description": "注销数量",
  4393. "type": "integer"
  4394. },
  4395. "createtime": {
  4396. "description": "创建时间",
  4397. "type": "string"
  4398. },
  4399. "creatorid": {
  4400. "description": "创建人ID",
  4401. "type": "integer"
  4402. },
  4403. "creatorname": {
  4404. "description": "创建人",
  4405. "type": "string"
  4406. },
  4407. "goodscode": {
  4408. "description": "订单商品代码",
  4409. "type": "string"
  4410. },
  4411. "goodsid": {
  4412. "description": "商品ID",
  4413. "type": "integer"
  4414. },
  4415. "goodsname": {
  4416. "description": "订单商品名称",
  4417. "type": "string"
  4418. },
  4419. "goodunit": {
  4420. "description": "报价单位",
  4421. "type": "string"
  4422. },
  4423. "handlestatus": {
  4424. "description": "处理状态",
  4425. "type": "integer"
  4426. },
  4427. "marketid": {
  4428. "description": "市场ID",
  4429. "type": "integer"
  4430. },
  4431. "marketname": {
  4432. "description": "市场名称",
  4433. "type": "string"
  4434. },
  4435. "tradedate": {
  4436. "description": "交易日(yyyyMMdd)",
  4437. "type": "string"
  4438. },
  4439. "userid": {
  4440. "description": "申请人ID",
  4441. "type": "integer"
  4442. }
  4443. }
  4444. },
  4445. "cptrade.Cptradepresaleapply": {
  4446. "type": "object",
  4447. "required": [
  4448. "applyid"
  4449. ],
  4450. "properties": {
  4451. "accountid": {
  4452. "description": "申请人账户ID",
  4453. "type": "integer"
  4454. },
  4455. "applyid": {
  4456. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4457. "type": "integer"
  4458. },
  4459. "applyremark": {
  4460. "description": "申请备注",
  4461. "type": "string"
  4462. },
  4463. "applystatus": {
  4464. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4465. "type": "integer"
  4466. },
  4467. "applytime": {
  4468. "description": "申请时间",
  4469. "type": "string"
  4470. },
  4471. "attachmenturl": {
  4472. "description": "附件地址",
  4473. "type": "string"
  4474. },
  4475. "endtime": {
  4476. "description": "预售结束时间",
  4477. "type": "string"
  4478. },
  4479. "goodscode": {
  4480. "description": "商品代码",
  4481. "type": "string"
  4482. },
  4483. "goodsid": {
  4484. "description": "商品ID",
  4485. "type": "integer"
  4486. },
  4487. "goodsname": {
  4488. "description": "商品名称",
  4489. "type": "string"
  4490. },
  4491. "goodunit": {
  4492. "description": "报价单位",
  4493. "type": "string"
  4494. },
  4495. "handlestatus": {
  4496. "description": "处理状态",
  4497. "type": "integer"
  4498. },
  4499. "marketid": {
  4500. "description": "预售市场ID",
  4501. "type": "integer"
  4502. },
  4503. "marketname": {
  4504. "description": "预售市场名称",
  4505. "type": "string"
  4506. },
  4507. "presaleqty": {
  4508. "description": "预售数量",
  4509. "type": "integer"
  4510. },
  4511. "relatedgoodscode": {
  4512. "description": "关联交易合约代码",
  4513. "type": "string"
  4514. },
  4515. "relatedgoodsid": {
  4516. "description": "关联交易合约ID",
  4517. "type": "integer"
  4518. },
  4519. "relatedgoodsname": {
  4520. "description": "关联交易合约名称",
  4521. "type": "string"
  4522. },
  4523. "starttime": {
  4524. "description": "预售开始时间",
  4525. "type": "string"
  4526. },
  4527. "tradedate": {
  4528. "description": "交易日(yyyyMMdd)",
  4529. "type": "string"
  4530. },
  4531. "trademode": {
  4532. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4533. "type": "integer"
  4534. },
  4535. "userid": {
  4536. "description": "申请人ID",
  4537. "type": "integer"
  4538. }
  4539. }
  4540. },
  4541. "cptrade.Cptradeusergoodsdata": {
  4542. "type": "object",
  4543. "required": [
  4544. "accountid",
  4545. "goodsid"
  4546. ],
  4547. "properties": {
  4548. "EnabledQty": {
  4549. "description": "可用量",
  4550. "type": "integer"
  4551. },
  4552. "GoodsCode": {
  4553. "description": "订单商品代码",
  4554. "type": "string"
  4555. },
  4556. "GoodsName": {
  4557. "description": "订单商品名称",
  4558. "type": "string"
  4559. },
  4560. "WRStandardCode": {
  4561. "description": "仓单标准代码",
  4562. "type": "string"
  4563. },
  4564. "WRStandardName": {
  4565. "description": "仓单标准名称",
  4566. "type": "string"
  4567. },
  4568. "accountid": {
  4569. "description": "账户ID",
  4570. "type": "integer"
  4571. },
  4572. "cancelqty": {
  4573. "description": "注销量",
  4574. "type": "integer"
  4575. },
  4576. "curpresaleqty": {
  4577. "description": "当前预售量",
  4578. "type": "integer"
  4579. },
  4580. "deliveryqty": {
  4581. "description": "交割量",
  4582. "type": "integer"
  4583. },
  4584. "freezeamount": {
  4585. "description": "冻结金额",
  4586. "type": "number"
  4587. },
  4588. "goodsid": {
  4589. "description": "商品ID",
  4590. "type": "integer"
  4591. },
  4592. "goodunit": {
  4593. "description": "报价单位",
  4594. "type": "string"
  4595. },
  4596. "hasspotfreeze": {
  4597. "description": "是否有现货冻结 - 0:否 1:有",
  4598. "type": "integer"
  4599. },
  4600. "inqty": {
  4601. "description": "转入量(总数量)",
  4602. "type": "integer"
  4603. },
  4604. "marketid": {
  4605. "description": "市场ID",
  4606. "type": "integer"
  4607. },
  4608. "presaledamount": {
  4609. "description": "已预售总金额",
  4610. "type": "integer"
  4611. },
  4612. "presaledqty": {
  4613. "description": "已预售量",
  4614. "type": "integer"
  4615. },
  4616. "userid": {
  4617. "description": "用户ID",
  4618. "type": "integer"
  4619. },
  4620. "wrstandardid": {
  4621. "description": "仓单标准ID",
  4622. "type": "integer"
  4623. }
  4624. }
  4625. },
  4626. "cptrade.QueryCPTradeMyBidRsp": {
  4627. "type": "object",
  4628. "required": [
  4629. "accountid",
  4630. "goodsid",
  4631. "marketid",
  4632. "orderid",
  4633. "orderqty",
  4634. "ordertime",
  4635. "tradeprice",
  4636. "tradeqty"
  4637. ],
  4638. "properties": {
  4639. "accountid": {
  4640. "description": "账户ID[报价币种]",
  4641. "type": "integer"
  4642. },
  4643. "goodsid": {
  4644. "description": "商品ID",
  4645. "type": "integer"
  4646. },
  4647. "goodunit": {
  4648. "description": "报价单位",
  4649. "type": "string"
  4650. },
  4651. "marketid": {
  4652. "description": "市场ID",
  4653. "type": "integer"
  4654. },
  4655. "orderid": {
  4656. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4657. "type": "integer"
  4658. },
  4659. "orderprice": {
  4660. "description": "委托价格",
  4661. "type": "number"
  4662. },
  4663. "orderqty": {
  4664. "description": "委托数量",
  4665. "type": "integer"
  4666. },
  4667. "ordertime": {
  4668. "description": "委托时间",
  4669. "type": "string"
  4670. },
  4671. "ordertotalprice": {
  4672. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4673. "type": "number"
  4674. },
  4675. "ordertotalweight": {
  4676. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4677. "type": "integer"
  4678. },
  4679. "totaltotalprice": {
  4680. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4681. "type": "number"
  4682. },
  4683. "tradeprice": {
  4684. "description": "成交价格",
  4685. "type": "number"
  4686. },
  4687. "tradeqty": {
  4688. "description": "成交数量",
  4689. "type": "integer"
  4690. }
  4691. }
  4692. },
  4693. "cptrade.QueryCPTradeOrderDetailRsq": {
  4694. "type": "object",
  4695. "required": [
  4696. "accountid",
  4697. "buildtype",
  4698. "buyorsell",
  4699. "goodsid",
  4700. "marketid",
  4701. "memberuserid",
  4702. "operatetype",
  4703. "orderqty",
  4704. "ordertime",
  4705. "pricemode",
  4706. "strorderid",
  4707. "tradedate",
  4708. "validtype"
  4709. ],
  4710. "properties": {
  4711. "accountid": {
  4712. "description": "账户ID[报价币种]",
  4713. "type": "integer"
  4714. },
  4715. "buildtype": {
  4716. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4717. "type": "integer"
  4718. },
  4719. "buyorsell": {
  4720. "description": "买卖 - 0:买 1:卖",
  4721. "type": "integer"
  4722. },
  4723. "cancelorderid": {
  4724. "description": "撤单单号(撤单时填写)",
  4725. "type": "integer"
  4726. },
  4727. "cancelqty": {
  4728. "description": "撤单数量",
  4729. "type": "integer"
  4730. },
  4731. "clientordertime": {
  4732. "description": "客户端委托时间",
  4733. "type": "string"
  4734. },
  4735. "clientticket": {
  4736. "description": "客户端流水号",
  4737. "type": "string"
  4738. },
  4739. "clienttype": {
  4740. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4741. "type": "integer"
  4742. },
  4743. "closeexchagechargevalue": {
  4744. "description": "平仓交易所手续费设置值",
  4745. "type": "number"
  4746. },
  4747. "closefeealgorithm": {
  4748. "description": "平仓手续费收取方式 1:比率 2:固定",
  4749. "type": "integer"
  4750. },
  4751. "closefreezecharge": {
  4752. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4753. "type": "number"
  4754. },
  4755. "closememberchargevalue": {
  4756. "description": "平仓会员手续费设置值",
  4757. "type": "number"
  4758. },
  4759. "closeqty": {
  4760. "description": "平仓数量(先建后平操作 需要记录)",
  4761. "type": "integer"
  4762. },
  4763. "closetradeqty": {
  4764. "description": "平仓成交数量(先建后平操作,需要记录)",
  4765. "type": "integer"
  4766. },
  4767. "closeunfreezecharge": {
  4768. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4769. "type": "number"
  4770. },
  4771. "delistingtype": {
  4772. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4773. "type": "integer"
  4774. },
  4775. "freezecharge": {
  4776. "description": "冻结手续费",
  4777. "type": "number"
  4778. },
  4779. "freezemargin": {
  4780. "description": "冻结保证金(冻结交易金额)",
  4781. "type": "number"
  4782. },
  4783. "gcaccountid": {
  4784. "description": "账户ID[合约币种]",
  4785. "type": "integer"
  4786. },
  4787. "goodsid": {
  4788. "description": "商品ID",
  4789. "type": "integer"
  4790. },
  4791. "isconfirmexercise": {
  4792. "description": "是否确认行权- 0:否 1:是",
  4793. "type": "integer"
  4794. },
  4795. "ispreexercise": {
  4796. "description": "是否预申报- 0:否 1:是",
  4797. "type": "integer"
  4798. },
  4799. "listingselecttype": {
  4800. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4801. "type": "integer"
  4802. },
  4803. "marginalgorithm": {
  4804. "description": "保证金收取方式 1:比率 2:固定",
  4805. "type": "integer"
  4806. },
  4807. "marginvalue": {
  4808. "description": "即市保证金设置值",
  4809. "type": "number"
  4810. },
  4811. "marketid": {
  4812. "description": "市场ID",
  4813. "type": "integer"
  4814. },
  4815. "marketmaxsub": {
  4816. "description": "市价最大偏移范围",
  4817. "type": "number"
  4818. },
  4819. "memberuserid": {
  4820. "description": "所属会员UserID",
  4821. "type": "integer"
  4822. },
  4823. "openexchagechargevalue": {
  4824. "description": "建仓交易所手续费设置值",
  4825. "type": "number"
  4826. },
  4827. "openfeealgorithm": {
  4828. "description": "建仓手续费收取方式 1:比率 2:固定",
  4829. "type": "integer"
  4830. },
  4831. "openfreezecharge": {
  4832. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4833. "type": "number"
  4834. },
  4835. "openmemberchargevalue": {
  4836. "description": "建仓会员手续费设置值",
  4837. "type": "number"
  4838. },
  4839. "openqty": {
  4840. "description": "开仓数量(先建后平操作,需要记录)",
  4841. "type": "integer"
  4842. },
  4843. "opentradeqty": {
  4844. "description": "开仓成交数量(先建后平操作,需要记录)",
  4845. "type": "integer"
  4846. },
  4847. "openunfreezecharge": {
  4848. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4849. "type": "number"
  4850. },
  4851. "operatetype": {
  4852. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4853. "type": "integer"
  4854. },
  4855. "operatorid": {
  4856. "description": "登录账号(LoginID)",
  4857. "type": "integer"
  4858. },
  4859. "optiontype": {
  4860. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4861. "type": "integer"
  4862. },
  4863. "orderprice": {
  4864. "description": "委托价格",
  4865. "type": "number"
  4866. },
  4867. "orderqty": {
  4868. "description": "委托数量",
  4869. "type": "integer"
  4870. },
  4871. "ordersrc": {
  4872. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4873. "type": "integer"
  4874. },
  4875. "orderstatus": {
  4876. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4877. "type": "integer"
  4878. },
  4879. "ordertime": {
  4880. "description": "委托时间",
  4881. "type": "string"
  4882. },
  4883. "preexerciseprice": {
  4884. "description": "预申报价格",
  4885. "type": "number"
  4886. },
  4887. "premium": {
  4888. "description": "权利金",
  4889. "type": "number"
  4890. },
  4891. "preorderid": {
  4892. "description": "关联预埋单号(止盈止损单时填写)",
  4893. "type": "integer"
  4894. },
  4895. "pricemode": {
  4896. "description": "取价方式 - 1:市价 2: 限价",
  4897. "type": "integer"
  4898. },
  4899. "quoteid": {
  4900. "description": "报价单ID",
  4901. "type": "integer"
  4902. },
  4903. "relatedid": {
  4904. "description": "关联单号(交割单)",
  4905. "type": "integer"
  4906. },
  4907. "retcode": {
  4908. "description": "错误代码",
  4909. "type": "integer"
  4910. },
  4911. "sessionid": {
  4912. "description": "会话ID",
  4913. "type": "integer"
  4914. },
  4915. "strorderid": {
  4916. "description": "委托单号",
  4917. "type": "string"
  4918. },
  4919. "tradedate": {
  4920. "description": "交易日(yyyyMMdd)",
  4921. "type": "string"
  4922. },
  4923. "tradeproperty": {
  4924. "description": "交易属性",
  4925. "type": "integer"
  4926. },
  4927. "tradeqty": {
  4928. "description": "成交数量",
  4929. "type": "integer"
  4930. },
  4931. "unfreezecharge": {
  4932. "description": "解冻手续费",
  4933. "type": "number"
  4934. },
  4935. "unfreezemargin": {
  4936. "description": "解冻保证金",
  4937. "type": "number"
  4938. },
  4939. "updatetime": {
  4940. "description": "更新时间",
  4941. "type": "string"
  4942. },
  4943. "uuid": {
  4944. "description": "发起端唯一id",
  4945. "type": "string"
  4946. },
  4947. "validtime": {
  4948. "description": "有效期限",
  4949. "type": "string"
  4950. },
  4951. "validtype": {
  4952. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4953. "type": "integer"
  4954. },
  4955. "volumetype": {
  4956. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4957. "type": "integer"
  4958. }
  4959. }
  4960. },
  4961. "cptrade.QueryMyCPTradeGoodsRsp": {
  4962. "type": "object",
  4963. "required": [
  4964. "goodscode",
  4965. "goodsid",
  4966. "goodsname",
  4967. "marketid",
  4968. "relatedgoodscode",
  4969. "relatedgoodsname"
  4970. ],
  4971. "properties": {
  4972. "accountid": {
  4973. "description": "卖方账户ID",
  4974. "type": "integer"
  4975. },
  4976. "agreeunit": {
  4977. "description": "合约单位",
  4978. "type": "number"
  4979. },
  4980. "applyid": {
  4981. "description": "关联申请ID",
  4982. "type": "integer"
  4983. },
  4984. "attachmenturl": {
  4985. "description": "附件地址",
  4986. "type": "string"
  4987. },
  4988. "createtime": {
  4989. "description": "创建时间",
  4990. "type": "string"
  4991. },
  4992. "currencyid": {
  4993. "description": "报价货币ID",
  4994. "type": "integer"
  4995. },
  4996. "decimalplace": {
  4997. "description": "报价小数位",
  4998. "type": "integer"
  4999. },
  5000. "endtime": {
  5001. "description": "预售结束时间",
  5002. "type": "string"
  5003. },
  5004. "floorprice": {
  5005. "description": "底价[大宗式竞拍]",
  5006. "type": "number"
  5007. },
  5008. "goodscode": {
  5009. "description": "商品代码(预售)",
  5010. "type": "string"
  5011. },
  5012. "goodsdetail": {
  5013. "description": "详情[大宗]",
  5014. "type": "string"
  5015. },
  5016. "goodsid": {
  5017. "description": "商品ID(自增ID SEQ_GOODS)",
  5018. "type": "integer"
  5019. },
  5020. "goodsname": {
  5021. "description": "商品名称(预售)",
  5022. "type": "string"
  5023. },
  5024. "goodunit": {
  5025. "description": "报价单位",
  5026. "type": "string"
  5027. },
  5028. "goodunitid": {
  5029. "description": "报价单位ID",
  5030. "type": "integer"
  5031. },
  5032. "marketid": {
  5033. "description": "所属市场ID",
  5034. "type": "integer"
  5035. },
  5036. "marketname": {
  5037. "description": "预售市场名称",
  5038. "type": "string"
  5039. },
  5040. "presaledamount": {
  5041. "description": "已预售总金额(预售结束时更新)",
  5042. "type": "number"
  5043. },
  5044. "presaledqty": {
  5045. "description": "已预售量(预售结束时更新)",
  5046. "type": "integer"
  5047. },
  5048. "presalemode": {
  5049. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5050. "type": "integer"
  5051. },
  5052. "presaleqty": {
  5053. "description": "预售数量",
  5054. "type": "integer"
  5055. },
  5056. "refprice": {
  5057. "description": "参考价格[一口价]",
  5058. "type": "number"
  5059. },
  5060. "relatedgoodscode": {
  5061. "description": "商品代码(订单)",
  5062. "type": "string"
  5063. },
  5064. "relatedgoodsid": {
  5065. "description": "关联交易合约ID",
  5066. "type": "integer"
  5067. },
  5068. "relatedgoodsname": {
  5069. "description": "商品名称(订单)",
  5070. "type": "string"
  5071. },
  5072. "relatedmarketid": {
  5073. "description": "关联交易合约市场ID",
  5074. "type": "integer"
  5075. },
  5076. "sellstatus": {
  5077. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5078. "type": "integer"
  5079. },
  5080. "startprice": {
  5081. "description": "起拍价[大宗式竞拍]",
  5082. "type": "number"
  5083. },
  5084. "starttime": {
  5085. "description": "预售开始时间",
  5086. "type": "string"
  5087. },
  5088. "tradedate": {
  5089. "description": "交易日(yyyyMMdd)",
  5090. "type": "string"
  5091. },
  5092. "tradeprice": {
  5093. "description": "成交价[大宗]",
  5094. "type": "number"
  5095. },
  5096. "userid": {
  5097. "description": "卖方用户ID",
  5098. "type": "integer"
  5099. }
  5100. }
  5101. },
  5102. "cptrade.QueryPresaleGoodsExRsp": {
  5103. "type": "object",
  5104. "required": [
  5105. "goodsid"
  5106. ],
  5107. "properties": {
  5108. "attachmenturl": {
  5109. "description": "附件地址",
  5110. "type": "string"
  5111. },
  5112. "createtime": {
  5113. "description": "创建时间",
  5114. "type": "string"
  5115. },
  5116. "endtime": {
  5117. "description": "预售结束时间",
  5118. "type": "string"
  5119. },
  5120. "floorprice": {
  5121. "description": "底价[大宗式竞拍]",
  5122. "type": "number"
  5123. },
  5124. "goodsdetail": {
  5125. "description": "详情[大宗]",
  5126. "type": "string"
  5127. },
  5128. "goodsid": {
  5129. "description": "商品ID(预售)",
  5130. "type": "integer"
  5131. },
  5132. "goodunit": {
  5133. "description": "报价单位",
  5134. "type": "string"
  5135. },
  5136. "marketid": {
  5137. "description": "预售市场ID - 根据预售模式选择市场",
  5138. "type": "integer"
  5139. },
  5140. "presaledamount": {
  5141. "description": "已预售总金额(预售结束时更新)",
  5142. "type": "number"
  5143. },
  5144. "presaledqty": {
  5145. "description": "已预售量(预售结束时更新)",
  5146. "type": "integer"
  5147. },
  5148. "presalemode": {
  5149. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5150. "type": "integer"
  5151. },
  5152. "presaleqty": {
  5153. "description": "预售数量",
  5154. "type": "integer"
  5155. },
  5156. "refprice": {
  5157. "description": "参考价格[一口价]",
  5158. "type": "number"
  5159. },
  5160. "relatedgoodsid": {
  5161. "description": "关联交易合约ID",
  5162. "type": "integer"
  5163. },
  5164. "relatedmarketid": {
  5165. "description": "关联交易合约市场ID",
  5166. "type": "integer"
  5167. },
  5168. "sellstatus": {
  5169. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5170. "type": "integer"
  5171. },
  5172. "startprice": {
  5173. "description": "起拍价[大宗式竞拍]",
  5174. "type": "number"
  5175. },
  5176. "starttime": {
  5177. "description": "预售开始时间",
  5178. "type": "string"
  5179. },
  5180. "tradedate": {
  5181. "description": "交易日(yyyyMMdd)",
  5182. "type": "string"
  5183. },
  5184. "tradeprice": {
  5185. "description": "成交价[大宗]",
  5186. "type": "number"
  5187. }
  5188. }
  5189. },
  5190. "delivery.QueryDeliveryRelationRsp": {
  5191. "type": "object",
  5192. "required": [
  5193. "begindate",
  5194. "enddate",
  5195. "goodsid",
  5196. "mindeliveryqty",
  5197. "xdeliveryratio"
  5198. ],
  5199. "properties": {
  5200. "begindate": {
  5201. "description": "起始日期(yyyyMMdd)",
  5202. "type": "string"
  5203. },
  5204. "buytemplateid": {
  5205. "description": "买履约计划模板ID",
  5206. "type": "integer"
  5207. },
  5208. "deliverygoodscode": {
  5209. "description": "品种代码",
  5210. "type": "string"
  5211. },
  5212. "deliverygoodsid": {
  5213. "description": "交割商品",
  5214. "type": "integer"
  5215. },
  5216. "deliverygoodsname": {
  5217. "description": "品种名称",
  5218. "type": "string"
  5219. },
  5220. "deliverymode": {
  5221. "description": "交割方式 - 1:点选式 2:申报式",
  5222. "type": "integer"
  5223. },
  5224. "deliverypricerule": {
  5225. "description": "交割价规则- 1:行情价 2:建仓价",
  5226. "type": "integer"
  5227. },
  5228. "deliverytype": {
  5229. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5230. "type": "integer"
  5231. },
  5232. "enddate": {
  5233. "description": "结束日期(yyyyMMdd)",
  5234. "type": "string"
  5235. },
  5236. "goodscode": {
  5237. "description": "商品代码",
  5238. "type": "string"
  5239. },
  5240. "goodsid": {
  5241. "description": "交易合约ID",
  5242. "type": "integer"
  5243. },
  5244. "goodsname": {
  5245. "description": "商品名称",
  5246. "type": "string"
  5247. },
  5248. "marketid": {
  5249. "description": "市场ID",
  5250. "type": "integer"
  5251. },
  5252. "mindeliveryqty": {
  5253. "description": "最小交割系数(K)",
  5254. "type": "integer"
  5255. },
  5256. "p2deliveryprice": {
  5257. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5258. "type": "number"
  5259. },
  5260. "p2deliveryratio": {
  5261. "description": "P2合约系数(p)",
  5262. "type": "integer"
  5263. },
  5264. "p2goodsid": {
  5265. "description": "P2合约ID",
  5266. "type": "integer"
  5267. },
  5268. "p2pricemode": {
  5269. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5270. "type": "integer"
  5271. },
  5272. "pdeliveryprice": {
  5273. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5274. "type": "number"
  5275. },
  5276. "pdeliveryratio": {
  5277. "description": "P合约系数(n)",
  5278. "type": "integer"
  5279. },
  5280. "pgoodsid": {
  5281. "description": "P合约ID",
  5282. "type": "integer"
  5283. },
  5284. "ppricemode": {
  5285. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5286. "type": "integer"
  5287. },
  5288. "rratio": {
  5289. "description": "兑换系数(R)",
  5290. "type": "integer"
  5291. },
  5292. "rratio1": {
  5293. "description": "兑换系数(交易合约)(R1)",
  5294. "type": "integer"
  5295. },
  5296. "rratio2": {
  5297. "description": "兑换系数(仓单标准)(R2)",
  5298. "type": "integer"
  5299. },
  5300. "selltemplateid": {
  5301. "description": "卖履约计划模板ID",
  5302. "type": "integer"
  5303. },
  5304. "wrstandardid": {
  5305. "description": "仓单标准ID",
  5306. "type": "integer"
  5307. },
  5308. "xdeliveryratio": {
  5309. "description": "交易合约系数(m)",
  5310. "type": "integer"
  5311. }
  5312. }
  5313. },
  5314. "ermcp.QryBusinessDjRsp": {
  5315. "type": "object",
  5316. "properties": {
  5317. "applyid": {
  5318. "description": "申请人",
  5319. "type": "string"
  5320. },
  5321. "applyname": {
  5322. "description": "申请人名称",
  5323. "type": "string"
  5324. },
  5325. "applystatus": {
  5326. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5327. "type": "integer"
  5328. },
  5329. "applytime": {
  5330. "description": "申请时间",
  5331. "type": "string"
  5332. },
  5333. "auditname": {
  5334. "description": "审核人名称",
  5335. "type": "string"
  5336. },
  5337. "audittime": {
  5338. "description": "审核时间",
  5339. "type": "string"
  5340. },
  5341. "buyusername": {
  5342. "description": "采购方名称",
  5343. "type": "string"
  5344. },
  5345. "contractno": {
  5346. "description": "合同编号",
  5347. "type": "string"
  5348. },
  5349. "contracttype": {
  5350. "description": "现货合同类型 - 1:采购 -1:销售",
  5351. "type": "integer"
  5352. },
  5353. "enumdicname": {
  5354. "description": "单位名称",
  5355. "type": "string"
  5356. },
  5357. "goodscode": {
  5358. "description": "点价合约",
  5359. "type": "string"
  5360. },
  5361. "goodsname": {
  5362. "description": "商品名称",
  5363. "type": "string"
  5364. },
  5365. "operateapplyid": {
  5366. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5367. "type": "string"
  5368. },
  5369. "operateapplytype": {
  5370. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5371. "type": "integer"
  5372. },
  5373. "pricedPrice": {
  5374. "description": "点价价格(非必填)",
  5375. "type": "number"
  5376. },
  5377. "pricedQty": {
  5378. "description": "点价数量(非必填)",
  5379. "type": "number"
  5380. },
  5381. "pricemove": {
  5382. "description": "升贴水",
  5383. "type": "number"
  5384. },
  5385. "pricetype": {
  5386. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5387. "type": "integer"
  5388. },
  5389. "relatedid": {
  5390. "description": "现货合同ID",
  5391. "type": "string"
  5392. },
  5393. "sellusername": {
  5394. "description": "销售方名字",
  5395. "type": "string"
  5396. }
  5397. }
  5398. },
  5399. "ermcp.QryBussinessFpRsp": {
  5400. "type": "object",
  5401. "properties": {
  5402. "applyid": {
  5403. "description": "申请人",
  5404. "type": "string"
  5405. },
  5406. "applyname": {
  5407. "description": "申请人名称",
  5408. "type": "string"
  5409. },
  5410. "applystatus": {
  5411. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5412. "type": "integer"
  5413. },
  5414. "applytime": {
  5415. "description": "申请时间",
  5416. "type": "string"
  5417. },
  5418. "auditname": {
  5419. "description": "审核人名称",
  5420. "type": "string"
  5421. },
  5422. "audittime": {
  5423. "description": "审核时间",
  5424. "type": "string"
  5425. },
  5426. "buyusername": {
  5427. "description": "采购方名称",
  5428. "type": "string"
  5429. },
  5430. "contractno": {
  5431. "description": "合同编号",
  5432. "type": "string"
  5433. },
  5434. "contracttype": {
  5435. "description": "现货合同类型 - 1:采购 -1:销售",
  5436. "type": "integer"
  5437. },
  5438. "enumdicname": {
  5439. "description": "单位名称",
  5440. "type": "string"
  5441. },
  5442. "goodscode": {
  5443. "description": "点价合约",
  5444. "type": "string"
  5445. },
  5446. "goodsname": {
  5447. "description": "商品名称",
  5448. "type": "string"
  5449. },
  5450. "invoiceAmount": {
  5451. "description": "已开收票金额(销售为开票,采购为收票)",
  5452. "type": "number"
  5453. },
  5454. "operateapplyid": {
  5455. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5456. "type": "string"
  5457. },
  5458. "operateapplytype": {
  5459. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5460. "type": "integer"
  5461. },
  5462. "pricemove": {
  5463. "description": "升贴水",
  5464. "type": "number"
  5465. },
  5466. "pricetype": {
  5467. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5468. "type": "integer"
  5469. },
  5470. "relatedid": {
  5471. "description": "现货合同ID",
  5472. "type": "string"
  5473. },
  5474. "sellusername": {
  5475. "description": "销售方名字",
  5476. "type": "string"
  5477. }
  5478. }
  5479. },
  5480. "ermcp.QryBussinessJsRsp": {
  5481. "type": "object",
  5482. "properties": {
  5483. "addmargin": {
  5484. "description": "追加保证金(非必填)",
  5485. "type": "number"
  5486. },
  5487. "applyid": {
  5488. "description": "申请人",
  5489. "type": "string"
  5490. },
  5491. "applyname": {
  5492. "description": "申请人名称",
  5493. "type": "string"
  5494. },
  5495. "applystatus": {
  5496. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5497. "type": "integer"
  5498. },
  5499. "applytime": {
  5500. "description": "申请时间",
  5501. "type": "string"
  5502. },
  5503. "auditname": {
  5504. "description": "审核人名称",
  5505. "type": "string"
  5506. },
  5507. "audittime": {
  5508. "description": "审核时间",
  5509. "type": "string"
  5510. },
  5511. "buyusername": {
  5512. "description": "采购方名称",
  5513. "type": "string"
  5514. },
  5515. "contractno": {
  5516. "description": "合同编号",
  5517. "type": "string"
  5518. },
  5519. "contracttype": {
  5520. "description": "现货合同类型 - 1:采购 -1:销售",
  5521. "type": "integer"
  5522. },
  5523. "decmargin": {
  5524. "description": "减少保证金(非必填)",
  5525. "type": "number"
  5526. },
  5527. "enumdicname": {
  5528. "description": "单位名称",
  5529. "type": "string"
  5530. },
  5531. "goodscode": {
  5532. "description": "点价合约",
  5533. "type": "string"
  5534. },
  5535. "goodsname": {
  5536. "description": "商品名称",
  5537. "type": "string"
  5538. },
  5539. "operateapplyid": {
  5540. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5541. "type": "string"
  5542. },
  5543. "operateapplytype": {
  5544. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5545. "type": "integer"
  5546. },
  5547. "pricemove": {
  5548. "description": "升贴水",
  5549. "type": "number"
  5550. },
  5551. "pricetype": {
  5552. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5553. "type": "integer"
  5554. },
  5555. "reckonadjustamount": {
  5556. "description": "结算调整金额(非必填)",
  5557. "type": "number"
  5558. },
  5559. "reckonosamount": {
  5560. "description": "结算溢短金额(非必填)",
  5561. "type": "number"
  5562. },
  5563. "reckonotheramount": {
  5564. "description": "结算其他费用(非必填)",
  5565. "type": "number"
  5566. },
  5567. "reckonrealqty": {
  5568. "description": "结算实际数量(非必填)",
  5569. "type": "number"
  5570. },
  5571. "relatedid": {
  5572. "description": "现货合同ID",
  5573. "type": "string"
  5574. },
  5575. "sellusername": {
  5576. "description": "销售方名字",
  5577. "type": "string"
  5578. }
  5579. }
  5580. },
  5581. "ermcp.QryBussinessKxRsp": {
  5582. "type": "object",
  5583. "properties": {
  5584. "applyid": {
  5585. "description": "申请人",
  5586. "type": "string"
  5587. },
  5588. "applyname": {
  5589. "description": "申请人名称",
  5590. "type": "string"
  5591. },
  5592. "applystatus": {
  5593. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5594. "type": "integer"
  5595. },
  5596. "applytime": {
  5597. "description": "申请时间",
  5598. "type": "string"
  5599. },
  5600. "auditname": {
  5601. "description": "审核人名称",
  5602. "type": "string"
  5603. },
  5604. "audittime": {
  5605. "description": "审核时间",
  5606. "type": "string"
  5607. },
  5608. "buyusername": {
  5609. "description": "采购方名称",
  5610. "type": "string"
  5611. },
  5612. "contractno": {
  5613. "description": "合同编号",
  5614. "type": "string"
  5615. },
  5616. "contracttype": {
  5617. "description": "现货合同类型 - 1:采购 -1:销售",
  5618. "type": "integer"
  5619. },
  5620. "deductamount": {
  5621. "description": "退款(非必填)",
  5622. "type": "number"
  5623. },
  5624. "enumdicname": {
  5625. "description": "单位名称",
  5626. "type": "string"
  5627. },
  5628. "goodscode": {
  5629. "description": "点价合约",
  5630. "type": "string"
  5631. },
  5632. "goodsname": {
  5633. "description": "商品名称",
  5634. "type": "string"
  5635. },
  5636. "operateapplyid": {
  5637. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5638. "type": "string"
  5639. },
  5640. "operateapplytype": {
  5641. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5642. "type": "integer"
  5643. },
  5644. "payamount": {
  5645. "description": "收付款(非必填)",
  5646. "type": "number"
  5647. },
  5648. "pricemove": {
  5649. "description": "升贴水",
  5650. "type": "number"
  5651. },
  5652. "pricetype": {
  5653. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5654. "type": "integer"
  5655. },
  5656. "relatedid": {
  5657. "description": "现货合同ID",
  5658. "type": "string"
  5659. },
  5660. "sellusername": {
  5661. "description": "销售方名字",
  5662. "type": "string"
  5663. }
  5664. }
  5665. },
  5666. "ermcp.QryErmcpRsp": {
  5667. "$ref": "#/definitions/models.ErmcpModel"
  5668. },
  5669. "ermcp.QryHedgePlanRsp": {
  5670. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5671. },
  5672. "ermcp.QrySpotContractRsp": {
  5673. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5674. },
  5675. "ermcp.QryUserInfoRsp": {
  5676. "$ref": "#/definitions/models.ErmcpUserModel"
  5677. },
  5678. "ermcp.QryWrStandardRsp": {
  5679. "$ref": "#/definitions/models.ErmcpWrstandard"
  5680. },
  5681. "erms2.QueryArbitrageStrategyRsp": {
  5682. "type": "object",
  5683. "required": [
  5684. "asapplyid"
  5685. ],
  5686. "properties": {
  5687. "applybasis": {
  5688. "description": "申请基差",
  5689. "type": "number"
  5690. },
  5691. "asapplyid": {
  5692. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5693. "type": "string"
  5694. },
  5695. "asname": {
  5696. "description": "策略名称",
  5697. "type": "string"
  5698. },
  5699. "asno": {
  5700. "description": "策略编号",
  5701. "type": "string"
  5702. },
  5703. "basischangepl": {
  5704. "description": "基差变动损益[结算更新]",
  5705. "type": "number"
  5706. },
  5707. "biztype": {
  5708. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5709. "type": "integer"
  5710. },
  5711. "closetradedate": {
  5712. "description": "完结交易日(yyyyMMdd)",
  5713. "type": "string"
  5714. },
  5715. "curbasis": {
  5716. "description": "当前基差[结算更新]",
  5717. "type": "number"
  5718. },
  5719. "deliverygoodsid": {
  5720. "description": "现货品种ID",
  5721. "type": "integer"
  5722. },
  5723. "futureavgprice": {
  5724. "description": "期货建仓均价",
  5725. "type": "number"
  5726. },
  5727. "futurecloseamount": {
  5728. "description": "期货平仓金额",
  5729. "type": "number"
  5730. },
  5731. "futurecloseqty": {
  5732. "description": "期货平仓数量",
  5733. "type": "number"
  5734. },
  5735. "futureopenamount": {
  5736. "description": "期货开仓金额",
  5737. "type": "number"
  5738. },
  5739. "futureopenqty": {
  5740. "description": "期货开仓数量",
  5741. "type": "number"
  5742. },
  5743. "futurepl": {
  5744. "description": "期货总盈亏[结算更新]",
  5745. "type": "number"
  5746. },
  5747. "futureqty": {
  5748. "description": "期货持仓数量",
  5749. "type": "number"
  5750. },
  5751. "futurequote": {
  5752. "description": "期货额度",
  5753. "type": "number"
  5754. },
  5755. "goodsgroupid": {
  5756. "description": "期货品种ID",
  5757. "type": "integer"
  5758. },
  5759. "marketid": {
  5760. "description": "市场ID",
  5761. "type": "integer"
  5762. },
  5763. "netexposure": {
  5764. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5765. "type": "number"
  5766. },
  5767. "netexposurepl": {
  5768. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5769. "type": "number"
  5770. },
  5771. "netexposurerate": {
  5772. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5773. "type": "number"
  5774. },
  5775. "openbasis": {
  5776. "description": "建仓基差",
  5777. "type": "number"
  5778. },
  5779. "pricedspotqty": {
  5780. "description": "已定价现货数量",
  5781. "type": "number"
  5782. },
  5783. "pricedspotqtynotax": {
  5784. "description": "已定价现货不含税数量",
  5785. "type": "number"
  5786. },
  5787. "remark": {
  5788. "description": "备注",
  5789. "type": "string"
  5790. },
  5791. "spotavgprice": {
  5792. "description": "现货均价",
  5793. "type": "number"
  5794. },
  5795. "spotbuyamount": {
  5796. "description": "现货采购金额",
  5797. "type": "number"
  5798. },
  5799. "spotbuyqty": {
  5800. "description": "现货采购数量",
  5801. "type": "number"
  5802. },
  5803. "spotpl": {
  5804. "description": "现货总盈亏[结算更新]",
  5805. "type": "number"
  5806. },
  5807. "spotquota": {
  5808. "description": "现货额度",
  5809. "type": "number"
  5810. },
  5811. "spotsellamount": {
  5812. "description": "现货销售金额",
  5813. "type": "number"
  5814. },
  5815. "spotsellqty": {
  5816. "description": "现货销售数量",
  5817. "type": "number"
  5818. },
  5819. "spotusedquota": {
  5820. "description": "现货占用资金",
  5821. "type": "number"
  5822. },
  5823. "strategystatus": {
  5824. "description": "策略状态 - 0:未结束 1:已结束",
  5825. "type": "integer"
  5826. },
  5827. "totalpl": {
  5828. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5829. "type": "number"
  5830. },
  5831. "tradedate": {
  5832. "description": "交易日(yyyyMMdd)",
  5833. "type": "string"
  5834. },
  5835. "updatetime": {
  5836. "description": "更新时间",
  5837. "type": "string"
  5838. },
  5839. "usedquota": {
  5840. "description": "已占用资金",
  5841. "type": "number"
  5842. },
  5843. "userid": {
  5844. "description": "所属机构",
  5845. "type": "integer"
  5846. }
  5847. }
  5848. },
  5849. "erms2.QueryInnerTradeDetailRsp": {
  5850. "type": "object",
  5851. "required": [
  5852. "asapplyid",
  5853. "buyorsell",
  5854. "goodscode",
  5855. "goodsgroupid",
  5856. "goodsgroupname",
  5857. "goodsname",
  5858. "tradeid"
  5859. ],
  5860. "properties": {
  5861. "accountid": {
  5862. "description": "账号ID",
  5863. "type": "integer"
  5864. },
  5865. "agreeunit": {
  5866. "description": "合约单位",
  5867. "type": "number"
  5868. },
  5869. "asapplyid": {
  5870. "description": "策略申请ID",
  5871. "type": "integer"
  5872. },
  5873. "asname": {
  5874. "description": "策略名称",
  5875. "type": "string"
  5876. },
  5877. "asno": {
  5878. "description": "策略编号",
  5879. "type": "string"
  5880. },
  5881. "buyorsell": {
  5882. "description": "方向 - 0:买 1:卖",
  5883. "type": "integer"
  5884. },
  5885. "channelbuildtype": {
  5886. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5887. "type": "integer"
  5888. },
  5889. "closetype": {
  5890. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5891. "type": "integer"
  5892. },
  5893. "decimalplace": {
  5894. "description": "报价小数位",
  5895. "type": "integer"
  5896. },
  5897. "detailtype": {
  5898. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5899. "type": "integer"
  5900. },
  5901. "exexchangecode": {
  5902. "description": "外部交易所代码",
  5903. "type": "string"
  5904. },
  5905. "exexchangename": {
  5906. "description": "外部交易所名称",
  5907. "type": "string"
  5908. },
  5909. "goodscode": {
  5910. "description": "商品代码(合约)",
  5911. "type": "string"
  5912. },
  5913. "goodsgroupid": {
  5914. "description": "商品组ID(品种ID)",
  5915. "type": "integer"
  5916. },
  5917. "goodsgroupname": {
  5918. "description": "商品组名称(品种)",
  5919. "type": "string"
  5920. },
  5921. "goodsid": {
  5922. "description": "商品ID",
  5923. "type": "integer"
  5924. },
  5925. "goodsname": {
  5926. "description": "商品名称(合约)",
  5927. "type": "string"
  5928. },
  5929. "goodunit": {
  5930. "description": "报价单位",
  5931. "type": "string"
  5932. },
  5933. "marketid": {
  5934. "description": "市场ID",
  5935. "type": "integer"
  5936. },
  5937. "orderid": {
  5938. "description": "委托单号",
  5939. "type": "string"
  5940. },
  5941. "outgoodscode": {
  5942. "description": "商品代码(外部)",
  5943. "type": "string"
  5944. },
  5945. "relatedouttradeid": {
  5946. "description": "关联外部成交单ID",
  5947. "type": "string"
  5948. },
  5949. "remark": {
  5950. "description": "备注",
  5951. "type": "string"
  5952. },
  5953. "spotcontractid": {
  5954. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5955. "type": "integer"
  5956. },
  5957. "spotcontractno": {
  5958. "description": "现货合同编号",
  5959. "type": "string"
  5960. },
  5961. "tradeid": {
  5962. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5963. "type": "string"
  5964. },
  5965. "tradeprice": {
  5966. "description": "成交价格",
  5967. "type": "number"
  5968. },
  5969. "tradeqty": {
  5970. "description": "成交数量",
  5971. "type": "integer"
  5972. },
  5973. "tradetime": {
  5974. "description": "成交时间",
  5975. "type": "string"
  5976. },
  5977. "updatetime": {
  5978. "description": "更新时间",
  5979. "type": "string"
  5980. }
  5981. }
  5982. },
  5983. "erms2.QuerySpotContractRsp": {
  5984. "type": "object",
  5985. "required": [
  5986. "spotcontractid"
  5987. ],
  5988. "properties": {
  5989. "accountid": {
  5990. "description": "资金账户ID",
  5991. "type": "integer"
  5992. },
  5993. "areauserid": {
  5994. "description": "所属机构",
  5995. "type": "integer"
  5996. },
  5997. "closedate": {
  5998. "description": "终止日期",
  5999. "type": "string"
  6000. },
  6001. "closeremark": {
  6002. "description": "结束备注",
  6003. "type": "string"
  6004. },
  6005. "closetradedate": {
  6006. "description": "完结交易日(yyyyMMdd)",
  6007. "type": "string"
  6008. },
  6009. "closetype": {
  6010. "description": "终止类型 - 1:违约 2:提前终止",
  6011. "type": "integer"
  6012. },
  6013. "contractamount": {
  6014. "description": "合同金额",
  6015. "type": "number"
  6016. },
  6017. "contractattachment": {
  6018. "description": "合同附件",
  6019. "type": "string"
  6020. },
  6021. "contractno": {
  6022. "description": "现货合同编号",
  6023. "type": "string"
  6024. },
  6025. "contractqty": {
  6026. "description": "合同数量(数值) (用于计算)",
  6027. "type": "number"
  6028. },
  6029. "contractqtychar": {
  6030. "description": "合同数量\\已订价数量 (用于显示)",
  6031. "type": "string"
  6032. },
  6033. "contractstatus": {
  6034. "description": "合同状态 - 0:未结束 1:已结束",
  6035. "type": "integer"
  6036. },
  6037. "contracttype": {
  6038. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6039. "type": "integer"
  6040. },
  6041. "customeraccountid": {
  6042. "description": "客户资金账户ID",
  6043. "type": "integer"
  6044. },
  6045. "customeruserid": {
  6046. "description": "客户ID",
  6047. "type": "integer"
  6048. },
  6049. "deliverygoodsdesc": {
  6050. "description": "品种说明",
  6051. "type": "string"
  6052. },
  6053. "deliverygoodsid": {
  6054. "description": "现货品种ID",
  6055. "type": "integer"
  6056. },
  6057. "handlestatus": {
  6058. "description": "处理状态",
  6059. "type": "integer"
  6060. },
  6061. "invoiceatt": {
  6062. "description": "发票附件",
  6063. "type": "string"
  6064. },
  6065. "invoicedatetime": {
  6066. "description": "开收票更新时间",
  6067. "type": "string"
  6068. },
  6069. "invoiceopentime": {
  6070. "description": "开票时间",
  6071. "type": "string"
  6072. },
  6073. "invoiceremark": {
  6074. "description": "发票备注",
  6075. "type": "string"
  6076. },
  6077. "invoicestatus": {
  6078. "description": "开收票状态 - 0:未开票 1:已开票",
  6079. "type": "integer"
  6080. },
  6081. "lastdate": {
  6082. "description": "交货时间",
  6083. "type": "string"
  6084. },
  6085. "marketid": {
  6086. "description": "市场ID",
  6087. "type": "integer"
  6088. },
  6089. "paydatetime": {
  6090. "description": "收付款更新时间",
  6091. "type": "string"
  6092. },
  6093. "payremark": {
  6094. "description": "收付款备注",
  6095. "type": "string"
  6096. },
  6097. "paystatus": {
  6098. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6099. "type": "integer"
  6100. },
  6101. "positionqty": {
  6102. "description": "头寸数量 - 合同数量去小数部分",
  6103. "type": "integer"
  6104. },
  6105. "producttype": {
  6106. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6107. "type": "integer"
  6108. },
  6109. "relatedqty": {
  6110. "description": "已关联数量",
  6111. "type": "number"
  6112. },
  6113. "relatedstatus": {
  6114. "description": "关联完结状态 - 0:未结束 1:已结束",
  6115. "type": "integer"
  6116. },
  6117. "remark": {
  6118. "description": "备注",
  6119. "type": "string"
  6120. },
  6121. "signdate": {
  6122. "description": "签订日期",
  6123. "type": "string"
  6124. },
  6125. "spotcontractid": {
  6126. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6127. "type": "string"
  6128. },
  6129. "spotdatetime": {
  6130. "description": "收发货更新时间",
  6131. "type": "string"
  6132. },
  6133. "spotprice": {
  6134. "description": "价格",
  6135. "type": "number"
  6136. },
  6137. "spotremark": {
  6138. "description": "收发货备注",
  6139. "type": "string"
  6140. },
  6141. "spotstatus": {
  6142. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6143. "type": "integer"
  6144. },
  6145. "tradedate": {
  6146. "description": "交易日(yyyyMMdd)",
  6147. "type": "string"
  6148. },
  6149. "userid": {
  6150. "description": "业务员用户ID",
  6151. "type": "integer"
  6152. },
  6153. "warehouseid": {
  6154. "description": "仓库ID",
  6155. "type": "integer"
  6156. },
  6157. "wrfactortypeid": {
  6158. "description": "仓单要素类型ID",
  6159. "type": "integer"
  6160. },
  6161. "wrstandardid": {
  6162. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6163. "type": "integer"
  6164. }
  6165. }
  6166. },
  6167. "erms3.AddErms2ASApplyReq": {
  6168. "type": "object",
  6169. "required": [
  6170. "asapplyid"
  6171. ],
  6172. "properties": {
  6173. "applybasis": {
  6174. "description": "申请基差",
  6175. "type": "number"
  6176. },
  6177. "applystatus": {
  6178. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6179. "type": "integer"
  6180. },
  6181. "asapplyid": {
  6182. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6183. "type": "integer"
  6184. },
  6185. "asname": {
  6186. "description": "策略名称",
  6187. "type": "string"
  6188. },
  6189. "asno": {
  6190. "description": "策略编号",
  6191. "type": "string"
  6192. },
  6193. "auditid": {
  6194. "description": "审核人",
  6195. "type": "integer"
  6196. },
  6197. "auditremark": {
  6198. "description": "审核备注",
  6199. "type": "string"
  6200. },
  6201. "audittime": {
  6202. "description": "审核时间",
  6203. "type": "string"
  6204. },
  6205. "biztype": {
  6206. "description": "业务类型 - 1:正向套利 2:反向套利",
  6207. "type": "integer"
  6208. },
  6209. "createtime": {
  6210. "description": "创建时间",
  6211. "type": "string"
  6212. },
  6213. "creatorid": {
  6214. "description": "创建人",
  6215. "type": "integer"
  6216. },
  6217. "deliverygoodsid": {
  6218. "description": "现货品种ID",
  6219. "type": "integer"
  6220. },
  6221. "futurequote": {
  6222. "description": "期货额度",
  6223. "type": "number"
  6224. },
  6225. "goodsgroupid": {
  6226. "description": "期货品种ID",
  6227. "type": "integer"
  6228. },
  6229. "marketid": {
  6230. "description": "市场ID",
  6231. "type": "integer"
  6232. },
  6233. "remark": {
  6234. "description": "备注",
  6235. "type": "string"
  6236. },
  6237. "spotquota": {
  6238. "description": "现货额度",
  6239. "type": "number"
  6240. },
  6241. "tradedate": {
  6242. "description": "交易日(yyyyMMdd)",
  6243. "type": "string"
  6244. },
  6245. "userid": {
  6246. "description": "所属机构",
  6247. "type": "integer"
  6248. }
  6249. }
  6250. },
  6251. "erms3.AddErms2SpotTradeApplyReq": {
  6252. "type": "object",
  6253. "required": [
  6254. "spottradeid"
  6255. ],
  6256. "properties": {
  6257. "applyjsondetail": {
  6258. "description": "申请明细(JSON)",
  6259. "type": "string"
  6260. },
  6261. "applystatus": {
  6262. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6263. "type": "integer"
  6264. },
  6265. "areauserid": {
  6266. "description": "所属机构",
  6267. "type": "integer"
  6268. },
  6269. "auditid": {
  6270. "description": "审核人",
  6271. "type": "integer"
  6272. },
  6273. "auditremark": {
  6274. "description": "审核备注",
  6275. "type": "string"
  6276. },
  6277. "audittime": {
  6278. "description": "审核时间",
  6279. "type": "string"
  6280. },
  6281. "createtime": {
  6282. "description": "创建时间",
  6283. "type": "string"
  6284. },
  6285. "creatorid": {
  6286. "description": "创建人",
  6287. "type": "integer"
  6288. },
  6289. "deliverygoodsid": {
  6290. "description": "现货品种ID",
  6291. "type": "integer"
  6292. },
  6293. "futureaccountid": {
  6294. "description": "期货资金账户",
  6295. "type": "integer"
  6296. },
  6297. "goodsgroupid": {
  6298. "description": "期货品种",
  6299. "type": "integer"
  6300. },
  6301. "marketid": {
  6302. "description": "市场ID",
  6303. "type": "integer"
  6304. },
  6305. "remark": {
  6306. "description": "备注",
  6307. "type": "string"
  6308. },
  6309. "spotaccountid": {
  6310. "description": "现货资金账户",
  6311. "type": "integer"
  6312. },
  6313. "spottradeid": {
  6314. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6315. "type": "integer"
  6316. },
  6317. "spottradename": {
  6318. "description": "业务名称",
  6319. "type": "string"
  6320. },
  6321. "spottradeno": {
  6322. "description": "业务编号",
  6323. "type": "string"
  6324. },
  6325. "tradedate": {
  6326. "description": "交易日(yyyyMMdd)",
  6327. "type": "string"
  6328. },
  6329. "wrstandardid": {
  6330. "description": "仓单标准ID",
  6331. "type": "integer"
  6332. }
  6333. }
  6334. },
  6335. "erms3.AddSpotContractApplyReq": {
  6336. "type": "object",
  6337. "required": [
  6338. "accountid",
  6339. "areauserid",
  6340. "contractno",
  6341. "contracttype",
  6342. "customeraccountid",
  6343. "customeruserid",
  6344. "details",
  6345. "orimargin",
  6346. "signdate"
  6347. ],
  6348. "properties": {
  6349. "accountid": {
  6350. "description": "资金账户ID",
  6351. "type": "integer"
  6352. },
  6353. "areauserid": {
  6354. "description": "所属机构",
  6355. "type": "integer"
  6356. },
  6357. "contractattachment": {
  6358. "description": "合同附件",
  6359. "type": "string"
  6360. },
  6361. "contractno": {
  6362. "description": "现货合同编号",
  6363. "type": "string"
  6364. },
  6365. "contracttype": {
  6366. "description": "现货合同类型 - 1:采购 -1:销售",
  6367. "type": "integer"
  6368. },
  6369. "creatorid": {
  6370. "description": "申请人",
  6371. "type": "integer"
  6372. },
  6373. "customeraccountid": {
  6374. "description": "客户资金账户ID",
  6375. "type": "integer"
  6376. },
  6377. "customeruserid": {
  6378. "description": "客户ID",
  6379. "type": "integer"
  6380. },
  6381. "details": {
  6382. "description": "明细",
  6383. "type": "array",
  6384. "items": {
  6385. "$ref": "#/definitions/erms3.SoptContractDetail"
  6386. }
  6387. },
  6388. "orimargin": {
  6389. "description": "初始保证金",
  6390. "type": "number"
  6391. },
  6392. "remark": {
  6393. "description": "备注",
  6394. "type": "string"
  6395. },
  6396. "signdate": {
  6397. "description": "签订日期",
  6398. "type": "string"
  6399. }
  6400. }
  6401. },
  6402. "erms3.AddSpotContractApplyRsp": {
  6403. "type": "object",
  6404. "required": [
  6405. "contractno"
  6406. ],
  6407. "properties": {
  6408. "contractno": {
  6409. "description": "现货合同编号",
  6410. "type": "string"
  6411. },
  6412. "spotcontractid": {
  6413. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6414. "type": "integer"
  6415. }
  6416. }
  6417. },
  6418. "erms3.AddUserInfoApplyReq": {
  6419. "type": "object",
  6420. "required": [
  6421. "userid"
  6422. ],
  6423. "properties": {
  6424. "accountid": {
  6425. "description": "交易系统帐号Id (加密存储)",
  6426. "type": "integer"
  6427. },
  6428. "areacode": {
  6429. "description": "机构代码",
  6430. "type": "string"
  6431. },
  6432. "areaid": {
  6433. "description": "机构Id",
  6434. "type": "integer"
  6435. },
  6436. "attachment1": {
  6437. "description": "附件1",
  6438. "type": "string"
  6439. },
  6440. "attachment2": {
  6441. "description": "附件2",
  6442. "type": "string"
  6443. },
  6444. "attachment3": {
  6445. "description": "附件3",
  6446. "type": "string"
  6447. },
  6448. "attachment4": {
  6449. "description": "附件4",
  6450. "type": "string"
  6451. },
  6452. "attachment5": {
  6453. "description": "附件5",
  6454. "type": "string"
  6455. },
  6456. "auditedby": {
  6457. "description": "审核人",
  6458. "type": "string"
  6459. },
  6460. "auditime": {
  6461. "description": "审核时间",
  6462. "type": "string"
  6463. },
  6464. "bankaccount": {
  6465. "description": "银行帐号 (加密存储)",
  6466. "type": "string"
  6467. },
  6468. "bankaccountname": {
  6469. "description": "收款人名称",
  6470. "type": "string"
  6471. },
  6472. "bankcardbackphotourl": {
  6473. "description": "银行卡背面照地址",
  6474. "type": "string"
  6475. },
  6476. "bankcardfrontphotourl": {
  6477. "description": "银行卡正面照地址",
  6478. "type": "string"
  6479. },
  6480. "bankid": {
  6481. "description": "银行编码",
  6482. "type": "string"
  6483. },
  6484. "bankname": {
  6485. "description": "银行名称",
  6486. "type": "string"
  6487. },
  6488. "bankpictureurl": {
  6489. "description": "银行卡正面地址",
  6490. "type": "string"
  6491. },
  6492. "biznature": {
  6493. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6494. "type": "integer"
  6495. },
  6496. "bizscope": {
  6497. "description": "企业经营范围(企业)",
  6498. "type": "string"
  6499. },
  6500. "biztype": {
  6501. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6502. "type": "integer"
  6503. },
  6504. "brokerid": {
  6505. "description": "经纪人ID(加密存储)",
  6506. "type": "string"
  6507. },
  6508. "cardaddress": {
  6509. "description": "证件地址 (加密存储)",
  6510. "type": "string"
  6511. },
  6512. "cardbackphotourl": {
  6513. "description": "背面证件照地址",
  6514. "type": "string"
  6515. },
  6516. "cardfrontphotourl": {
  6517. "description": "正面证件照地址",
  6518. "type": "string"
  6519. },
  6520. "cardnum": {
  6521. "description": "证件号码 (加密存储)",
  6522. "type": "string"
  6523. },
  6524. "cardtype": {
  6525. "description": "证件类型",
  6526. "type": "integer"
  6527. },
  6528. "cityid": {
  6529. "description": "市",
  6530. "type": "integer"
  6531. },
  6532. "company": {
  6533. "description": "公司(个人)",
  6534. "type": "string"
  6535. },
  6536. "contactcardbackphotourl": {
  6537. "description": "联系人证件背面图片地址",
  6538. "type": "string"
  6539. },
  6540. "contactcardfrontphotourl": {
  6541. "description": "联系人证件正面图片地址",
  6542. "type": "string"
  6543. },
  6544. "contactname": {
  6545. "description": "联系人",
  6546. "type": "string"
  6547. },
  6548. "countryid": {
  6549. "description": "国家",
  6550. "type": "integer"
  6551. },
  6552. "createtime": {
  6553. "description": "开户申请时间",
  6554. "type": "string"
  6555. },
  6556. "cusbankid": {
  6557. "description": "签约类型",
  6558. "type": "string"
  6559. },
  6560. "cusbankname": {
  6561. "description": "签约类型名称",
  6562. "type": "string"
  6563. },
  6564. "customername": {
  6565. "description": "客户名称(企业名称)",
  6566. "type": "string"
  6567. },
  6568. "districtid": {
  6569. "description": "地区",
  6570. "type": "integer"
  6571. },
  6572. "email": {
  6573. "description": "Email地址(加密存储)",
  6574. "type": "string"
  6575. },
  6576. "halfbodyphotourl": {
  6577. "description": "半身照地址",
  6578. "type": "string"
  6579. },
  6580. "headurl": {
  6581. "description": "头像地址",
  6582. "type": "string"
  6583. },
  6584. "ipaddress": {
  6585. "description": "IP地址",
  6586. "type": "string"
  6587. },
  6588. "isvalidate": {
  6589. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6590. "type": "string"
  6591. },
  6592. "legalcardbackphotourl": {
  6593. "description": "法人身份证背面照地址",
  6594. "type": "string"
  6595. },
  6596. "legalcardfrontphotourl": {
  6597. "description": "法人身份证正面照地址",
  6598. "type": "string"
  6599. },
  6600. "legalpersonname": {
  6601. "description": "法人姓名(企业)",
  6602. "type": "string"
  6603. },
  6604. "logincode": {
  6605. "description": "登录帐号 (加密存储)",
  6606. "type": "string"
  6607. },
  6608. "memberareaid": {
  6609. "description": "所属会员ID",
  6610. "type": "integer"
  6611. },
  6612. "mobile2": {
  6613. "description": "手机号码[明文-尚志]",
  6614. "type": "string"
  6615. },
  6616. "mobilephone": {
  6617. "description": "手机号码 (加密存储)",
  6618. "type": "string"
  6619. },
  6620. "modifiedby": {
  6621. "description": "修改人帐号",
  6622. "type": "integer"
  6623. },
  6624. "modifiedtime": {
  6625. "description": "修改时间",
  6626. "type": "string"
  6627. },
  6628. "nickname": {
  6629. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6630. "type": "string"
  6631. },
  6632. "openmode": {
  6633. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6634. "type": "integer"
  6635. },
  6636. "otherurl": {
  6637. "description": "其它图片地址[使用分号分隔]",
  6638. "type": "string"
  6639. },
  6640. "postalcode": {
  6641. "description": "邮政编码",
  6642. "type": "string"
  6643. },
  6644. "provinceid": {
  6645. "description": "省",
  6646. "type": "integer"
  6647. },
  6648. "proxystatementurl": {
  6649. "description": "授权委托书",
  6650. "type": "string"
  6651. },
  6652. "qq": {
  6653. "description": "QQ(加密存储",
  6654. "type": "string"
  6655. },
  6656. "referral": {
  6657. "description": "推荐人编码",
  6658. "type": "string"
  6659. },
  6660. "remark": {
  6661. "description": "备注",
  6662. "type": "string"
  6663. },
  6664. "removebeforestatus": {
  6665. "description": "REMOVEBEFORESTATUS",
  6666. "type": "integer"
  6667. },
  6668. "sex": {
  6669. "description": "性别 - 0:女 1:男",
  6670. "type": "integer"
  6671. },
  6672. "signedstatus": {
  6673. "description": "账户一号签签约状态",
  6674. "type": "integer"
  6675. },
  6676. "signpdfurl": {
  6677. "description": "签约pdf文件",
  6678. "type": "string"
  6679. },
  6680. "subbranch": {
  6681. "description": "开户支行",
  6682. "type": "string"
  6683. },
  6684. "telphone": {
  6685. "description": "联系电话(加密存储)",
  6686. "type": "string"
  6687. },
  6688. "userid": {
  6689. "description": "用户ID(自增ID)",
  6690. "type": "integer"
  6691. },
  6692. "userinfotype": {
  6693. "description": "用户信息类型 - 1:个人 2:企业",
  6694. "type": "integer"
  6695. },
  6696. "username": {
  6697. "description": "用户姓名",
  6698. "type": "string"
  6699. },
  6700. "userstate": {
  6701. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6702. "type": "integer"
  6703. },
  6704. "usertype": {
  6705. "description": "用户类型 - 1:投资者 2:机构",
  6706. "type": "integer"
  6707. },
  6708. "videourl": {
  6709. "description": "视频地址",
  6710. "type": "string"
  6711. },
  6712. "wechat": {
  6713. "description": "微信号 (加密存储)",
  6714. "type": "string"
  6715. }
  6716. }
  6717. },
  6718. "erms3.CustomerInfo": {
  6719. "type": "object",
  6720. "required": [
  6721. "userid"
  6722. ],
  6723. "properties": {
  6724. "accountids": {
  6725. "description": "资金账户ID列表",
  6726. "type": "array",
  6727. "items": {
  6728. "type": "integer"
  6729. }
  6730. },
  6731. "customername": {
  6732. "description": "名称(企业名称)",
  6733. "type": "string"
  6734. },
  6735. "mobile": {
  6736. "description": "手机号码",
  6737. "type": "string"
  6738. },
  6739. "userid": {
  6740. "description": "用户ID",
  6741. "type": "integer"
  6742. }
  6743. }
  6744. },
  6745. "erms3.QryAuditContractRsp": {
  6746. "type": "object",
  6747. "required": [
  6748. "matchcustomername",
  6749. "spotcontractid"
  6750. ],
  6751. "properties": {
  6752. "accountid": {
  6753. "description": "交易员ID",
  6754. "type": "string"
  6755. },
  6756. "applystatus": {
  6757. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6758. "type": "integer"
  6759. },
  6760. "curdeliveryqty": {
  6761. "description": "未交收量",
  6762. "type": "integer"
  6763. },
  6764. "customername": {
  6765. "description": "采购方ID",
  6766. "type": "string"
  6767. },
  6768. "deliverygoodsid": {
  6769. "description": "品种ID",
  6770. "type": "string"
  6771. },
  6772. "deliveryqty": {
  6773. "description": "交收量",
  6774. "type": "integer"
  6775. },
  6776. "enumdicname": {
  6777. "description": "单位名称",
  6778. "type": "string"
  6779. },
  6780. "matchaccountid": {
  6781. "description": "业务员ID",
  6782. "type": "string"
  6783. },
  6784. "matchcustomername": {
  6785. "description": "销售方ID",
  6786. "type": "string"
  6787. },
  6788. "pricedqty": {
  6789. "description": "定价量",
  6790. "type": "number"
  6791. },
  6792. "signdate": {
  6793. "description": "签订日期",
  6794. "type": "string"
  6795. },
  6796. "spotcontractid": {
  6797. "description": "合同ID",
  6798. "type": "string"
  6799. },
  6800. "totaldqty": {
  6801. "description": "合同量",
  6802. "type": "number"
  6803. },
  6804. "unpricedqty": {
  6805. "description": "未定价量",
  6806. "type": "number"
  6807. },
  6808. "wrstandardname": {
  6809. "description": "商品名称",
  6810. "type": "string"
  6811. }
  6812. }
  6813. },
  6814. "erms3.QryPendingBizRsp": {
  6815. "$ref": "#/definitions/models.PendingAuditBizModel"
  6816. },
  6817. "erms3.QueryBusinessInfoRsp": {
  6818. "type": "object",
  6819. "properties": {
  6820. "businessid": {
  6821. "description": "业务ID.",
  6822. "type": "integer"
  6823. },
  6824. "buyamount": {
  6825. "description": "采购额.",
  6826. "type": "number"
  6827. },
  6828. "buyqty": {
  6829. "description": "采购量.",
  6830. "type": "string"
  6831. },
  6832. "futurepl": {
  6833. "description": "期货盈亏.",
  6834. "type": "number"
  6835. },
  6836. "futureqty": {
  6837. "description": "期货敞口.",
  6838. "type": "string"
  6839. },
  6840. "goodsid": {
  6841. "description": "商品名称/商品代码.",
  6842. "type": "string"
  6843. },
  6844. "hedgingqty": {
  6845. "description": "套保量.",
  6846. "type": "string"
  6847. },
  6848. "sellamount": {
  6849. "description": "销售额.",
  6850. "type": "number"
  6851. },
  6852. "sellqty": {
  6853. "description": "销售量.",
  6854. "type": "string"
  6855. },
  6856. "spotmarketvalue": {
  6857. "description": "现货市值.",
  6858. "type": "number"
  6859. },
  6860. "spotpl": {
  6861. "description": "浮动权益.",
  6862. "type": "number"
  6863. },
  6864. "spotqty": {
  6865. "description": "现货量.",
  6866. "type": "string"
  6867. },
  6868. "statu": {
  6869. "description": "状态,0-未结束 1-已结束.",
  6870. "type": "integer"
  6871. },
  6872. "totalpl": {
  6873. "description": "总盈亏.",
  6874. "type": "number"
  6875. },
  6876. "totalqty": {
  6877. "description": "总敞口.",
  6878. "type": "string"
  6879. },
  6880. "type": {
  6881. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6882. "type": "integer"
  6883. }
  6884. }
  6885. },
  6886. "erms3.QuerySpotContractAppleFormRsp": {
  6887. "type": "object",
  6888. "properties": {
  6889. "goodses": {
  6890. "description": "合约列表",
  6891. "type": "array",
  6892. "items": {
  6893. "$ref": "#/definitions/models.GoodsIDAndName"
  6894. }
  6895. },
  6896. "oppositeusers": {
  6897. "description": "对方账号列表",
  6898. "type": "array",
  6899. "items": {
  6900. "$ref": "#/definitions/erms3.CustomerInfo"
  6901. }
  6902. },
  6903. "ouruser": {
  6904. "description": "我方账号",
  6905. "type": "object",
  6906. "$ref": "#/definitions/erms3.CustomerInfo"
  6907. },
  6908. "warehouseinfos": {
  6909. "description": "仓库信息列表",
  6910. "type": "array",
  6911. "items": {
  6912. "$ref": "#/definitions/models.Warehouseinfo"
  6913. }
  6914. },
  6915. "wrstandards": {
  6916. "description": "仓单标准列表",
  6917. "type": "array",
  6918. "items": {
  6919. "$ref": "#/definitions/models.WRStandardInfo"
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "erms3.QuerySpotContractInfoRsp": {
  6925. "type": "object",
  6926. "properties": {
  6927. "accountid": {
  6928. "description": "表示交易员ID.",
  6929. "type": "integer"
  6930. },
  6931. "curdeliveryqty": {
  6932. "description": "表示未交收量.",
  6933. "type": "number"
  6934. },
  6935. "customername": {
  6936. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6937. "type": "string"
  6938. },
  6939. "deliverygoodsid": {
  6940. "description": "表示品种ID.",
  6941. "type": "string"
  6942. },
  6943. "deliveryqty": {
  6944. "description": "表示交收量.",
  6945. "type": "number"
  6946. },
  6947. "matchaccountid": {
  6948. "description": "表示业务员ID.",
  6949. "type": "integer"
  6950. },
  6951. "matchcustomername": {
  6952. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6953. "type": "string"
  6954. },
  6955. "priceqty": {
  6956. "description": "表示定价量.",
  6957. "type": "number"
  6958. },
  6959. "relatedbizid": {
  6960. "description": "表示业务ID.",
  6961. "type": "string"
  6962. },
  6963. "signdate": {
  6964. "description": "表示签订日期.",
  6965. "type": "string"
  6966. },
  6967. "spotcontractid": {
  6968. "description": "合同ID",
  6969. "type": "string"
  6970. },
  6971. "status": {
  6972. "description": "表示状态,0-履约中 1-已完成.",
  6973. "type": "integer"
  6974. },
  6975. "totalqty": {
  6976. "description": "表示合同量.",
  6977. "type": "number"
  6978. },
  6979. "unpricedqty": {
  6980. "description": "表示未定价量.",
  6981. "type": "number"
  6982. },
  6983. "wrstandardname": {
  6984. "description": "表示商品ID.",
  6985. "type": "string"
  6986. }
  6987. }
  6988. },
  6989. "erms3.QueryUserInfoAppliesRsp": {
  6990. "type": "object",
  6991. "required": [
  6992. "userid"
  6993. ],
  6994. "properties": {
  6995. "biznature": {
  6996. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6997. "type": "integer"
  6998. },
  6999. "contactname": {
  7000. "description": "联系人",
  7001. "type": "string"
  7002. },
  7003. "createtime": {
  7004. "description": "开户申请时间",
  7005. "type": "string"
  7006. },
  7007. "userid": {
  7008. "description": "用户ID(自增ID)",
  7009. "type": "integer"
  7010. },
  7011. "userinfotype": {
  7012. "description": "用户信息类型 - 1:个人 2:企业",
  7013. "type": "integer"
  7014. },
  7015. "username": {
  7016. "description": "用户姓名",
  7017. "type": "string"
  7018. },
  7019. "userstate": {
  7020. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7021. "type": "integer"
  7022. }
  7023. }
  7024. },
  7025. "erms3.QueryUserInfosRsp": {
  7026. "type": "object",
  7027. "required": [
  7028. "userid"
  7029. ],
  7030. "properties": {
  7031. "biznature": {
  7032. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7033. "type": "integer"
  7034. },
  7035. "contactname": {
  7036. "description": "联系人",
  7037. "type": "string"
  7038. },
  7039. "customername": {
  7040. "description": "客户名称(企业名称)",
  7041. "type": "string"
  7042. },
  7043. "userid": {
  7044. "description": "用户ID",
  7045. "type": "integer"
  7046. },
  7047. "userinfotype": {
  7048. "description": "用户信息类型 - 1:个人 2:企业",
  7049. "type": "integer"
  7050. },
  7051. "userstatus": {
  7052. "description": "用户状态 - 1:正常 2:注销",
  7053. "type": "integer"
  7054. }
  7055. }
  7056. },
  7057. "erms3.SoptContractDetail": {
  7058. "type": "object",
  7059. "required": [
  7060. "deliverygoodsid",
  7061. "producttype",
  7062. "unitname",
  7063. "warehouseid",
  7064. "wrstandardid",
  7065. "wrstandardname"
  7066. ],
  7067. "properties": {
  7068. "deliverygoodsdesc": {
  7069. "description": "现货品种说明",
  7070. "type": "string"
  7071. },
  7072. "deliverygoodsid": {
  7073. "description": "现货品种ID",
  7074. "type": "integer"
  7075. },
  7076. "deliverygoodsname": {
  7077. "description": "现货品种名称",
  7078. "type": "string"
  7079. },
  7080. "pointdesc": {
  7081. "description": "点价描述",
  7082. "type": "string"
  7083. },
  7084. "producttype": {
  7085. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7086. "type": "integer"
  7087. },
  7088. "producttypename": {
  7089. "description": "产品类型名称",
  7090. "type": "string"
  7091. },
  7092. "spotPointOrderVoList": {
  7093. "description": "点价列表",
  7094. "type": "array",
  7095. "items": {
  7096. "$ref": "#/definitions/erms3.SpotPointOrder"
  7097. }
  7098. },
  7099. "spotPriceOrderList": {
  7100. "description": "定价列表",
  7101. "type": "array",
  7102. "items": {
  7103. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7104. }
  7105. },
  7106. "unitname": {
  7107. "description": "单位名称",
  7108. "type": "string"
  7109. },
  7110. "warehouseid": {
  7111. "description": "仓库ID",
  7112. "type": "integer"
  7113. },
  7114. "warehousename": {
  7115. "description": "仓库名称",
  7116. "type": "string"
  7117. },
  7118. "wrstandardid": {
  7119. "description": "交易标的ID",
  7120. "type": "integer"
  7121. },
  7122. "wrstandardname": {
  7123. "description": "交易标的名称",
  7124. "type": "string"
  7125. }
  7126. }
  7127. },
  7128. "erms3.SpotPointOrder": {
  7129. "type": "object",
  7130. "required": [
  7131. "basic",
  7132. "goodsid",
  7133. "qty"
  7134. ],
  7135. "properties": {
  7136. "basic": {
  7137. "description": "基差",
  7138. "type": "number"
  7139. },
  7140. "deliveryenddate": {
  7141. "description": "交收结束日期",
  7142. "type": "string"
  7143. },
  7144. "deliverystartdate": {
  7145. "description": "交收开始日期",
  7146. "type": "string"
  7147. },
  7148. "enddate": {
  7149. "description": "点价结束日期",
  7150. "type": "string"
  7151. },
  7152. "goodsid": {
  7153. "description": "商品ID",
  7154. "type": "integer"
  7155. },
  7156. "goodsname": {
  7157. "description": "商品名称",
  7158. "type": "string"
  7159. },
  7160. "qty": {
  7161. "description": "数量",
  7162. "type": "number"
  7163. },
  7164. "startdate": {
  7165. "description": "点价开始日期",
  7166. "type": "string"
  7167. }
  7168. }
  7169. },
  7170. "erms3.SpotPriceOrder": {
  7171. "type": "object",
  7172. "required": [
  7173. "amount",
  7174. "price",
  7175. "qty"
  7176. ],
  7177. "properties": {
  7178. "amount": {
  7179. "description": "金额",
  7180. "type": "number"
  7181. },
  7182. "deliveryenddate": {
  7183. "description": "交收结束日期",
  7184. "type": "string"
  7185. },
  7186. "deliverystartdate": {
  7187. "description": "交收开始日期",
  7188. "type": "string"
  7189. },
  7190. "price": {
  7191. "description": "价格",
  7192. "type": "number"
  7193. },
  7194. "qty": {
  7195. "description": "数量",
  7196. "type": "number"
  7197. }
  7198. }
  7199. },
  7200. "hsby.GetHsbyMyCountRsp": {
  7201. "type": "object",
  7202. "properties": {
  7203. "myCouponCount": {
  7204. "description": "我的优惠卷数量",
  7205. "type": "integer"
  7206. },
  7207. "myOrderDetailListingCount": {
  7208. "description": "我的订单求购中数量",
  7209. "type": "integer"
  7210. },
  7211. "myOrderDetailPreCount": {
  7212. "description": "我的订单抢购中数量",
  7213. "type": "integer"
  7214. },
  7215. "myPackageUnReceiveCount": {
  7216. "description": "我的包裹待收货数量",
  7217. "type": "integer"
  7218. },
  7219. "myPackageUnSendCount": {
  7220. "description": "我的包裹待发货数量",
  7221. "type": "integer"
  7222. },
  7223. "myPayOrderCount": {
  7224. "description": "我的订单待付款数量",
  7225. "type": "integer"
  7226. }
  7227. }
  7228. },
  7229. "hsby.QueryProvincesAndCitiesRsp": {
  7230. "type": "object",
  7231. "properties": {
  7232. "cities": {
  7233. "description": "市",
  7234. "type": "array",
  7235. "items": {
  7236. "$ref": "#/definitions/models.Division"
  7237. }
  7238. },
  7239. "province": {
  7240. "description": "省",
  7241. "type": "object",
  7242. "$ref": "#/definitions/models.Division"
  7243. }
  7244. }
  7245. },
  7246. "models.Division": {
  7247. "type": "object",
  7248. "required": [
  7249. "autoid",
  7250. "divisioncode"
  7251. ],
  7252. "properties": {
  7253. "autoid": {
  7254. "description": "自增ID",
  7255. "type": "integer"
  7256. },
  7257. "divisioncode": {
  7258. "description": "行政代码",
  7259. "type": "string"
  7260. },
  7261. "divisionlevel": {
  7262. "description": "行政级别",
  7263. "type": "string"
  7264. },
  7265. "divisionname": {
  7266. "description": "行政名称",
  7267. "type": "string"
  7268. },
  7269. "modifierid": {
  7270. "description": "修改人",
  7271. "type": "integer"
  7272. },
  7273. "modifytime": {
  7274. "description": "修改时间",
  7275. "type": "string"
  7276. },
  7277. "parentcode": {
  7278. "description": "上级行政代码",
  7279. "type": "string"
  7280. },
  7281. "pathname": {
  7282. "description": "路径名称",
  7283. "type": "string"
  7284. },
  7285. "postcode": {
  7286. "description": "邮政编码",
  7287. "type": "string"
  7288. },
  7289. "separablename": {
  7290. "description": "可拆分的全称",
  7291. "type": "string"
  7292. },
  7293. "shortcode": {
  7294. "description": "地区简码",
  7295. "type": "string"
  7296. }
  7297. }
  7298. },
  7299. "models.Enumdicitem": {
  7300. "type": "object",
  7301. "required": [
  7302. "autoid",
  7303. "enumdiccode",
  7304. "enumdicid",
  7305. "enumitemname"
  7306. ],
  7307. "properties": {
  7308. "autoid": {
  7309. "description": "自增ID",
  7310. "type": "integer"
  7311. },
  7312. "bankmappedvalue": {
  7313. "description": "银行服务对应值",
  7314. "type": "string"
  7315. },
  7316. "enumdiccode": {
  7317. "description": "所属枚举代码",
  7318. "type": "string"
  7319. },
  7320. "enumdicid": {
  7321. "description": "所属枚举ID",
  7322. "type": "integer"
  7323. },
  7324. "enumdicname": {
  7325. "description": "枚举项名称",
  7326. "type": "string"
  7327. },
  7328. "enumitemname": {
  7329. "description": "枚举项值",
  7330. "type": "integer"
  7331. },
  7332. "enumitemstatus": {
  7333. "description": "枚举项状态 - 1.启用 2.不启用",
  7334. "type": "integer"
  7335. },
  7336. "enumitemvalue": {
  7337. "description": "通用值 - [币种通用简写]",
  7338. "type": "string"
  7339. },
  7340. "param1": {
  7341. "description": "参数1[币种:币种小数位]",
  7342. "type": "string"
  7343. },
  7344. "param2": {
  7345. "description": "参数1[币种:币种显示单位]",
  7346. "type": "string"
  7347. },
  7348. "remark": {
  7349. "description": "备注",
  7350. "type": "string"
  7351. }
  7352. }
  7353. },
  7354. "models.ErmcpHedgePlan": {
  7355. "type": "object",
  7356. "properties": {
  7357. "contracttype": {
  7358. "description": "计划类型 - 1:采购 -1:销售",
  7359. "type": "integer"
  7360. },
  7361. "convertfactor": {
  7362. "description": "标仓系数",
  7363. "type": "number"
  7364. },
  7365. "deliverygoodsid": {
  7366. "description": "现货品种ID",
  7367. "type": "integer"
  7368. },
  7369. "deliverygoodsname": {
  7370. "description": "现货品种名称",
  7371. "type": "string"
  7372. },
  7373. "hedgeplanid": {
  7374. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7375. "type": "string"
  7376. },
  7377. "hedgeplanno": {
  7378. "description": "套保计划编号",
  7379. "type": "string"
  7380. },
  7381. "hedgeplanstatus": {
  7382. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7383. "type": "integer"
  7384. },
  7385. "planqty": {
  7386. "description": "计划数量",
  7387. "type": "number"
  7388. },
  7389. "plantime": {
  7390. "description": "计划时间",
  7391. "type": "string"
  7392. },
  7393. "producttype": {
  7394. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7395. "type": "integer"
  7396. },
  7397. "remark": {
  7398. "description": "备注",
  7399. "type": "string"
  7400. },
  7401. "spotgoodsdesc": {
  7402. "description": "商品型号",
  7403. "type": "string"
  7404. },
  7405. "wrstandardid": {
  7406. "description": "现货商品ID",
  7407. "type": "integer"
  7408. },
  7409. "wrstandardname": {
  7410. "description": "现货商品名称",
  7411. "type": "string"
  7412. }
  7413. }
  7414. },
  7415. "models.ErmcpModel": {
  7416. "type": "object",
  7417. "properties": {
  7418. "accountid": {
  7419. "description": "账户ID",
  7420. "type": "string"
  7421. },
  7422. "accountname": {
  7423. "description": "账户名称",
  7424. "type": "string"
  7425. },
  7426. "contracctstatus": {
  7427. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7428. "type": "integer"
  7429. },
  7430. "convertfactor": {
  7431. "description": "标仓系数",
  7432. "type": "number"
  7433. },
  7434. "daikaiamount": {
  7435. "description": "待开票额",
  7436. "type": "number"
  7437. },
  7438. "deliveryenddate": {
  7439. "description": "交割结束日",
  7440. "type": "string"
  7441. },
  7442. "deliverygoodscode": {
  7443. "description": "现货商品代码",
  7444. "type": "string"
  7445. },
  7446. "deliverygoodsid": {
  7447. "description": "现货商品ID",
  7448. "type": "integer"
  7449. },
  7450. "deliverygoodsname": {
  7451. "description": "现货商品名称",
  7452. "type": "string"
  7453. },
  7454. "deliverystartdate": {
  7455. "description": "交割开始日",
  7456. "type": "string"
  7457. },
  7458. "enddate": {
  7459. "description": "点价结束日",
  7460. "type": "string"
  7461. },
  7462. "enumdicname": {
  7463. "description": "单位名称",
  7464. "type": "string"
  7465. },
  7466. "goodscode": {
  7467. "description": "点价商品代码",
  7468. "type": "string"
  7469. },
  7470. "goodsid": {
  7471. "description": "点价商品ID",
  7472. "type": "integer"
  7473. },
  7474. "invoiceamount": {
  7475. "description": "已开票额",
  7476. "type": "number"
  7477. },
  7478. "payamount": {
  7479. "description": "已收付额(收款或付款)",
  7480. "type": "number"
  7481. },
  7482. "pricedqty": {
  7483. "description": "已定价量",
  7484. "type": "number"
  7485. },
  7486. "pricemove": {
  7487. "description": "升贴水",
  7488. "type": "number"
  7489. },
  7490. "pricetype": {
  7491. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7492. "type": "integer"
  7493. },
  7494. "producttype": {
  7495. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7496. "type": "integer"
  7497. },
  7498. "qty": {
  7499. "description": "合同量",
  7500. "type": "number"
  7501. },
  7502. "spotcontractid": {
  7503. "description": "合同ID",
  7504. "type": "string"
  7505. },
  7506. "spotgoodsdesc": {
  7507. "description": "商品型号(商品规格)",
  7508. "type": "string"
  7509. },
  7510. "startdate": {
  7511. "description": "点价开始日",
  7512. "type": "string"
  7513. },
  7514. "unpayamount": {
  7515. "description": "待支收额(支付或收款)",
  7516. "type": "number"
  7517. },
  7518. "unpricedqty": {
  7519. "description": "未定价量",
  7520. "type": "number"
  7521. },
  7522. "unsureqty": {
  7523. "description": "未确定量",
  7524. "type": "number"
  7525. }
  7526. }
  7527. },
  7528. "models.ErmcpSpotContractModel": {
  7529. "type": "object",
  7530. "properties": {
  7531. "amount": {
  7532. "description": "金额 [1:一口价、3:暂定价]",
  7533. "type": "number"
  7534. },
  7535. "buyuserid": {
  7536. "description": "采购方ID",
  7537. "type": "integer"
  7538. },
  7539. "buyusername": {
  7540. "description": "采购方名称",
  7541. "type": "string"
  7542. },
  7543. "contracctstatus": {
  7544. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7545. "type": "integer"
  7546. },
  7547. "contractno": {
  7548. "description": "现货合同编号",
  7549. "type": "string"
  7550. },
  7551. "contracttype": {
  7552. "description": "现货合同类型 - 1:采购 -1:销售",
  7553. "type": "integer"
  7554. },
  7555. "convertfactor": {
  7556. "description": "标仓系数",
  7557. "type": "number"
  7558. },
  7559. "deliveryenddate": {
  7560. "description": "交收期(结束)",
  7561. "type": "string"
  7562. },
  7563. "deliverygoodscode": {
  7564. "description": "现货品种代码",
  7565. "type": "string"
  7566. },
  7567. "deliverygoodsid": {
  7568. "description": "现货品种ID",
  7569. "type": "integer"
  7570. },
  7571. "deliverygoodsname": {
  7572. "description": "现货品种名称",
  7573. "type": "string"
  7574. },
  7575. "deliverystartdate": {
  7576. "description": "交收期(开始)",
  7577. "type": "string"
  7578. },
  7579. "enddate": {
  7580. "description": "点价结束日期 [2:点价 3:暂定价]",
  7581. "type": "string"
  7582. },
  7583. "enumdicname": {
  7584. "description": "单位名称",
  7585. "type": "string"
  7586. },
  7587. "goodscode": {
  7588. "description": "点价合约代码",
  7589. "type": "string"
  7590. },
  7591. "goodsid": {
  7592. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7593. "type": "integer"
  7594. },
  7595. "margin": {
  7596. "description": "当前保证金",
  7597. "type": "number"
  7598. },
  7599. "price": {
  7600. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7601. "type": "number"
  7602. },
  7603. "pricemove": {
  7604. "description": "升贴水 [2:点价 3:暂定价]",
  7605. "type": "number"
  7606. },
  7607. "pricetype": {
  7608. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7609. "type": "integer"
  7610. },
  7611. "producttype": {
  7612. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7613. "type": "integer"
  7614. },
  7615. "qty": {
  7616. "description": "数量",
  7617. "type": "number"
  7618. },
  7619. "selluserid": {
  7620. "description": "销售方ID",
  7621. "type": "integer"
  7622. },
  7623. "sellusername": {
  7624. "description": "销售方名称",
  7625. "type": "string"
  7626. },
  7627. "spotcontractid": {
  7628. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7629. "type": "string"
  7630. },
  7631. "spotgoodsdesc": {
  7632. "description": "商品型号",
  7633. "type": "string"
  7634. },
  7635. "startdate": {
  7636. "description": "点价开始日期 [2:点价 3:暂定价]",
  7637. "type": "string"
  7638. }
  7639. }
  7640. },
  7641. "models.ErmcpUserModel": {
  7642. "type": "object",
  7643. "properties": {
  7644. "address": {
  7645. "description": "通讯地址",
  7646. "type": "string"
  7647. },
  7648. "cardnum": {
  7649. "description": "证件号码",
  7650. "type": "string"
  7651. },
  7652. "cardtype": {
  7653. "description": "证件类型",
  7654. "type": "string"
  7655. },
  7656. "customername": {
  7657. "description": "企业名称",
  7658. "type": "string"
  7659. },
  7660. "mobile": {
  7661. "description": "手机号码",
  7662. "type": "string"
  7663. },
  7664. "remark": {
  7665. "description": "备注",
  7666. "type": "string"
  7667. },
  7668. "status": {
  7669. "description": "账户状态",
  7670. "type": "string"
  7671. },
  7672. "telphone": {
  7673. "description": "联系电话",
  7674. "type": "string"
  7675. },
  7676. "userinfotype": {
  7677. "description": "客户类型",
  7678. "type": "string"
  7679. }
  7680. }
  7681. },
  7682. "models.ErmcpWrstandard": {
  7683. "type": "object",
  7684. "properties": {
  7685. "areauserid": {
  7686. "description": "所属机构",
  7687. "type": "integer"
  7688. },
  7689. "createtime": {
  7690. "description": "创建时间",
  7691. "type": "string"
  7692. },
  7693. "creatorid": {
  7694. "description": "创建人",
  7695. "type": "integer"
  7696. },
  7697. "deliverygoodsid": {
  7698. "description": "品种ID",
  7699. "type": "integer"
  7700. },
  7701. "enumdicname": {
  7702. "description": "单位名称",
  7703. "type": "string"
  7704. },
  7705. "minivalue": {
  7706. "description": "最小变动值",
  7707. "type": "integer"
  7708. },
  7709. "minivaluedp": {
  7710. "description": "最小变动值小数位",
  7711. "type": "integer"
  7712. },
  7713. "realminivalue": {
  7714. "description": "实际最小变动值",
  7715. "type": "integer"
  7716. },
  7717. "realminivaluedp": {
  7718. "description": "实际最小变动值小数位",
  7719. "type": "integer"
  7720. },
  7721. "unitid": {
  7722. "description": "单位ID",
  7723. "type": "integer"
  7724. },
  7725. "wrstandardcode": {
  7726. "description": "现货商品代码",
  7727. "type": "string"
  7728. },
  7729. "wrstandardid": {
  7730. "description": "现货商品ID(SEQ_WRSTANDARD)",
  7731. "type": "integer"
  7732. },
  7733. "wrstandardname": {
  7734. "description": "现货商品名称",
  7735. "type": "string"
  7736. }
  7737. }
  7738. },
  7739. "models.GoodsIDAndName": {
  7740. "type": "object",
  7741. "required": [
  7742. "goodscode",
  7743. "goodsid",
  7744. "goodsname",
  7745. "marketid"
  7746. ],
  7747. "properties": {
  7748. "goodscode": {
  7749. "description": "商品代码(内部)",
  7750. "type": "string"
  7751. },
  7752. "goodsid": {
  7753. "description": "商品ID(自增ID SEQ_GOODS)",
  7754. "type": "integer"
  7755. },
  7756. "goodsname": {
  7757. "description": "商品名称",
  7758. "type": "string"
  7759. },
  7760. "marketid": {
  7761. "description": "所属市场ID",
  7762. "type": "integer"
  7763. }
  7764. }
  7765. },
  7766. "models.HsbyBuyMyPayOrder": {
  7767. "type": "object",
  7768. "required": [
  7769. "goodscode",
  7770. "goodsname",
  7771. "tradeid",
  7772. "trademode"
  7773. ],
  7774. "properties": {
  7775. "agreeunit": {
  7776. "description": "合约单位",
  7777. "type": "number"
  7778. },
  7779. "buyaccountid": {
  7780. "description": "买方账号ID[报价币种]",
  7781. "type": "integer"
  7782. },
  7783. "buyorderid": {
  7784. "description": "买方委托单号",
  7785. "type": "string"
  7786. },
  7787. "createtime": {
  7788. "description": "创建时间",
  7789. "type": "string"
  7790. },
  7791. "currencysign": {
  7792. "description": "货币符号",
  7793. "type": "string"
  7794. },
  7795. "decimalplace": {
  7796. "description": "报价小数位",
  7797. "type": "integer"
  7798. },
  7799. "goodscode": {
  7800. "description": "商品代码(内部)",
  7801. "type": "string"
  7802. },
  7803. "goodsid": {
  7804. "description": "商品ID",
  7805. "type": "integer"
  7806. },
  7807. "goodsname": {
  7808. "description": "商品名称",
  7809. "type": "string"
  7810. },
  7811. "marketid": {
  7812. "description": "市场ID",
  7813. "type": "integer"
  7814. },
  7815. "offamount": {
  7816. "description": "优惠金额",
  7817. "type": "number"
  7818. },
  7819. "payamount": {
  7820. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7821. "type": "number"
  7822. },
  7823. "payflag": {
  7824. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7825. "type": "integer"
  7826. },
  7827. "paylimitedtime": {
  7828. "description": "支付期限",
  7829. "type": "string"
  7830. },
  7831. "paytime": {
  7832. "description": "付款时间",
  7833. "type": "string"
  7834. },
  7835. "picurls1": {
  7836. "description": "预售商品介绍图片[多张用逗号分隔]",
  7837. "type": "string"
  7838. },
  7839. "picurls2": {
  7840. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7841. "type": "string"
  7842. },
  7843. "sellaccountid": {
  7844. "description": "卖方账号ID[报价币种]",
  7845. "type": "integer"
  7846. },
  7847. "sellorderid": {
  7848. "description": "卖方委托单号",
  7849. "type": "string"
  7850. },
  7851. "tradeamount": {
  7852. "description": "成交金额",
  7853. "type": "number"
  7854. },
  7855. "tradecharge": {
  7856. "description": "成交手续费(买方)",
  7857. "type": "number"
  7858. },
  7859. "tradedate": {
  7860. "description": "交易日(yyyyMMdd)",
  7861. "type": "string"
  7862. },
  7863. "tradeid": {
  7864. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7865. "type": "string"
  7866. },
  7867. "trademode": {
  7868. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7869. "type": "integer"
  7870. },
  7871. "tradeprice": {
  7872. "description": "成交价格",
  7873. "type": "number"
  7874. },
  7875. "tradeqty": {
  7876. "description": "成交数量",
  7877. "type": "integer"
  7878. },
  7879. "vendorname1": {
  7880. "description": "预售商品供应商名称",
  7881. "type": "string"
  7882. },
  7883. "vendorname2": {
  7884. "description": "挂牌商品供应商名称",
  7885. "type": "string"
  7886. }
  7887. }
  7888. },
  7889. "models.HsbyBuyMyTradeDetail": {
  7890. "type": "object",
  7891. "required": [
  7892. "accountid",
  7893. "buyorsell",
  7894. "goodscode",
  7895. "goodsid",
  7896. "goodsname",
  7897. "marketid",
  7898. "orderid",
  7899. "qty",
  7900. "time",
  7901. "trademode"
  7902. ],
  7903. "properties": {
  7904. "accountid": {
  7905. "description": "账户ID[报价币种]",
  7906. "type": "integer"
  7907. },
  7908. "agreeunit": {
  7909. "description": "合约单位",
  7910. "type": "number"
  7911. },
  7912. "amount": {
  7913. "description": "金额 = 价格 * 数量 * 合约单位",
  7914. "type": "number"
  7915. },
  7916. "buyorsell": {
  7917. "description": "买卖 - 0:买 1:卖",
  7918. "type": "integer"
  7919. },
  7920. "currencysign": {
  7921. "description": "货币符号",
  7922. "type": "string"
  7923. },
  7924. "decimalplace": {
  7925. "description": "报价小数位",
  7926. "type": "integer"
  7927. },
  7928. "goodscode": {
  7929. "description": "商品代码(内部)",
  7930. "type": "string"
  7931. },
  7932. "goodsid": {
  7933. "description": "商品ID",
  7934. "type": "integer"
  7935. },
  7936. "goodsname": {
  7937. "description": "商品名称",
  7938. "type": "string"
  7939. },
  7940. "marketid": {
  7941. "description": "市场ID",
  7942. "type": "integer"
  7943. },
  7944. "orderid": {
  7945. "description": "单号(成交单号)",
  7946. "type": "string"
  7947. },
  7948. "picurls1": {
  7949. "description": "预售商品介绍图片[多张用逗号分隔]",
  7950. "type": "string"
  7951. },
  7952. "picurls2": {
  7953. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7954. "type": "string"
  7955. },
  7956. "price": {
  7957. "description": "价格",
  7958. "type": "number"
  7959. },
  7960. "qty": {
  7961. "description": "数量",
  7962. "type": "integer"
  7963. },
  7964. "time": {
  7965. "description": "时间",
  7966. "type": "string"
  7967. },
  7968. "trademode": {
  7969. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7970. "type": "integer"
  7971. },
  7972. "vendorname1": {
  7973. "description": "预售商品供应商名称",
  7974. "type": "string"
  7975. },
  7976. "vendorname2": {
  7977. "description": "挂牌商品供应商名称",
  7978. "type": "string"
  7979. }
  7980. }
  7981. },
  7982. "models.HsbyGoodsOrderDetail": {
  7983. "type": "object",
  7984. "required": [
  7985. "buyorsell",
  7986. "orderid",
  7987. "ordertime"
  7988. ],
  7989. "properties": {
  7990. "buyorsell": {
  7991. "description": "买卖 - 0:买 1:卖",
  7992. "type": "integer"
  7993. },
  7994. "currencysign": {
  7995. "description": "货币符号",
  7996. "type": "string"
  7997. },
  7998. "customername": {
  7999. "description": "客户名称(企业名称),已脱敏",
  8000. "type": "string"
  8001. },
  8002. "enableqty": {
  8003. "description": "可用数量",
  8004. "type": "integer"
  8005. },
  8006. "goodunit": {
  8007. "description": "报价单位",
  8008. "type": "string"
  8009. },
  8010. "orderid": {
  8011. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8012. "type": "string"
  8013. },
  8014. "orderprice": {
  8015. "description": "委托价格",
  8016. "type": "number"
  8017. },
  8018. "ordertime": {
  8019. "description": "委托时间",
  8020. "type": "string"
  8021. }
  8022. }
  8023. },
  8024. "models.HsbyListingGoodsDetail": {
  8025. "type": "object",
  8026. "required": [
  8027. "goodscode",
  8028. "goodsid",
  8029. "goodsname",
  8030. "marketid",
  8031. "trademode"
  8032. ],
  8033. "properties": {
  8034. "agreeunit": {
  8035. "description": "合约单位",
  8036. "type": "number"
  8037. },
  8038. "buymaxqty": {
  8039. "description": "购买上限 [71] - 0为不限",
  8040. "type": "integer"
  8041. },
  8042. "currency": {
  8043. "description": "货币",
  8044. "type": "string"
  8045. },
  8046. "currencysign": {
  8047. "description": "货币符号",
  8048. "type": "string"
  8049. },
  8050. "decimalplace": {
  8051. "description": "报价小数位",
  8052. "type": "integer"
  8053. },
  8054. "desccityid": {
  8055. "description": "目的地(市)ID",
  8056. "type": "integer"
  8057. },
  8058. "descprovinceid": {
  8059. "description": "目的地(省)ID",
  8060. "type": "integer"
  8061. },
  8062. "goodscode": {
  8063. "description": "商品代码(内部)",
  8064. "type": "string"
  8065. },
  8066. "goodsdesc": {
  8067. "description": "商品详情",
  8068. "type": "string"
  8069. },
  8070. "goodsid": {
  8071. "description": "商品ID(自增ID SEQ_GOODS)",
  8072. "type": "integer"
  8073. },
  8074. "goodsname": {
  8075. "description": "商品名称",
  8076. "type": "string"
  8077. },
  8078. "goodsprice": {
  8079. "description": "商品价格",
  8080. "type": "number"
  8081. },
  8082. "hotindex": {
  8083. "description": "景点热度",
  8084. "type": "integer"
  8085. },
  8086. "last": {
  8087. "description": "现价",
  8088. "type": "number"
  8089. },
  8090. "limitdown": {
  8091. "description": "跌停价",
  8092. "type": "number"
  8093. },
  8094. "limitup": {
  8095. "description": "涨停价",
  8096. "type": "number"
  8097. },
  8098. "lotsize": {
  8099. "description": "手数最小变动单位",
  8100. "type": "integer"
  8101. },
  8102. "marketid": {
  8103. "description": "所属市场ID",
  8104. "type": "integer"
  8105. },
  8106. "picurls": {
  8107. "description": "介绍图片[多张用逗号分隔]",
  8108. "type": "string"
  8109. },
  8110. "quoteminunit": {
  8111. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8112. "type": "integer"
  8113. },
  8114. "stepvalue": {
  8115. "description": "价格最小变动单位",
  8116. "type": "number"
  8117. },
  8118. "trademode": {
  8119. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8120. "type": "integer"
  8121. },
  8122. "vendorattr": {
  8123. "description": "供应商附件(多张,逗号分隔)",
  8124. "type": "string"
  8125. },
  8126. "vendorname": {
  8127. "description": "供应商名称",
  8128. "type": "string"
  8129. },
  8130. "vendorphone": {
  8131. "description": "供应商客服电话",
  8132. "type": "string"
  8133. },
  8134. "videourls": {
  8135. "description": "介绍视频[多张用逗号分隔]",
  8136. "type": "string"
  8137. }
  8138. }
  8139. },
  8140. "models.HsbyMarketGoods": {
  8141. "type": "object",
  8142. "required": [
  8143. "accountid",
  8144. "buyorsell",
  8145. "goodscode",
  8146. "goodsid",
  8147. "goodsname",
  8148. "marketid",
  8149. "orderid",
  8150. "trademode"
  8151. ],
  8152. "properties": {
  8153. "accountid": {
  8154. "description": "账户ID[报价币种]",
  8155. "type": "integer"
  8156. },
  8157. "agreeunit": {
  8158. "description": "合约单位",
  8159. "type": "number"
  8160. },
  8161. "buyorsell": {
  8162. "description": "买卖 - 0:买 1:卖",
  8163. "type": "integer"
  8164. },
  8165. "categoryid": {
  8166. "description": "类别ID(WRCATEGORY)",
  8167. "type": "integer"
  8168. },
  8169. "currency": {
  8170. "description": "货币",
  8171. "type": "string"
  8172. },
  8173. "currencysign": {
  8174. "description": "货币符号",
  8175. "type": "string"
  8176. },
  8177. "customername": {
  8178. "description": "卖家名称",
  8179. "type": "string"
  8180. },
  8181. "decimalplace": {
  8182. "description": "报价小数位",
  8183. "type": "integer"
  8184. },
  8185. "goodscode": {
  8186. "description": "商品代码(内部)",
  8187. "type": "string"
  8188. },
  8189. "goodsid": {
  8190. "description": "商品ID",
  8191. "type": "integer"
  8192. },
  8193. "goodsname": {
  8194. "description": "商品名称",
  8195. "type": "string"
  8196. },
  8197. "hascoupon": {
  8198. "description": "是否可用优惠卷",
  8199. "type": "boolean"
  8200. },
  8201. "hotindex": {
  8202. "description": "景点热度",
  8203. "type": "integer"
  8204. },
  8205. "marketid": {
  8206. "description": "市场ID",
  8207. "type": "integer"
  8208. },
  8209. "orderid": {
  8210. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8211. "type": "string"
  8212. },
  8213. "orderprice": {
  8214. "description": "委托价格",
  8215. "type": "number"
  8216. },
  8217. "orderstatus": {
  8218. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8219. "type": "integer"
  8220. },
  8221. "picurls": {
  8222. "description": "介绍图片[多张用逗号分隔]",
  8223. "type": "string"
  8224. },
  8225. "quoteminunit": {
  8226. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8227. "type": "integer"
  8228. },
  8229. "sellUserID": {
  8230. "description": "卖方UserID",
  8231. "type": "integer"
  8232. },
  8233. "trademode": {
  8234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8235. "type": "integer"
  8236. },
  8237. "videourls": {
  8238. "description": "介绍视频[多张用逗号分隔]",
  8239. "type": "string"
  8240. }
  8241. }
  8242. },
  8243. "models.HsbyMarketGoodsDetail": {
  8244. "type": "object",
  8245. "required": [
  8246. "accountid",
  8247. "buyorsell",
  8248. "goodscode",
  8249. "goodsid",
  8250. "goodsname",
  8251. "marketid",
  8252. "orderid",
  8253. "orderqty",
  8254. "trademode"
  8255. ],
  8256. "properties": {
  8257. "accountid": {
  8258. "description": "账户ID[报价币种]",
  8259. "type": "integer"
  8260. },
  8261. "agreeunit": {
  8262. "description": "合约单位",
  8263. "type": "number"
  8264. },
  8265. "buymaxqty": {
  8266. "description": "购买上限 [71] - 0为不限",
  8267. "type": "integer"
  8268. },
  8269. "buyorsell": {
  8270. "description": "买卖 - 0:买 1:卖",
  8271. "type": "integer"
  8272. },
  8273. "cancelqty": {
  8274. "description": "撤单数量",
  8275. "type": "integer"
  8276. },
  8277. "categoryid": {
  8278. "description": "类别ID(WRCATEGORY)",
  8279. "type": "integer"
  8280. },
  8281. "currency": {
  8282. "description": "货币",
  8283. "type": "string"
  8284. },
  8285. "currencysign": {
  8286. "description": "货币符号",
  8287. "type": "string"
  8288. },
  8289. "customername": {
  8290. "description": "卖家名称",
  8291. "type": "string"
  8292. },
  8293. "decimalplace": {
  8294. "description": "报价小数位",
  8295. "type": "integer"
  8296. },
  8297. "goodscode": {
  8298. "description": "商品代码(内部)",
  8299. "type": "string"
  8300. },
  8301. "goodsdesc": {
  8302. "description": "商品详情",
  8303. "type": "string"
  8304. },
  8305. "goodsid": {
  8306. "description": "商品ID",
  8307. "type": "integer"
  8308. },
  8309. "goodsname": {
  8310. "description": "商品名称",
  8311. "type": "string"
  8312. },
  8313. "hotindex": {
  8314. "description": "景点热度",
  8315. "type": "integer"
  8316. },
  8317. "lotsize": {
  8318. "description": "手数最小变动单位",
  8319. "type": "integer"
  8320. },
  8321. "marketid": {
  8322. "description": "市场ID",
  8323. "type": "integer"
  8324. },
  8325. "orderid": {
  8326. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8327. "type": "string"
  8328. },
  8329. "orderprice": {
  8330. "description": "委托价格",
  8331. "type": "number"
  8332. },
  8333. "orderqty": {
  8334. "description": "委托数量",
  8335. "type": "integer"
  8336. },
  8337. "orderstatus": {
  8338. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8339. "type": "integer"
  8340. },
  8341. "picurls": {
  8342. "description": "介绍图片[多张用逗号分隔]",
  8343. "type": "string"
  8344. },
  8345. "quoteminunit": {
  8346. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8347. "type": "integer"
  8348. },
  8349. "sellUserID": {
  8350. "description": "卖方UserID",
  8351. "type": "integer"
  8352. },
  8353. "trademode": {
  8354. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8355. "type": "integer"
  8356. },
  8357. "tradeqty": {
  8358. "description": "成交数量",
  8359. "type": "integer"
  8360. },
  8361. "vendorname": {
  8362. "description": "供应商名称",
  8363. "type": "string"
  8364. },
  8365. "videourls": {
  8366. "description": "介绍视频[多张用逗号分隔]",
  8367. "type": "string"
  8368. }
  8369. }
  8370. },
  8371. "models.HsbyMarketInfo": {
  8372. "type": "object",
  8373. "required": [
  8374. "marketid",
  8375. "marketstatus",
  8376. "trademode"
  8377. ],
  8378. "properties": {
  8379. "marketid": {
  8380. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8381. "type": "integer"
  8382. },
  8383. "marketname": {
  8384. "description": "市场名称",
  8385. "type": "string"
  8386. },
  8387. "marketstatus": {
  8388. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8389. "type": "integer"
  8390. },
  8391. "trademode": {
  8392. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8393. "type": "integer"
  8394. }
  8395. }
  8396. },
  8397. "models.HsbyMyGoods": {
  8398. "type": "object",
  8399. "required": [
  8400. "accountid",
  8401. "goodscode",
  8402. "goodsid",
  8403. "goodsname",
  8404. "marketid",
  8405. "trademode"
  8406. ],
  8407. "properties": {
  8408. "accountid": {
  8409. "description": "账号Id",
  8410. "type": "integer"
  8411. },
  8412. "agreeunit": {
  8413. "description": "合约单位",
  8414. "type": "number"
  8415. },
  8416. "buyaverageprice": {
  8417. "description": "持仓均价",
  8418. "type": "number"
  8419. },
  8420. "buycurholderamount": {
  8421. "description": "买当前持仓总金额[商品币种]",
  8422. "type": "number"
  8423. },
  8424. "buycurpositionqty": {
  8425. "description": "买当前持仓总数量",
  8426. "type": "integer"
  8427. },
  8428. "currencysign": {
  8429. "description": "货币符号",
  8430. "type": "string"
  8431. },
  8432. "decimalplace": {
  8433. "description": "报价小数位",
  8434. "type": "integer"
  8435. },
  8436. "enableqty": {
  8437. "description": "可用数量",
  8438. "type": "integer"
  8439. },
  8440. "goodscode": {
  8441. "description": "商品代码(内部)",
  8442. "type": "string"
  8443. },
  8444. "goodsid": {
  8445. "description": "商品Id",
  8446. "type": "integer"
  8447. },
  8448. "goodsname": {
  8449. "description": "商品名称",
  8450. "type": "string"
  8451. },
  8452. "goodsprice": {
  8453. "description": "商品价格",
  8454. "type": "number"
  8455. },
  8456. "goodsstatus": {
  8457. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8458. "type": "integer"
  8459. },
  8460. "marketid": {
  8461. "description": "所属市场ID",
  8462. "type": "integer"
  8463. },
  8464. "picurls": {
  8465. "description": "介绍图片[多张用逗号分隔]",
  8466. "type": "string"
  8467. },
  8468. "trademode": {
  8469. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8470. "type": "integer"
  8471. }
  8472. }
  8473. },
  8474. "models.HsbyMyPackage": {
  8475. "type": "object",
  8476. "required": [
  8477. "goodscode",
  8478. "goodsname",
  8479. "takeorderid"
  8480. ],
  8481. "properties": {
  8482. "accountid": {
  8483. "description": "账户ID",
  8484. "type": "integer"
  8485. },
  8486. "address": {
  8487. "description": "提货人详细地址",
  8488. "type": "string"
  8489. },
  8490. "agreeunit": {
  8491. "description": "合约单位",
  8492. "type": "number"
  8493. },
  8494. "amount": {
  8495. "description": "提货金额",
  8496. "type": "number"
  8497. },
  8498. "auditer": {
  8499. "description": "审核人",
  8500. "type": "integer"
  8501. },
  8502. "audittime": {
  8503. "description": "审核时间",
  8504. "type": "string"
  8505. },
  8506. "averageprice": {
  8507. "description": "均价",
  8508. "type": "number"
  8509. },
  8510. "cardnum": {
  8511. "description": "提货人证件号码",
  8512. "type": "string"
  8513. },
  8514. "cardtypeid": {
  8515. "description": "提货人证件类型",
  8516. "type": "integer"
  8517. },
  8518. "checkremark": {
  8519. "description": "审核备注",
  8520. "type": "string"
  8521. },
  8522. "currencysign": {
  8523. "description": "货币符号",
  8524. "type": "string"
  8525. },
  8526. "decimalplace": {
  8527. "description": "报价小数位",
  8528. "type": "integer"
  8529. },
  8530. "goodscode": {
  8531. "description": "商品代码(内部)",
  8532. "type": "string"
  8533. },
  8534. "goodsid": {
  8535. "description": "商品ID",
  8536. "type": "integer"
  8537. },
  8538. "goodsname": {
  8539. "description": "商品名称",
  8540. "type": "string"
  8541. },
  8542. "handlestatus": {
  8543. "description": "处理状态",
  8544. "type": "integer"
  8545. },
  8546. "marketid": {
  8547. "description": "市场ID",
  8548. "type": "integer"
  8549. },
  8550. "phonenum": {
  8551. "description": "提货人联系方式",
  8552. "type": "string"
  8553. },
  8554. "picurls": {
  8555. "description": "介绍图片[多张用逗号分隔]",
  8556. "type": "string"
  8557. },
  8558. "qty": {
  8559. "description": "提货数量",
  8560. "type": "number"
  8561. },
  8562. "recivername": {
  8563. "description": "提货人姓名",
  8564. "type": "string"
  8565. },
  8566. "reqtime": {
  8567. "description": "更新时间",
  8568. "type": "string"
  8569. },
  8570. "takemode": {
  8571. "description": "提货方式 - 2:自提 3:配送",
  8572. "type": "integer"
  8573. },
  8574. "takeorderid": {
  8575. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8576. "type": "string"
  8577. },
  8578. "takeorderstatus": {
  8579. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8580. "type": "integer"
  8581. },
  8582. "takeremark": {
  8583. "description": "提货备注",
  8584. "type": "string"
  8585. },
  8586. "tradedate": {
  8587. "description": "交易日(yyyyMMdd)",
  8588. "type": "string"
  8589. },
  8590. "userid": {
  8591. "description": "用户ID",
  8592. "type": "integer"
  8593. },
  8594. "vendorname": {
  8595. "description": "供应商名称",
  8596. "type": "string"
  8597. }
  8598. }
  8599. },
  8600. "models.HsbyPreGoods": {
  8601. "type": "object",
  8602. "required": [
  8603. "goodscode",
  8604. "goodsid",
  8605. "goodsname",
  8606. "marketid",
  8607. "trademode"
  8608. ],
  8609. "properties": {
  8610. "agreeunit": {
  8611. "description": "合约单位",
  8612. "type": "number"
  8613. },
  8614. "currency": {
  8615. "description": "货币",
  8616. "type": "string"
  8617. },
  8618. "currencysign": {
  8619. "description": "货币符号",
  8620. "type": "string"
  8621. },
  8622. "decimalplace": {
  8623. "description": "报价小数位",
  8624. "type": "integer"
  8625. },
  8626. "enableqty": {
  8627. "description": "剩余数量",
  8628. "type": "integer"
  8629. },
  8630. "goodscode": {
  8631. "description": "商品代码(内部)",
  8632. "type": "string"
  8633. },
  8634. "goodsid": {
  8635. "description": "商品ID(自增ID SEQ_GOODS)",
  8636. "type": "integer"
  8637. },
  8638. "goodsname": {
  8639. "description": "商品名称",
  8640. "type": "string"
  8641. },
  8642. "goodsstatus": {
  8643. "description": "商品状态- 2:未上市 3:上市",
  8644. "type": "integer"
  8645. },
  8646. "lasttradedate": {
  8647. "description": "最后交易日期(状态:待退市)",
  8648. "type": "string"
  8649. },
  8650. "listingdate": {
  8651. "description": "交易开始日期",
  8652. "type": "string"
  8653. },
  8654. "marketid": {
  8655. "description": "所属市场ID",
  8656. "type": "integer"
  8657. },
  8658. "picurls": {
  8659. "description": "介绍图片[多张用逗号分隔]",
  8660. "type": "string"
  8661. },
  8662. "presaledqty": {
  8663. "description": "已预售量(预售结束时更新)",
  8664. "type": "integer"
  8665. },
  8666. "presaleqty": {
  8667. "description": "预售数量",
  8668. "type": "integer"
  8669. },
  8670. "quoteminunit": {
  8671. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8672. "type": "integer"
  8673. },
  8674. "refprice": {
  8675. "description": "参考价格[一口价]",
  8676. "type": "number"
  8677. },
  8678. "relatedgoodsid": {
  8679. "description": "关联交易合约ID",
  8680. "type": "integer"
  8681. },
  8682. "trademode": {
  8683. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8684. "type": "integer"
  8685. },
  8686. "videourls": {
  8687. "description": "介绍视频[多张用逗号分隔]",
  8688. "type": "string"
  8689. }
  8690. }
  8691. },
  8692. "models.HsbyPreGoodsDetail": {
  8693. "type": "object",
  8694. "required": [
  8695. "goodscode",
  8696. "goodsid",
  8697. "goodsname",
  8698. "marketid",
  8699. "trademode"
  8700. ],
  8701. "properties": {
  8702. "agreeunit": {
  8703. "description": "合约单位",
  8704. "type": "number"
  8705. },
  8706. "buymaxqty": {
  8707. "description": "购买上限 [71] - 0为不限",
  8708. "type": "integer"
  8709. },
  8710. "currency": {
  8711. "description": "货币",
  8712. "type": "string"
  8713. },
  8714. "currencysign": {
  8715. "description": "货币符号",
  8716. "type": "string"
  8717. },
  8718. "customername": {
  8719. "description": "发行单位",
  8720. "type": "string"
  8721. },
  8722. "decimalplace": {
  8723. "description": "报价小数位",
  8724. "type": "integer"
  8725. },
  8726. "desccityid": {
  8727. "description": "目的地(市)ID",
  8728. "type": "integer"
  8729. },
  8730. "descprovinceid": {
  8731. "description": "目的地(省)ID",
  8732. "type": "integer"
  8733. },
  8734. "enableqty": {
  8735. "description": "剩余数量",
  8736. "type": "integer"
  8737. },
  8738. "goodscode": {
  8739. "description": "商品代码(内部)",
  8740. "type": "string"
  8741. },
  8742. "goodsdesc": {
  8743. "description": "商品详情",
  8744. "type": "string"
  8745. },
  8746. "goodsid": {
  8747. "description": "商品ID(自增ID SEQ_GOODS)",
  8748. "type": "integer"
  8749. },
  8750. "goodsname": {
  8751. "description": "商品名称",
  8752. "type": "string"
  8753. },
  8754. "goodsstatus": {
  8755. "description": "商品状态- 2:未上市 3:上市",
  8756. "type": "integer"
  8757. },
  8758. "goodunit": {
  8759. "description": "报价单位",
  8760. "type": "string"
  8761. },
  8762. "lasttradedate": {
  8763. "description": "最后交易日期(状态:待退市)",
  8764. "type": "string"
  8765. },
  8766. "listingdate": {
  8767. "description": "交易开始日期",
  8768. "type": "string"
  8769. },
  8770. "lotsize": {
  8771. "description": "手数最小变动单位",
  8772. "type": "integer"
  8773. },
  8774. "marketid": {
  8775. "description": "所属市场ID",
  8776. "type": "integer"
  8777. },
  8778. "picurls": {
  8779. "description": "介绍图片[多张用逗号分隔]",
  8780. "type": "string"
  8781. },
  8782. "presaledqty": {
  8783. "description": "已预售量(预售结束时更新)",
  8784. "type": "integer"
  8785. },
  8786. "presaleqty": {
  8787. "description": "预售数量",
  8788. "type": "integer"
  8789. },
  8790. "quoteminunit": {
  8791. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8792. "type": "integer"
  8793. },
  8794. "refprice": {
  8795. "description": "参考价格[一口价]",
  8796. "type": "number"
  8797. },
  8798. "relatedgoodsid": {
  8799. "description": "关联交易合约ID",
  8800. "type": "integer"
  8801. },
  8802. "stepvalue": {
  8803. "description": "价格最小变动单位",
  8804. "type": "number"
  8805. },
  8806. "trademode": {
  8807. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8808. "type": "integer"
  8809. },
  8810. "vendorattr": {
  8811. "description": "供应商附件(多张,逗号分隔)",
  8812. "type": "string"
  8813. },
  8814. "vendorname": {
  8815. "description": "供应商名称",
  8816. "type": "string"
  8817. },
  8818. "vendorphone": {
  8819. "description": "供应商客服电话",
  8820. "type": "string"
  8821. },
  8822. "videourls": {
  8823. "description": "介绍视频[多张用逗号分隔]",
  8824. "type": "string"
  8825. }
  8826. }
  8827. },
  8828. "models.HsbySellCollectionOrder": {
  8829. "type": "object",
  8830. "required": [
  8831. "goodscode",
  8832. "goodsname",
  8833. "tradeid",
  8834. "trademode"
  8835. ],
  8836. "properties": {
  8837. "agreeunit": {
  8838. "description": "合约单位",
  8839. "type": "number"
  8840. },
  8841. "buyaccountid": {
  8842. "description": "买方账号ID[报价币种]",
  8843. "type": "integer"
  8844. },
  8845. "buyorderid": {
  8846. "description": "买方委托单号",
  8847. "type": "string"
  8848. },
  8849. "createtime": {
  8850. "description": "创建时间",
  8851. "type": "string"
  8852. },
  8853. "currencysign": {
  8854. "description": "货币符号",
  8855. "type": "string"
  8856. },
  8857. "decimalplace": {
  8858. "description": "报价小数位",
  8859. "type": "integer"
  8860. },
  8861. "goodscode": {
  8862. "description": "商品代码(内部)",
  8863. "type": "string"
  8864. },
  8865. "goodsid": {
  8866. "description": "商品ID",
  8867. "type": "integer"
  8868. },
  8869. "goodsname": {
  8870. "description": "商品名称",
  8871. "type": "string"
  8872. },
  8873. "marketid": {
  8874. "description": "市场ID",
  8875. "type": "integer"
  8876. },
  8877. "offamount": {
  8878. "description": "优惠金额",
  8879. "type": "number"
  8880. },
  8881. "payamount": {
  8882. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8883. "type": "number"
  8884. },
  8885. "payflag": {
  8886. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8887. "type": "integer"
  8888. },
  8889. "paylimitedtime": {
  8890. "description": "支付期限",
  8891. "type": "string"
  8892. },
  8893. "paytime": {
  8894. "description": "付款时间",
  8895. "type": "string"
  8896. },
  8897. "picurls": {
  8898. "description": "商品介绍图片[多张用逗号分隔]",
  8899. "type": "string"
  8900. },
  8901. "sellaccountid": {
  8902. "description": "卖方账号ID[报价币种]",
  8903. "type": "integer"
  8904. },
  8905. "sellorderid": {
  8906. "description": "卖方委托单号",
  8907. "type": "string"
  8908. },
  8909. "tradeamount": {
  8910. "description": "成交金额",
  8911. "type": "number"
  8912. },
  8913. "tradecharge": {
  8914. "description": "成交手续费(买方)",
  8915. "type": "number"
  8916. },
  8917. "tradedate": {
  8918. "description": "交易日(yyyyMMdd)",
  8919. "type": "string"
  8920. },
  8921. "tradeid": {
  8922. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8923. "type": "string"
  8924. },
  8925. "trademode": {
  8926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8927. "type": "integer"
  8928. },
  8929. "tradeprice": {
  8930. "description": "成交价格",
  8931. "type": "number"
  8932. },
  8933. "tradeqty": {
  8934. "description": "成交数量",
  8935. "type": "integer"
  8936. }
  8937. }
  8938. },
  8939. "models.HsbySellMyDetail": {
  8940. "type": "object",
  8941. "required": [
  8942. "accountid",
  8943. "buyorsell",
  8944. "goodscode",
  8945. "goodsid",
  8946. "goodsname",
  8947. "marketid",
  8948. "orderid",
  8949. "time",
  8950. "trademode"
  8951. ],
  8952. "properties": {
  8953. "accountid": {
  8954. "description": "账户ID[报价币种]",
  8955. "type": "integer"
  8956. },
  8957. "agreeunit": {
  8958. "description": "合约单位",
  8959. "type": "number"
  8960. },
  8961. "buyorsell": {
  8962. "description": "买卖 - 0:买 1:卖",
  8963. "type": "integer"
  8964. },
  8965. "currencysign": {
  8966. "description": "货币符号",
  8967. "type": "string"
  8968. },
  8969. "decimalplace": {
  8970. "description": "报价小数位",
  8971. "type": "integer"
  8972. },
  8973. "goodscode": {
  8974. "description": "商品代码(内部)",
  8975. "type": "string"
  8976. },
  8977. "goodsid": {
  8978. "description": "商品ID",
  8979. "type": "integer"
  8980. },
  8981. "goodsname": {
  8982. "description": "商品名称",
  8983. "type": "string"
  8984. },
  8985. "marketid": {
  8986. "description": "市场ID",
  8987. "type": "integer"
  8988. },
  8989. "orderid": {
  8990. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8991. "type": "string"
  8992. },
  8993. "ordertype": {
  8994. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8995. "type": "integer"
  8996. },
  8997. "picurls": {
  8998. "description": "介绍图片[多张用逗号分隔]",
  8999. "type": "string"
  9000. },
  9001. "price": {
  9002. "description": "价格",
  9003. "type": "number"
  9004. },
  9005. "qty": {
  9006. "description": "数量",
  9007. "type": "integer"
  9008. },
  9009. "time": {
  9010. "description": "时间",
  9011. "type": "string"
  9012. },
  9013. "trademode": {
  9014. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9015. "type": "integer"
  9016. },
  9017. "vendorname": {
  9018. "description": "供应商名称",
  9019. "type": "string"
  9020. }
  9021. }
  9022. },
  9023. "models.HsbyTopGoods": {
  9024. "type": "object",
  9025. "required": [
  9026. "goodscode",
  9027. "goodsid",
  9028. "goodsname",
  9029. "marketid",
  9030. "trademode"
  9031. ],
  9032. "properties": {
  9033. "agreeunit": {
  9034. "description": "合约单位",
  9035. "type": "number"
  9036. },
  9037. "currency": {
  9038. "description": "货币",
  9039. "type": "string"
  9040. },
  9041. "currencysign": {
  9042. "description": "货币符号",
  9043. "type": "string"
  9044. },
  9045. "decimalplace": {
  9046. "description": "报价小数位",
  9047. "type": "integer"
  9048. },
  9049. "goodscode": {
  9050. "description": "商品代码(内部)",
  9051. "type": "string"
  9052. },
  9053. "goodsid": {
  9054. "description": "商品ID(自增ID SEQ_GOODS)",
  9055. "type": "integer"
  9056. },
  9057. "goodsname": {
  9058. "description": "商品名称",
  9059. "type": "string"
  9060. },
  9061. "hotindex": {
  9062. "description": "景点热度",
  9063. "type": "integer"
  9064. },
  9065. "last": {
  9066. "description": "现价",
  9067. "type": "number"
  9068. },
  9069. "marketid": {
  9070. "description": "所属市场ID",
  9071. "type": "integer"
  9072. },
  9073. "picurls": {
  9074. "description": "介绍图片[多张用逗号分隔]",
  9075. "type": "string"
  9076. },
  9077. "quoteminunit": {
  9078. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9079. "type": "integer"
  9080. },
  9081. "trademode": {
  9082. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9083. "type": "integer"
  9084. },
  9085. "videourls": {
  9086. "description": "介绍视频[多张用逗号分隔]",
  9087. "type": "string"
  9088. }
  9089. }
  9090. },
  9091. "models.HybsMyBuyOrderDetail": {
  9092. "type": "object",
  9093. "required": [
  9094. "accountid",
  9095. "buyorsell",
  9096. "goodscode",
  9097. "goodsid",
  9098. "goodsname",
  9099. "marketid",
  9100. "orderid",
  9101. "orderqty",
  9102. "ordertime",
  9103. "trademode"
  9104. ],
  9105. "properties": {
  9106. "accountid": {
  9107. "description": "账户ID[报价币种]",
  9108. "type": "integer"
  9109. },
  9110. "agreeunit": {
  9111. "description": "合约单位",
  9112. "type": "number"
  9113. },
  9114. "buyorsell": {
  9115. "description": "买卖 - 0:买 1:卖",
  9116. "type": "integer"
  9117. },
  9118. "cancelqty": {
  9119. "description": "撤单数量",
  9120. "type": "integer"
  9121. },
  9122. "currencysign": {
  9123. "description": "货币符号",
  9124. "type": "string"
  9125. },
  9126. "decimalplace": {
  9127. "description": "报价小数位",
  9128. "type": "integer"
  9129. },
  9130. "goodscode": {
  9131. "description": "商品代码(内部)",
  9132. "type": "string"
  9133. },
  9134. "goodsid": {
  9135. "description": "商品ID",
  9136. "type": "integer"
  9137. },
  9138. "goodsname": {
  9139. "description": "商品名称",
  9140. "type": "string"
  9141. },
  9142. "listingselecttype": {
  9143. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9144. "type": "integer"
  9145. },
  9146. "marketid": {
  9147. "description": "市场ID",
  9148. "type": "integer"
  9149. },
  9150. "mybuystatus": {
  9151. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9152. "type": "integer"
  9153. },
  9154. "orderamount": {
  9155. "description": "委托金额",
  9156. "type": "number"
  9157. },
  9158. "orderid": {
  9159. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9160. "type": "string"
  9161. },
  9162. "orderprice": {
  9163. "description": "委托价格",
  9164. "type": "number"
  9165. },
  9166. "orderqty": {
  9167. "description": "委托数量",
  9168. "type": "integer"
  9169. },
  9170. "orderstatus": {
  9171. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9172. "type": "integer"
  9173. },
  9174. "ordertime": {
  9175. "description": "委托时间",
  9176. "type": "string"
  9177. },
  9178. "picurls1": {
  9179. "description": "预售商品介绍图片[多张用逗号分隔]",
  9180. "type": "string"
  9181. },
  9182. "picurls2": {
  9183. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9184. "type": "string"
  9185. },
  9186. "trademode": {
  9187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9188. "type": "integer"
  9189. },
  9190. "tradeqty": {
  9191. "description": "成交数量",
  9192. "type": "integer"
  9193. },
  9194. "vendorname1": {
  9195. "description": "预售商品供应商名称",
  9196. "type": "string"
  9197. },
  9198. "vendorname2": {
  9199. "description": "挂牌商品供应商名称",
  9200. "type": "string"
  9201. }
  9202. }
  9203. },
  9204. "models.Marketrun": {
  9205. "type": "object",
  9206. "required": [
  9207. "marketid",
  9208. "nexttradedate",
  9209. "reckonflag",
  9210. "runstatus",
  9211. "tradedate",
  9212. "tradedate2"
  9213. ],
  9214. "properties": {
  9215. "afternexttradedate": {
  9216. "description": "下下交易日",
  9217. "type": "string"
  9218. },
  9219. "clearquoteflag": {
  9220. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9221. "type": "integer"
  9222. },
  9223. "lastreckondate": {
  9224. "description": "最新交易日(结算成功)",
  9225. "type": "string"
  9226. },
  9227. "machinedate": {
  9228. "description": "机器时间",
  9229. "type": "string"
  9230. },
  9231. "manualflag": {
  9232. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9233. "type": "integer"
  9234. },
  9235. "marketid": {
  9236. "description": "市场ID",
  9237. "type": "integer"
  9238. },
  9239. "nexttradedate": {
  9240. "description": "下一交易日",
  9241. "type": "string"
  9242. },
  9243. "pretradedate": {
  9244. "description": "上一交易日",
  9245. "type": "string"
  9246. },
  9247. "reckonflag": {
  9248. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9249. "type": "integer"
  9250. },
  9251. "runstatus": {
  9252. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9253. "type": "integer"
  9254. },
  9255. "sectionid": {
  9256. "description": "时间段号[多时段时用]",
  9257. "type": "integer"
  9258. },
  9259. "tradedate": {
  9260. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9261. "type": "string"
  9262. },
  9263. "tradedate2": {
  9264. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9265. "type": "string"
  9266. },
  9267. "updatetime": {
  9268. "description": "更新时间",
  9269. "type": "string"
  9270. }
  9271. }
  9272. },
  9273. "models.Messageboard": {
  9274. "type": "object",
  9275. "required": [
  9276. "messageboardid"
  9277. ],
  9278. "properties": {
  9279. "createtime": {
  9280. "description": "创建时间",
  9281. "type": "string"
  9282. },
  9283. "message": {
  9284. "description": "留言信息",
  9285. "type": "string"
  9286. },
  9287. "messageboardid": {
  9288. "description": "留言簿ID(SEQ_MessageBoard)",
  9289. "type": "integer"
  9290. },
  9291. "userid": {
  9292. "description": "用户ID",
  9293. "type": "integer"
  9294. }
  9295. }
  9296. },
  9297. "models.MyCoupon": {
  9298. "type": "object",
  9299. "required": [
  9300. "accountid",
  9301. "coupontypeid"
  9302. ],
  9303. "properties": {
  9304. "accountid": {
  9305. "description": "资金账户ID",
  9306. "type": "integer"
  9307. },
  9308. "areauserid": {
  9309. "description": "所属机构",
  9310. "type": "integer"
  9311. },
  9312. "conditionvalue": {
  9313. "description": "条件阈值(可为0)",
  9314. "type": "number"
  9315. },
  9316. "couponcategroy": {
  9317. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9318. "type": "integer"
  9319. },
  9320. "couponname": {
  9321. "description": "优惠券名称",
  9322. "type": "string"
  9323. },
  9324. "coupontypeid": {
  9325. "description": "优惠券类型ID",
  9326. "type": "string"
  9327. },
  9328. "couponvalue": {
  9329. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9330. "type": "number"
  9331. },
  9332. "curfreezeqty": {
  9333. "description": "期末冻结数量",
  9334. "type": "integer"
  9335. },
  9336. "curqty": {
  9337. "description": "期末数量",
  9338. "type": "integer"
  9339. },
  9340. "isgeneral": {
  9341. "description": "是否通用券 - 0:否 1:是",
  9342. "type": "integer"
  9343. },
  9344. "isunusable": {
  9345. "description": "是否不可用",
  9346. "type": "boolean"
  9347. },
  9348. "limitedflag": {
  9349. "description": "是否指定商品 - 0:不限 1:限制",
  9350. "type": "integer"
  9351. },
  9352. "limitedgoodsids": {
  9353. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9354. "type": "string"
  9355. },
  9356. "orifreezeqty": {
  9357. "description": "期初冻结数量",
  9358. "type": "integer"
  9359. },
  9360. "oriqty": {
  9361. "description": "期初数量",
  9362. "type": "integer"
  9363. },
  9364. "reasontype": {
  9365. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9366. "type": "integer"
  9367. },
  9368. "todaydecrease": {
  9369. "description": "今日减少",
  9370. "type": "integer"
  9371. },
  9372. "todayincrease": {
  9373. "description": "今日增加",
  9374. "type": "integer"
  9375. },
  9376. "userid": {
  9377. "description": "用户ID",
  9378. "type": "integer"
  9379. },
  9380. "userscope": {
  9381. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9382. "type": "string"
  9383. }
  9384. }
  9385. },
  9386. "models.MyCouponHold": {
  9387. "type": "object",
  9388. "required": [
  9389. "couponholdid"
  9390. ],
  9391. "properties": {
  9392. "accountid": {
  9393. "description": "资金账户ID",
  9394. "type": "integer"
  9395. },
  9396. "conditionvalue": {
  9397. "description": "条件阈值(可为0)",
  9398. "type": "number"
  9399. },
  9400. "couponcategroy": {
  9401. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9402. "type": "integer"
  9403. },
  9404. "couponholdid": {
  9405. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9406. "type": "string"
  9407. },
  9408. "couponname": {
  9409. "description": "优惠券名称",
  9410. "type": "string"
  9411. },
  9412. "coupontypeid": {
  9413. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9414. "type": "string"
  9415. },
  9416. "couponvalue": {
  9417. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9418. "type": "number"
  9419. },
  9420. "createtime": {
  9421. "description": "创建时间",
  9422. "type": "string"
  9423. },
  9424. "enddate": {
  9425. "description": "结束日期",
  9426. "type": "string"
  9427. },
  9428. "giveapplyid": {
  9429. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9430. "type": "integer"
  9431. },
  9432. "holdstatus": {
  9433. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9434. "type": "integer"
  9435. },
  9436. "isgeneral": {
  9437. "description": "是否通用券 - 0:否 1:是",
  9438. "type": "integer"
  9439. },
  9440. "limitedflag": {
  9441. "description": "是否指定商品 - 0:不限 1:限制",
  9442. "type": "integer"
  9443. },
  9444. "limitedgoodsids": {
  9445. "description": "指定商品IDs[逗号分隔]",
  9446. "type": "string"
  9447. },
  9448. "qty": {
  9449. "description": "数量(按1平铺)",
  9450. "type": "integer"
  9451. },
  9452. "startdate": {
  9453. "description": "开始日期",
  9454. "type": "string"
  9455. },
  9456. "userid": {
  9457. "description": "用户ID",
  9458. "type": "integer"
  9459. },
  9460. "userscope": {
  9461. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9462. "type": "string"
  9463. }
  9464. }
  9465. },
  9466. "models.MyUsedCoupon": {
  9467. "type": "object",
  9468. "required": [
  9469. "coupontypeid",
  9470. "orderid"
  9471. ],
  9472. "properties": {
  9473. "accountid": {
  9474. "description": "资金账户ID(买方)",
  9475. "type": "integer"
  9476. },
  9477. "conditionvalue": {
  9478. "description": "条件阈值(可为0)",
  9479. "type": "number"
  9480. },
  9481. "couponcategroy": {
  9482. "description": "种类 - 1:现金券 2:折扣券",
  9483. "type": "integer"
  9484. },
  9485. "couponname": {
  9486. "description": "优惠券名称",
  9487. "type": "string"
  9488. },
  9489. "coupontypeid": {
  9490. "description": "优惠券类型ID(买方)",
  9491. "type": "string"
  9492. },
  9493. "couponvalue": {
  9494. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9495. "type": "number"
  9496. },
  9497. "createtime": {
  9498. "description": "创建时间",
  9499. "type": "string"
  9500. },
  9501. "goodsid": {
  9502. "description": "商品ID",
  9503. "type": "integer"
  9504. },
  9505. "handlestatus": {
  9506. "description": "处理状态",
  9507. "type": "integer"
  9508. },
  9509. "marketid": {
  9510. "description": "市场ID",
  9511. "type": "integer"
  9512. },
  9513. "offamount": {
  9514. "description": "优惠金额",
  9515. "type": "number"
  9516. },
  9517. "orderid": {
  9518. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9519. "type": "string"
  9520. },
  9521. "sellaccountid": {
  9522. "description": "资金账户ID(卖方)",
  9523. "type": "integer"
  9524. },
  9525. "tradeamount": {
  9526. "description": "成交金额",
  9527. "type": "number"
  9528. },
  9529. "tradeid": {
  9530. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9531. "type": "string"
  9532. },
  9533. "usedqty": {
  9534. "description": "使用数量",
  9535. "type": "integer"
  9536. }
  9537. }
  9538. },
  9539. "models.OperationPrimaryMenu": {
  9540. "type": "object",
  9541. "properties": {
  9542. "Children": {
  9543. "description": "二级功能菜单",
  9544. "type": "array",
  9545. "items": {
  9546. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9547. }
  9548. },
  9549. "Key": {
  9550. "description": "菜单KEY",
  9551. "type": "string"
  9552. },
  9553. "Label": {
  9554. "description": "菜单标题",
  9555. "type": "string"
  9556. }
  9557. }
  9558. },
  9559. "models.OperationSecondaryMenu": {
  9560. "type": "object",
  9561. "properties": {
  9562. "Key": {
  9563. "description": "菜单KEY",
  9564. "type": "string"
  9565. },
  9566. "Label": {
  9567. "description": "菜单标题",
  9568. "type": "string"
  9569. },
  9570. "TabList": {
  9571. "description": "三级功能菜单",
  9572. "type": "array",
  9573. "items": {
  9574. "$ref": "#/definitions/models.OperationTabMenu"
  9575. }
  9576. }
  9577. }
  9578. },
  9579. "models.OperationTabMenu": {
  9580. "type": "object",
  9581. "properties": {
  9582. "Key": {
  9583. "description": "菜单KEY",
  9584. "type": "string"
  9585. },
  9586. "Label": {
  9587. "description": "菜单标题",
  9588. "type": "string"
  9589. }
  9590. }
  9591. },
  9592. "models.PendingAuditBizModel": {
  9593. "type": "object",
  9594. "properties": {
  9595. "accountid": {
  9596. "description": "现货账户",
  9597. "type": "string"
  9598. },
  9599. "areaname": {
  9600. "description": "所属部门",
  9601. "type": "string"
  9602. },
  9603. "bizid": {
  9604. "description": "业务ID",
  9605. "type": "string"
  9606. },
  9607. "bizname": {
  9608. "description": "业务名称",
  9609. "type": "string"
  9610. },
  9611. "status": {
  9612. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9613. "type": "integer"
  9614. },
  9615. "type": {
  9616. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9617. "type": "integer"
  9618. }
  9619. }
  9620. },
  9621. "models.QuotePrimaryMenu": {
  9622. "type": "object",
  9623. "properties": {
  9624. "Index": {
  9625. "description": "序号",
  9626. "type": "integer"
  9627. },
  9628. "Key": {
  9629. "description": "键名",
  9630. "type": "string"
  9631. },
  9632. "Name": {
  9633. "description": "菜单名称",
  9634. "type": "string"
  9635. },
  9636. "SubMenus": {
  9637. "description": "子菜单",
  9638. "type": "array",
  9639. "items": {
  9640. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9641. }
  9642. },
  9643. "SubTitleType": {
  9644. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9645. "type": "integer"
  9646. },
  9647. "TradeModes": {
  9648. "description": "包含市场交易类型",
  9649. "type": "string"
  9650. }
  9651. }
  9652. },
  9653. "models.QuoteSecondaryMenu": {
  9654. "type": "object",
  9655. "properties": {
  9656. "ExExchangeCode": {
  9657. "description": "外部交易所代码",
  9658. "type": "string"
  9659. },
  9660. "ExExchangeID": {
  9661. "description": "外部交易所ID",
  9662. "type": "integer"
  9663. },
  9664. "GoodsGroupIDs": {
  9665. "description": "商品组ID列表",
  9666. "type": "array",
  9667. "items": {
  9668. "type": "integer"
  9669. }
  9670. },
  9671. "Index": {
  9672. "description": "序号",
  9673. "type": "integer"
  9674. },
  9675. "MarketID": {
  9676. "description": "市场ID",
  9677. "type": "integer"
  9678. },
  9679. "MenuTitle": {
  9680. "description": "菜单标题(市场名称或外部交易所名称)",
  9681. "type": "string"
  9682. },
  9683. "TradeMode": {
  9684. "description": "交易模式",
  9685. "type": "integer"
  9686. }
  9687. }
  9688. },
  9689. "models.SearchGoods": {
  9690. "type": "object",
  9691. "required": [
  9692. "goodscode",
  9693. "goodsid",
  9694. "goodsname",
  9695. "marketid",
  9696. "trademode"
  9697. ],
  9698. "properties": {
  9699. "goodscode": {
  9700. "description": "商品代码(内部)",
  9701. "type": "string"
  9702. },
  9703. "goodsid": {
  9704. "description": "商品ID(自增ID SEQ_GOODS)",
  9705. "type": "integer"
  9706. },
  9707. "goodsname": {
  9708. "description": "商品名称",
  9709. "type": "string"
  9710. },
  9711. "marketid": {
  9712. "description": "所属市场ID",
  9713. "type": "integer"
  9714. },
  9715. "marketname": {
  9716. "description": "市场名称",
  9717. "type": "string"
  9718. },
  9719. "trademode": {
  9720. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9721. "type": "integer"
  9722. }
  9723. }
  9724. },
  9725. "models.Szdz2imageconfig": {
  9726. "type": "object",
  9727. "required": [
  9728. "configid"
  9729. ],
  9730. "properties": {
  9731. "configid": {
  9732. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9733. "type": "integer"
  9734. },
  9735. "imagepath": {
  9736. "description": "图片",
  9737. "type": "string"
  9738. },
  9739. "imagetype": {
  9740. "description": "类型 - 1:App首页轮播 2:我的",
  9741. "type": "integer"
  9742. },
  9743. "sort": {
  9744. "description": "排序",
  9745. "type": "integer"
  9746. },
  9747. "title": {
  9748. "description": "标题",
  9749. "type": "string"
  9750. },
  9751. "url": {
  9752. "description": "链接",
  9753. "type": "string"
  9754. }
  9755. }
  9756. },
  9757. "models.Szdz3convertconfig": {
  9758. "type": "object",
  9759. "required": [
  9760. "converttype",
  9761. "innergoodsid",
  9762. "outergoodscode"
  9763. ],
  9764. "properties": {
  9765. "canin": {
  9766. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9767. "type": "integer"
  9768. },
  9769. "canout": {
  9770. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9771. "type": "integer"
  9772. },
  9773. "converttype": {
  9774. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9775. "type": "integer"
  9776. },
  9777. "createtime": {
  9778. "description": "创建时间",
  9779. "type": "string"
  9780. },
  9781. "creatorid": {
  9782. "description": "创建人",
  9783. "type": "integer"
  9784. },
  9785. "daymaxvalue": {
  9786. "description": "当日最大转入限制",
  9787. "type": "number"
  9788. },
  9789. "freezedays": {
  9790. "description": "冻结天数 [5:花生米转交易]",
  9791. "type": "integer"
  9792. },
  9793. "innergoodsid": {
  9794. "description": "内部商品ID[交易]",
  9795. "type": "integer"
  9796. },
  9797. "inratio": {
  9798. "description": "目标值",
  9799. "type": "integer"
  9800. },
  9801. "modifierid": {
  9802. "description": "修改人",
  9803. "type": "integer"
  9804. },
  9805. "modifytime": {
  9806. "description": "修改时间",
  9807. "type": "string"
  9808. },
  9809. "outergoodscode": {
  9810. "description": "外部商品代码[JD\\PD]",
  9811. "type": "string"
  9812. },
  9813. "outratio": {
  9814. "description": "源值",
  9815. "type": "integer"
  9816. },
  9817. "pddecimalplace": {
  9818. "description": "PD小数位",
  9819. "type": "integer"
  9820. },
  9821. "timemaxvalue": {
  9822. "description": "单次最大转入限制",
  9823. "type": "number"
  9824. },
  9825. "timeminvalue": {
  9826. "description": "单次最小转入限制",
  9827. "type": "number"
  9828. }
  9829. }
  9830. },
  9831. "models.Szdz3searchwhitelist": {
  9832. "type": "object",
  9833. "required": [
  9834. "userid"
  9835. ],
  9836. "properties": {
  9837. "createtime": {
  9838. "description": "创建时间",
  9839. "type": "string"
  9840. },
  9841. "creatorid": {
  9842. "description": "创建人",
  9843. "type": "integer"
  9844. },
  9845. "modifierid": {
  9846. "description": "修改人",
  9847. "type": "integer"
  9848. },
  9849. "modifytime": {
  9850. "description": "修改时间",
  9851. "type": "string"
  9852. },
  9853. "userid": {
  9854. "description": "用户ID",
  9855. "type": "integer"
  9856. }
  9857. }
  9858. },
  9859. "models.Tablecolumnconfig": {
  9860. "type": "object",
  9861. "required": [
  9862. "autoid"
  9863. ],
  9864. "properties": {
  9865. "aligntype": {
  9866. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9867. "type": "integer"
  9868. },
  9869. "autoid": {
  9870. "description": "AutoID",
  9871. "type": "integer"
  9872. },
  9873. "columnfield": {
  9874. "description": "列字段",
  9875. "type": "string"
  9876. },
  9877. "columntitle": {
  9878. "description": "列Title",
  9879. "type": "string"
  9880. },
  9881. "columnwidth": {
  9882. "description": "列宽",
  9883. "type": "string"
  9884. },
  9885. "formatterstring": {
  9886. "description": "格式化字符",
  9887. "type": "string"
  9888. },
  9889. "formattertype": {
  9890. "description": "格式化类型",
  9891. "type": "string"
  9892. },
  9893. "groupname": {
  9894. "description": "表头分组名称",
  9895. "type": "string"
  9896. },
  9897. "isshow": {
  9898. "description": "是否显示 - 0:不显示 1:显示",
  9899. "type": "integer"
  9900. },
  9901. "needsummary": {
  9902. "description": "是否需要汇总 - 0:不需要 1:需要",
  9903. "type": "integer"
  9904. },
  9905. "orderindex": {
  9906. "description": "顺序",
  9907. "type": "integer"
  9908. },
  9909. "remark": {
  9910. "description": "备注",
  9911. "type": "string"
  9912. },
  9913. "summarytype": {
  9914. "description": "汇总类型 - 1:加总 2:最后一个",
  9915. "type": "integer"
  9916. },
  9917. "tablekey": {
  9918. "description": "列表Key",
  9919. "type": "string"
  9920. }
  9921. }
  9922. },
  9923. "models.Useraccount": {
  9924. "type": "object",
  9925. "required": [
  9926. "userid"
  9927. ],
  9928. "properties": {
  9929. "accountname": {
  9930. "description": "账户名称(机构名称)",
  9931. "type": "string"
  9932. },
  9933. "accountstatus": {
  9934. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9935. "type": "integer"
  9936. },
  9937. "auditremark": {
  9938. "description": "审核备注",
  9939. "type": "string"
  9940. },
  9941. "audittime": {
  9942. "description": "审核时间",
  9943. "type": "string"
  9944. },
  9945. "audituserid": {
  9946. "description": "审核人",
  9947. "type": "integer"
  9948. },
  9949. "broker": {
  9950. "description": "所属经纪人ID",
  9951. "type": "integer"
  9952. },
  9953. "canceltime": {
  9954. "description": "销户时间",
  9955. "type": "string"
  9956. },
  9957. "canceluserid": {
  9958. "description": "销户人",
  9959. "type": "integer"
  9960. },
  9961. "createtime": {
  9962. "description": "创建时间",
  9963. "type": "string"
  9964. },
  9965. "creatorid": {
  9966. "description": "创建人",
  9967. "type": "integer"
  9968. },
  9969. "hasauth": {
  9970. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9971. "type": "integer"
  9972. },
  9973. "isanonymous": {
  9974. "description": "是否匿名下单 - 0:否 1:是",
  9975. "type": "integer"
  9976. },
  9977. "maxinvestornum": {
  9978. "description": "最大用户数(经纪会员下投资者个数)",
  9979. "type": "integer"
  9980. },
  9981. "memberuserid": {
  9982. "description": "所属会员ID",
  9983. "type": "integer"
  9984. },
  9985. "modifierid": {
  9986. "description": "修改人",
  9987. "type": "integer"
  9988. },
  9989. "modifyremark": {
  9990. "description": "变更备注",
  9991. "type": "string"
  9992. },
  9993. "modifystatus": {
  9994. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9995. "type": "integer"
  9996. },
  9997. "modifytime": {
  9998. "description": "修改时间",
  9999. "type": "string"
  10000. },
  10001. "parentuserid": {
  10002. "description": "所属机构ID",
  10003. "type": "integer"
  10004. },
  10005. "reckonaccountid": {
  10006. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10007. "type": "integer"
  10008. },
  10009. "refercount": {
  10010. "description": "推荐总人数",
  10011. "type": "integer"
  10012. },
  10013. "refereeuserid": {
  10014. "description": "推荐人ID",
  10015. "type": "integer"
  10016. },
  10017. "refernum": {
  10018. "description": "推荐码",
  10019. "type": "string"
  10020. },
  10021. "subarealevelpath": {
  10022. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10023. "type": "string"
  10024. },
  10025. "userid": {
  10026. "description": "用户ID",
  10027. "type": "integer"
  10028. },
  10029. "usertype": {
  10030. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10031. "type": "integer"
  10032. }
  10033. }
  10034. },
  10035. "models.Userfavoritegoods": {
  10036. "type": "object",
  10037. "required": [
  10038. "goodsid"
  10039. ],
  10040. "properties": {
  10041. "goodsid": {
  10042. "description": "商品ID",
  10043. "type": "integer"
  10044. }
  10045. }
  10046. },
  10047. "models.Userinfo": {
  10048. "type": "object",
  10049. "required": [
  10050. "userid"
  10051. ],
  10052. "properties": {
  10053. "address": {
  10054. "description": "地址",
  10055. "type": "string"
  10056. },
  10057. "attachment1": {
  10058. "description": "附件1",
  10059. "type": "string"
  10060. },
  10061. "attachment2": {
  10062. "description": "附件2",
  10063. "type": "string"
  10064. },
  10065. "bankaccount": {
  10066. "description": "银行帐号 (加密存储)",
  10067. "type": "string"
  10068. },
  10069. "bankaccountname": {
  10070. "description": "收款人名称",
  10071. "type": "string"
  10072. },
  10073. "bankcardfrontphotourl": {
  10074. "description": "银行卡正面照地址",
  10075. "type": "string"
  10076. },
  10077. "bankid": {
  10078. "description": "银行编码",
  10079. "type": "string"
  10080. },
  10081. "bankname": {
  10082. "description": "银行名称",
  10083. "type": "string"
  10084. },
  10085. "biznature": {
  10086. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10087. "type": "integer"
  10088. },
  10089. "bizscope": {
  10090. "description": "企业经营范围(企业)",
  10091. "type": "string"
  10092. },
  10093. "cardbackphotourl": {
  10094. "description": "证件背面图片地址",
  10095. "type": "string"
  10096. },
  10097. "cardfrontphotourl": {
  10098. "description": "证件正面图片地址",
  10099. "type": "string"
  10100. },
  10101. "cardnum": {
  10102. "description": "证件号码(加密存储)",
  10103. "type": "string"
  10104. },
  10105. "cardtypeid": {
  10106. "description": "证件类型ID",
  10107. "type": "integer"
  10108. },
  10109. "cityid": {
  10110. "description": "市",
  10111. "type": "integer"
  10112. },
  10113. "company": {
  10114. "description": "公司(个人)",
  10115. "type": "string"
  10116. },
  10117. "contactname": {
  10118. "description": "联系人",
  10119. "type": "string"
  10120. },
  10121. "countryid": {
  10122. "description": "国家",
  10123. "type": "integer"
  10124. },
  10125. "createtime": {
  10126. "description": "创建时间",
  10127. "type": "string"
  10128. },
  10129. "creatorid": {
  10130. "description": "创建人",
  10131. "type": "integer"
  10132. },
  10133. "customername": {
  10134. "description": "客户名称(企业名称)",
  10135. "type": "string"
  10136. },
  10137. "districtid": {
  10138. "description": "地区",
  10139. "type": "integer"
  10140. },
  10141. "email": {
  10142. "description": "邮件(加密存储)",
  10143. "type": "string"
  10144. },
  10145. "fax": {
  10146. "description": "传真(加密存储)",
  10147. "type": "string"
  10148. },
  10149. "halfbodyphotourl": {
  10150. "description": "半身照地址",
  10151. "type": "string"
  10152. },
  10153. "hasencrypt": {
  10154. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10155. "type": "integer"
  10156. },
  10157. "headurl": {
  10158. "description": "头像地址",
  10159. "type": "string"
  10160. },
  10161. "legalcardbackphotourl": {
  10162. "description": "法人身份证背面照地址",
  10163. "type": "string"
  10164. },
  10165. "legalcardfrontphotourl": {
  10166. "description": "法人身份证正面照地址",
  10167. "type": "string"
  10168. },
  10169. "legalpersonname": {
  10170. "description": "法人姓名(企业)",
  10171. "type": "string"
  10172. },
  10173. "mobile": {
  10174. "description": "手机号码(加密存储)",
  10175. "type": "string"
  10176. },
  10177. "mobile2": {
  10178. "description": "手机号码[明文-尚志]",
  10179. "type": "string"
  10180. },
  10181. "modifierid": {
  10182. "description": "修改人",
  10183. "type": "integer"
  10184. },
  10185. "modifiertime": {
  10186. "description": "修改时间",
  10187. "type": "string"
  10188. },
  10189. "needinvoice": {
  10190. "description": "是否需要发票 - 0:不需要 1:需要",
  10191. "type": "integer"
  10192. },
  10193. "nickname": {
  10194. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10195. "type": "string"
  10196. },
  10197. "openmode": {
  10198. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10199. "type": "integer"
  10200. },
  10201. "otherurl": {
  10202. "description": "其它图片地址[使用分号分隔]",
  10203. "type": "string"
  10204. },
  10205. "postalcode": {
  10206. "description": "邮政编码",
  10207. "type": "string"
  10208. },
  10209. "provinceid": {
  10210. "description": "省",
  10211. "type": "integer"
  10212. },
  10213. "qq": {
  10214. "description": "QQ(加密存储",
  10215. "type": "string"
  10216. },
  10217. "remark": {
  10218. "description": "备注",
  10219. "type": "string"
  10220. },
  10221. "sex": {
  10222. "description": "用户性别 0: 女 1: 男",
  10223. "type": "integer"
  10224. },
  10225. "signpdfurl": {
  10226. "description": "签约pdf文件",
  10227. "type": "string"
  10228. },
  10229. "telphone": {
  10230. "description": "联系电话(加密存储)",
  10231. "type": "string"
  10232. },
  10233. "userid": {
  10234. "description": "用户ID",
  10235. "type": "integer"
  10236. },
  10237. "userinfotype": {
  10238. "description": "用户信息类型 - 1:个人 2:企业",
  10239. "type": "integer"
  10240. },
  10241. "userstatus": {
  10242. "description": "用户状态 - 1:正常 2:注销",
  10243. "type": "integer"
  10244. },
  10245. "usertype": {
  10246. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10247. "type": "integer"
  10248. },
  10249. "wechat": {
  10250. "description": "微信(加密存储)",
  10251. "type": "string"
  10252. },
  10253. "wskhinfo": {
  10254. "description": "开户申请信息(JSON)",
  10255. "type": "string"
  10256. }
  10257. }
  10258. },
  10259. "models.WRCategoryTree": {
  10260. "type": "object",
  10261. "required": [
  10262. "categoryid"
  10263. ],
  10264. "properties": {
  10265. "areauserid": {
  10266. "description": "所属机构",
  10267. "type": "integer"
  10268. },
  10269. "categorydesc": {
  10270. "description": "类别描述",
  10271. "type": "string"
  10272. },
  10273. "categoryid": {
  10274. "description": "类别ID(SEQ_WRCATEGORY)",
  10275. "type": "integer"
  10276. },
  10277. "categoryname": {
  10278. "description": "类别名称",
  10279. "type": "string"
  10280. },
  10281. "iconurl": {
  10282. "description": "图标地址",
  10283. "type": "string"
  10284. },
  10285. "orderindex": {
  10286. "description": "顺序",
  10287. "type": "integer"
  10288. },
  10289. "parentcategoryid": {
  10290. "description": "父类别ID",
  10291. "type": "integer"
  10292. },
  10293. "subcategory": {
  10294. "description": "子分类",
  10295. "type": "array",
  10296. "items": {
  10297. "$ref": "#/definitions/models.WRCategoryTree"
  10298. }
  10299. }
  10300. }
  10301. },
  10302. "models.WRStandardInfo": {
  10303. "type": "object",
  10304. "required": [
  10305. "wrstandardid"
  10306. ],
  10307. "properties": {
  10308. "createtime": {
  10309. "description": "创建时间",
  10310. "type": "string"
  10311. },
  10312. "creatorid": {
  10313. "description": "创建人",
  10314. "type": "integer"
  10315. },
  10316. "deliverygoodsid": {
  10317. "description": "品种ID",
  10318. "type": "integer"
  10319. },
  10320. "deliverygoodsname": {
  10321. "description": "交割商品名称",
  10322. "type": "string"
  10323. },
  10324. "factoryitemjson": {
  10325. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10326. "type": "string"
  10327. },
  10328. "isvalid": {
  10329. "description": "是否有效 - 0:无效 1:有效",
  10330. "type": "integer"
  10331. },
  10332. "minivalue": {
  10333. "description": "最小变动值",
  10334. "type": "integer"
  10335. },
  10336. "minivaluedp": {
  10337. "description": "最小变动值小数位",
  10338. "type": "integer"
  10339. },
  10340. "realminivalue": {
  10341. "description": "实际最小变动值",
  10342. "type": "integer"
  10343. },
  10344. "realminivaluedp": {
  10345. "description": "实际最小变动值小数位",
  10346. "type": "integer"
  10347. },
  10348. "unitid": {
  10349. "description": "单位ID",
  10350. "type": "integer"
  10351. },
  10352. "unitname": {
  10353. "description": "单位",
  10354. "type": "string"
  10355. },
  10356. "updatetime": {
  10357. "description": "更新时间",
  10358. "type": "string"
  10359. },
  10360. "updatorid": {
  10361. "description": "更新人",
  10362. "type": "integer"
  10363. },
  10364. "wrsstatus": {
  10365. "description": "状态 - 作废 - 0:未激活 1:正常",
  10366. "type": "integer"
  10367. },
  10368. "wrstandardcode": {
  10369. "description": "仓单标准代码",
  10370. "type": "string"
  10371. },
  10372. "wrstandardid": {
  10373. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10374. "type": "integer"
  10375. },
  10376. "wrstandardname": {
  10377. "description": "仓单标准名称",
  10378. "type": "string"
  10379. }
  10380. }
  10381. },
  10382. "models.Warehouseinfo": {
  10383. "type": "object",
  10384. "required": [
  10385. "autoid",
  10386. "warehousecode"
  10387. ],
  10388. "properties": {
  10389. "address": {
  10390. "description": "详细地址",
  10391. "type": "string"
  10392. },
  10393. "areauserid": {
  10394. "description": "所属机构",
  10395. "type": "integer"
  10396. },
  10397. "autoid": {
  10398. "description": "自增ID",
  10399. "type": "integer"
  10400. },
  10401. "cityid": {
  10402. "description": "市",
  10403. "type": "integer"
  10404. },
  10405. "contactname": {
  10406. "description": "联系人",
  10407. "type": "string"
  10408. },
  10409. "contactnum": {
  10410. "description": "联系电话",
  10411. "type": "string"
  10412. },
  10413. "countryid": {
  10414. "description": "国家",
  10415. "type": "integer"
  10416. },
  10417. "createtime": {
  10418. "description": "创建时间",
  10419. "type": "string"
  10420. },
  10421. "districtid": {
  10422. "description": "区",
  10423. "type": "integer"
  10424. },
  10425. "hasvideo": {
  10426. "description": "是否有视频 - 0:无 1:有",
  10427. "type": "integer"
  10428. },
  10429. "provinceid": {
  10430. "description": "省",
  10431. "type": "integer"
  10432. },
  10433. "remark": {
  10434. "description": "审核备注",
  10435. "type": "string"
  10436. },
  10437. "videourl": {
  10438. "description": "视频地址",
  10439. "type": "string"
  10440. },
  10441. "warehousecode": {
  10442. "description": "仓库代码",
  10443. "type": "string"
  10444. },
  10445. "warehousename": {
  10446. "description": "仓库名称",
  10447. "type": "string"
  10448. },
  10449. "warehousestatus": {
  10450. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10451. "type": "integer"
  10452. },
  10453. "warehousetype": {
  10454. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10455. "type": "integer"
  10456. }
  10457. }
  10458. },
  10459. "order.QueryHisTradeDetailRsp": {
  10460. "type": "object",
  10461. "required": [
  10462. "accountid",
  10463. "buyorsell",
  10464. "goodsid",
  10465. "histradedate",
  10466. "marketid",
  10467. "memberuserid",
  10468. "orderid",
  10469. "tradeamount",
  10470. "tradedate",
  10471. "tradeid",
  10472. "tradeprice",
  10473. "tradeqty",
  10474. "tradetime"
  10475. ],
  10476. "properties": {
  10477. "accountid": {
  10478. "description": "账户ID[报价币种]",
  10479. "type": "integer"
  10480. },
  10481. "buildtype": {
  10482. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10483. "type": "integer"
  10484. },
  10485. "buyorsell": {
  10486. "description": "方向 - 0:买 1:卖",
  10487. "type": "integer"
  10488. },
  10489. "charge": {
  10490. "description": "手续费",
  10491. "type": "number"
  10492. },
  10493. "closecharge": {
  10494. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10495. "type": "number"
  10496. },
  10497. "closeexchagechargevalue": {
  10498. "description": "平仓交易所手续费设置值",
  10499. "type": "number"
  10500. },
  10501. "closefeealgorithm": {
  10502. "description": "平仓手续费收取方式 1:比率 2:固定",
  10503. "type": "integer"
  10504. },
  10505. "closememberchargevalue": {
  10506. "description": "平仓会员手续费设置值",
  10507. "type": "number"
  10508. },
  10509. "closepl": {
  10510. "description": "平仓盈亏",
  10511. "type": "number"
  10512. },
  10513. "closepl2": {
  10514. "description": "平仓盈亏[逐笔]",
  10515. "type": "number"
  10516. },
  10517. "closeqty": {
  10518. "description": "平仓数量(先建后平操作 需要记录)",
  10519. "type": "integer"
  10520. },
  10521. "creditamount": {
  10522. "description": "授信金额",
  10523. "type": "number"
  10524. },
  10525. "gcaccountid": {
  10526. "description": "账户ID[合约币种]",
  10527. "type": "integer"
  10528. },
  10529. "goodscode": {
  10530. "description": "商品代码",
  10531. "type": "string"
  10532. },
  10533. "goodsid": {
  10534. "description": "商品ID",
  10535. "type": "integer"
  10536. },
  10537. "goodsname": {
  10538. "description": "商品名称",
  10539. "type": "string"
  10540. },
  10541. "histradedate": {
  10542. "description": "历史交易日",
  10543. "type": "string"
  10544. },
  10545. "intclosepl": {
  10546. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10547. "type": "integer"
  10548. },
  10549. "isconfirmexercise": {
  10550. "description": "是否确认行权- 0:否 1:是",
  10551. "type": "integer"
  10552. },
  10553. "ismain": {
  10554. "description": "是否主单 - 0:不是 1:是",
  10555. "type": "integer"
  10556. },
  10557. "ispreexercise": {
  10558. "description": "是否预申报- 0:否 1:是",
  10559. "type": "integer"
  10560. },
  10561. "isreckoned": {
  10562. "description": "是否结算 - 0:未结算 1:已结算",
  10563. "type": "integer"
  10564. },
  10565. "isvaliddata": {
  10566. "description": "是否有效 - 0:无效 1:有效",
  10567. "type": "integer"
  10568. },
  10569. "listingselecttype": {
  10570. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10571. "type": "integer"
  10572. },
  10573. "marketid": {
  10574. "description": "市场ID",
  10575. "type": "integer"
  10576. },
  10577. "marketname": {
  10578. "description": "市场名称",
  10579. "type": "string"
  10580. },
  10581. "matchaccountid": {
  10582. "description": "对手账号id",
  10583. "type": "integer"
  10584. },
  10585. "memberuserid": {
  10586. "description": "会员id 个人投资者 需要填写",
  10587. "type": "integer"
  10588. },
  10589. "opencharge": {
  10590. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10591. "type": "number"
  10592. },
  10593. "openexchagechargevalue": {
  10594. "description": "建仓交易所手续费设置值",
  10595. "type": "number"
  10596. },
  10597. "openfeealgorithm": {
  10598. "description": "建仓手续费收取方式 1:比率 2:固定",
  10599. "type": "integer"
  10600. },
  10601. "openmemberchargevalue": {
  10602. "description": "建仓会员手续费设置值",
  10603. "type": "number"
  10604. },
  10605. "openqty": {
  10606. "description": "开仓数量(先建后平操作 需要记录)",
  10607. "type": "integer"
  10608. },
  10609. "optiontype": {
  10610. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10611. "type": "integer"
  10612. },
  10613. "orderid": {
  10614. "description": "委托单号",
  10615. "type": "string"
  10616. },
  10617. "performanceplanid": {
  10618. "description": "履约计划ID[期权]",
  10619. "type": "integer"
  10620. },
  10621. "performancestatus": {
  10622. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10623. "type": "integer"
  10624. },
  10625. "preexerciseprice": {
  10626. "description": "预申报价格",
  10627. "type": "number"
  10628. },
  10629. "premium": {
  10630. "description": "权利金 - [持仓单的权利金]",
  10631. "type": "number"
  10632. },
  10633. "relatedouttradeid": {
  10634. "description": "关联外部成交单ID",
  10635. "type": "integer"
  10636. },
  10637. "status": {
  10638. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10639. "type": "integer"
  10640. },
  10641. "tradeamount": {
  10642. "description": "成交金额[账户币种,用于所有权]",
  10643. "type": "number"
  10644. },
  10645. "tradedate": {
  10646. "description": "交易日(yyyyMMdd)",
  10647. "type": "string"
  10648. },
  10649. "tradeid": {
  10650. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10651. "type": "string"
  10652. },
  10653. "trademode": {
  10654. "description": "交易模式",
  10655. "type": "integer"
  10656. },
  10657. "tradeprice": {
  10658. "description": "成交价格",
  10659. "type": "number"
  10660. },
  10661. "tradeproperty": {
  10662. "description": "交易属性",
  10663. "type": "integer"
  10664. },
  10665. "tradeqty": {
  10666. "description": "成交数量",
  10667. "type": "integer"
  10668. },
  10669. "tradetime": {
  10670. "description": "成交时间",
  10671. "type": "string"
  10672. },
  10673. "tradetype": {
  10674. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10675. "type": "integer"
  10676. }
  10677. }
  10678. },
  10679. "order.QueryHisTradeOrderDetailRsp": {
  10680. "type": "object",
  10681. "required": [
  10682. "accountid",
  10683. "buildtype",
  10684. "buyorsell",
  10685. "goodsid",
  10686. "histradedate",
  10687. "marketid",
  10688. "memberuserid",
  10689. "operatetype",
  10690. "orderid",
  10691. "orderqty",
  10692. "ordertime",
  10693. "pricemode",
  10694. "tradedate",
  10695. "validtype"
  10696. ],
  10697. "properties": {
  10698. "accountid": {
  10699. "description": "账户ID[报价币种]",
  10700. "type": "integer"
  10701. },
  10702. "buildtype": {
  10703. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10704. "type": "integer"
  10705. },
  10706. "buyorsell": {
  10707. "description": "买卖 - 0:买 1:卖",
  10708. "type": "integer"
  10709. },
  10710. "cancelorderid": {
  10711. "description": "撤单单号(撤单时填写)",
  10712. "type": "string"
  10713. },
  10714. "cancelqty": {
  10715. "description": "撤单数量",
  10716. "type": "integer"
  10717. },
  10718. "clientordertime": {
  10719. "description": "客户端委托时间",
  10720. "type": "string"
  10721. },
  10722. "clientticket": {
  10723. "description": "客户端流水号",
  10724. "type": "string"
  10725. },
  10726. "clienttype": {
  10727. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10728. "type": "integer"
  10729. },
  10730. "closeexchagechargevalue": {
  10731. "description": "平仓交易所手续费设置值",
  10732. "type": "number"
  10733. },
  10734. "closefeealgorithm": {
  10735. "description": "平仓手续费收取方式 1:比率 2:固定",
  10736. "type": "integer"
  10737. },
  10738. "closefreezecharge": {
  10739. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10740. "type": "number"
  10741. },
  10742. "closememberchargevalue": {
  10743. "description": "平仓会员手续费设置值",
  10744. "type": "number"
  10745. },
  10746. "closeqty": {
  10747. "description": "平仓数量(先建后平操作 需要记录)",
  10748. "type": "integer"
  10749. },
  10750. "closetradeqty": {
  10751. "description": "平仓成交数量(先建后平操作,需要记录)",
  10752. "type": "integer"
  10753. },
  10754. "closeunfreezecharge": {
  10755. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10756. "type": "number"
  10757. },
  10758. "delistingtype": {
  10759. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10760. "type": "integer"
  10761. },
  10762. "freezecharge": {
  10763. "description": "冻结手续费",
  10764. "type": "number"
  10765. },
  10766. "freezemargin": {
  10767. "description": "冻结保证金(冻结交易金额)",
  10768. "type": "number"
  10769. },
  10770. "gcaccountid": {
  10771. "description": "账户ID[合约币种]",
  10772. "type": "integer"
  10773. },
  10774. "goodscode": {
  10775. "description": "商品代码",
  10776. "type": "string"
  10777. },
  10778. "goodsid": {
  10779. "description": "商品ID",
  10780. "type": "integer"
  10781. },
  10782. "goodsname": {
  10783. "description": "商品名称",
  10784. "type": "string"
  10785. },
  10786. "histradedate": {
  10787. "description": "历史交易日",
  10788. "type": "string"
  10789. },
  10790. "isconfirmexercise": {
  10791. "description": "是否确认行权- 0:否 1:是",
  10792. "type": "integer"
  10793. },
  10794. "ispreexercise": {
  10795. "description": "是否预申报- 0:否 1:是",
  10796. "type": "integer"
  10797. },
  10798. "isvaliddata": {
  10799. "description": "是否有效 - 0:无效 1:有效",
  10800. "type": "integer"
  10801. },
  10802. "listingselecttype": {
  10803. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10804. "type": "integer"
  10805. },
  10806. "marginalgorithm": {
  10807. "description": "保证金收取方式 1:比率 2:固定",
  10808. "type": "integer"
  10809. },
  10810. "marginvalue": {
  10811. "description": "即市保证金设置值",
  10812. "type": "number"
  10813. },
  10814. "marketid": {
  10815. "description": "市场ID",
  10816. "type": "integer"
  10817. },
  10818. "marketmaxsub": {
  10819. "description": "市价最大偏移范围",
  10820. "type": "number"
  10821. },
  10822. "marketname": {
  10823. "description": "市场名称",
  10824. "type": "string"
  10825. },
  10826. "memberuserid": {
  10827. "description": "所属会员UserID",
  10828. "type": "integer"
  10829. },
  10830. "openexchagechargevalue": {
  10831. "description": "建仓交易所手续费设置值",
  10832. "type": "number"
  10833. },
  10834. "openfeealgorithm": {
  10835. "description": "建仓手续费收取方式 1:比率 2:固定",
  10836. "type": "integer"
  10837. },
  10838. "openfreezecharge": {
  10839. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10840. "type": "number"
  10841. },
  10842. "openmemberchargevalue": {
  10843. "description": "建仓会员手续费设置值",
  10844. "type": "number"
  10845. },
  10846. "openqty": {
  10847. "description": "开仓数量(先建后平操作,需要记录)",
  10848. "type": "integer"
  10849. },
  10850. "opentradeqty": {
  10851. "description": "开仓成交数量(先建后平操作,需要记录)",
  10852. "type": "integer"
  10853. },
  10854. "openunfreezecharge": {
  10855. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10856. "type": "number"
  10857. },
  10858. "operatetype": {
  10859. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10860. "type": "integer"
  10861. },
  10862. "operatorid": {
  10863. "description": "登录账号(LoginID)",
  10864. "type": "integer"
  10865. },
  10866. "optiontype": {
  10867. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10868. "type": "integer"
  10869. },
  10870. "orderid": {
  10871. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10872. "type": "string"
  10873. },
  10874. "orderprice": {
  10875. "description": "委托价格",
  10876. "type": "number"
  10877. },
  10878. "orderqty": {
  10879. "description": "委托数量",
  10880. "type": "integer"
  10881. },
  10882. "ordersrc": {
  10883. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10884. "type": "integer"
  10885. },
  10886. "orderstatus": {
  10887. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10888. "type": "integer"
  10889. },
  10890. "ordertime": {
  10891. "description": "委托时间",
  10892. "type": "string"
  10893. },
  10894. "preexerciseprice": {
  10895. "description": "预申报价格",
  10896. "type": "number"
  10897. },
  10898. "premium": {
  10899. "description": "权利金",
  10900. "type": "number"
  10901. },
  10902. "preorderid": {
  10903. "description": "关联预埋单号(止盈止损单时填写)",
  10904. "type": "string"
  10905. },
  10906. "pricemode": {
  10907. "description": "取价方式 - 1:市价 2: 限价",
  10908. "type": "integer"
  10909. },
  10910. "quoteid": {
  10911. "description": "报价单ID",
  10912. "type": "integer"
  10913. },
  10914. "relatedid": {
  10915. "description": "关联单号(交割单)",
  10916. "type": "string"
  10917. },
  10918. "retcode": {
  10919. "description": "错误代码",
  10920. "type": "integer"
  10921. },
  10922. "sessionid": {
  10923. "description": "会话ID",
  10924. "type": "integer"
  10925. },
  10926. "tradedate": {
  10927. "description": "交易日(yyyyMMdd)",
  10928. "type": "string"
  10929. },
  10930. "trademode": {
  10931. "description": "交易模式",
  10932. "type": "integer"
  10933. },
  10934. "tradeproperty": {
  10935. "description": "交易属性",
  10936. "type": "integer"
  10937. },
  10938. "tradeqty": {
  10939. "description": "成交数量",
  10940. "type": "integer"
  10941. },
  10942. "unfreezecharge": {
  10943. "description": "解冻手续费",
  10944. "type": "number"
  10945. },
  10946. "unfreezemargin": {
  10947. "description": "解冻保证金",
  10948. "type": "number"
  10949. },
  10950. "updatetime": {
  10951. "description": "更新时间",
  10952. "type": "string"
  10953. },
  10954. "uuid": {
  10955. "description": "发起端唯一id",
  10956. "type": "string"
  10957. },
  10958. "validtime": {
  10959. "description": "有效期限",
  10960. "type": "string"
  10961. },
  10962. "validtype": {
  10963. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10964. "type": "integer"
  10965. },
  10966. "volumetype": {
  10967. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10968. "type": "integer"
  10969. }
  10970. }
  10971. },
  10972. "order.QueryTradeDetailRsp": {
  10973. "type": "object",
  10974. "required": [
  10975. "accountid",
  10976. "buyorsell",
  10977. "goodsid",
  10978. "marketid",
  10979. "memberuserid",
  10980. "orderid",
  10981. "tradeamount",
  10982. "tradedate",
  10983. "tradeid",
  10984. "tradeprice",
  10985. "tradeqty",
  10986. "tradetime"
  10987. ],
  10988. "properties": {
  10989. "accountid": {
  10990. "description": "账户ID[报价币种]",
  10991. "type": "integer"
  10992. },
  10993. "buildtype": {
  10994. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10995. "type": "integer"
  10996. },
  10997. "buyorsell": {
  10998. "description": "方向 - 0:买 1:卖",
  10999. "type": "integer"
  11000. },
  11001. "charge": {
  11002. "description": "手续费",
  11003. "type": "number"
  11004. },
  11005. "closecharge": {
  11006. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11007. "type": "number"
  11008. },
  11009. "closeexchagechargevalue": {
  11010. "description": "平仓交易所手续费设置值",
  11011. "type": "number"
  11012. },
  11013. "closefeealgorithm": {
  11014. "description": "平仓手续费收取方式 1:比率 2:固定",
  11015. "type": "integer"
  11016. },
  11017. "closememberchargevalue": {
  11018. "description": "平仓会员手续费设置值",
  11019. "type": "number"
  11020. },
  11021. "closepl": {
  11022. "description": "平仓盈亏",
  11023. "type": "number"
  11024. },
  11025. "closepl2": {
  11026. "description": "平仓盈亏[逐笔]",
  11027. "type": "number"
  11028. },
  11029. "closeqty": {
  11030. "description": "平仓数量(先建后平操作 需要记录)",
  11031. "type": "integer"
  11032. },
  11033. "creditamount": {
  11034. "description": "授信金额",
  11035. "type": "number"
  11036. },
  11037. "gcaccountid": {
  11038. "description": "账户ID[合约币种]",
  11039. "type": "integer"
  11040. },
  11041. "goodscode": {
  11042. "description": "商品代码",
  11043. "type": "string"
  11044. },
  11045. "goodsid": {
  11046. "description": "商品ID",
  11047. "type": "integer"
  11048. },
  11049. "goodsname": {
  11050. "description": "商品名称",
  11051. "type": "string"
  11052. },
  11053. "intclosepl": {
  11054. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11055. "type": "integer"
  11056. },
  11057. "isconfirmexercise": {
  11058. "description": "是否确认行权- 0:否 1:是",
  11059. "type": "integer"
  11060. },
  11061. "ismain": {
  11062. "description": "是否主单 - 0:不是 1:是",
  11063. "type": "integer"
  11064. },
  11065. "ispreexercise": {
  11066. "description": "是否预申报- 0:否 1:是",
  11067. "type": "integer"
  11068. },
  11069. "isreckoned": {
  11070. "description": "是否结算 - 0:未结算 1:已结算",
  11071. "type": "integer"
  11072. },
  11073. "listingselecttype": {
  11074. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11075. "type": "integer"
  11076. },
  11077. "marketid": {
  11078. "description": "市场ID",
  11079. "type": "integer"
  11080. },
  11081. "marketname": {
  11082. "description": "市场名称",
  11083. "type": "string"
  11084. },
  11085. "matchaccountid": {
  11086. "description": "对手账号id",
  11087. "type": "integer"
  11088. },
  11089. "memberuserid": {
  11090. "description": "会员id 个人投资者 需要填写",
  11091. "type": "integer"
  11092. },
  11093. "opencharge": {
  11094. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11095. "type": "number"
  11096. },
  11097. "openexchagechargevalue": {
  11098. "description": "建仓交易所手续费设置值",
  11099. "type": "number"
  11100. },
  11101. "openfeealgorithm": {
  11102. "description": "建仓手续费收取方式 1:比率 2:固定",
  11103. "type": "integer"
  11104. },
  11105. "openmemberchargevalue": {
  11106. "description": "建仓会员手续费设置值",
  11107. "type": "number"
  11108. },
  11109. "openqty": {
  11110. "description": "开仓数量(先建后平操作 需要记录)",
  11111. "type": "integer"
  11112. },
  11113. "optiontype": {
  11114. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11115. "type": "integer"
  11116. },
  11117. "orderid": {
  11118. "description": "委托单号",
  11119. "type": "string"
  11120. },
  11121. "performanceplanid": {
  11122. "description": "履约计划ID[期权]",
  11123. "type": "integer"
  11124. },
  11125. "performancestatus": {
  11126. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11127. "type": "integer"
  11128. },
  11129. "preexerciseprice": {
  11130. "description": "预申报价格",
  11131. "type": "number"
  11132. },
  11133. "premium": {
  11134. "description": "权利金 - [持仓单的权利金]",
  11135. "type": "number"
  11136. },
  11137. "relatedouttradeid": {
  11138. "description": "关联外部成交单ID",
  11139. "type": "integer"
  11140. },
  11141. "status": {
  11142. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11143. "type": "integer"
  11144. },
  11145. "tradeamount": {
  11146. "description": "成交金额[账户币种,用于所有权]",
  11147. "type": "number"
  11148. },
  11149. "tradedate": {
  11150. "description": "交易日(yyyyMMdd)",
  11151. "type": "string"
  11152. },
  11153. "tradeid": {
  11154. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11155. "type": "string"
  11156. },
  11157. "trademode": {
  11158. "description": "交易模式",
  11159. "type": "integer"
  11160. },
  11161. "tradeprice": {
  11162. "description": "成交价格",
  11163. "type": "number"
  11164. },
  11165. "tradeproperty": {
  11166. "description": "交易属性",
  11167. "type": "integer"
  11168. },
  11169. "tradeqty": {
  11170. "description": "成交数量",
  11171. "type": "integer"
  11172. },
  11173. "tradetime": {
  11174. "description": "成交时间",
  11175. "type": "string"
  11176. },
  11177. "tradetype": {
  11178. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11179. "type": "integer"
  11180. }
  11181. }
  11182. },
  11183. "order.QueryTradeOrderDetailRsp": {
  11184. "type": "object",
  11185. "required": [
  11186. "accountid",
  11187. "buildtype",
  11188. "buyorsell",
  11189. "goodsid",
  11190. "marketid",
  11191. "operatetype",
  11192. "orderqty",
  11193. "ordertime",
  11194. "pricemode",
  11195. "tradedate",
  11196. "validtype"
  11197. ],
  11198. "properties": {
  11199. "accountid": {
  11200. "description": "账户ID[报价币种]",
  11201. "type": "integer"
  11202. },
  11203. "buildtype": {
  11204. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11205. "type": "integer"
  11206. },
  11207. "buyorsell": {
  11208. "description": "买卖 - 0:买 1:卖",
  11209. "type": "integer"
  11210. },
  11211. "cancelorderid": {
  11212. "description": "撤单单号(撤单时填写)",
  11213. "type": "string"
  11214. },
  11215. "cancelqty": {
  11216. "description": "撤单数量",
  11217. "type": "integer"
  11218. },
  11219. "clienttype": {
  11220. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11221. "type": "integer"
  11222. },
  11223. "closefreezecharge": {
  11224. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11225. "type": "number"
  11226. },
  11227. "closeqty": {
  11228. "description": "平仓数量(先建后平操作 需要记录)",
  11229. "type": "integer"
  11230. },
  11231. "closetradeqty": {
  11232. "description": "平仓成交数量(先建后平操作,需要记录)",
  11233. "type": "integer"
  11234. },
  11235. "closeunfreezecharge": {
  11236. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11237. "type": "number"
  11238. },
  11239. "delistingtype": {
  11240. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11241. "type": "integer"
  11242. },
  11243. "enableqty": {
  11244. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11245. "type": "integer"
  11246. },
  11247. "freezecharge": {
  11248. "description": "冻结手续费",
  11249. "type": "number"
  11250. },
  11251. "freezemargin": {
  11252. "description": "冻结保证金(冻结交易金额)",
  11253. "type": "number"
  11254. },
  11255. "goodscode": {
  11256. "description": "商品代码",
  11257. "type": "string"
  11258. },
  11259. "goodsid": {
  11260. "description": "商品ID",
  11261. "type": "integer"
  11262. },
  11263. "goodsname": {
  11264. "description": "商品名称",
  11265. "type": "string"
  11266. },
  11267. "listingselecttype": {
  11268. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11269. "type": "integer"
  11270. },
  11271. "marketid": {
  11272. "description": "市场ID",
  11273. "type": "integer"
  11274. },
  11275. "marketname": {
  11276. "description": "市场名称",
  11277. "type": "string"
  11278. },
  11279. "openfreezecharge": {
  11280. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11281. "type": "number"
  11282. },
  11283. "openqty": {
  11284. "description": "开仓数量(先建后平操作,需要记录)",
  11285. "type": "integer"
  11286. },
  11287. "opentradeqty": {
  11288. "description": "开仓成交数量(先建后平操作,需要记录)",
  11289. "type": "integer"
  11290. },
  11291. "openunfreezecharge": {
  11292. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11293. "type": "number"
  11294. },
  11295. "operatetype": {
  11296. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11297. "type": "integer"
  11298. },
  11299. "operatorid": {
  11300. "description": "登录账号(LoginID)",
  11301. "type": "integer"
  11302. },
  11303. "orderid": {
  11304. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11305. "type": "string"
  11306. },
  11307. "orderprice": {
  11308. "description": "委托价格",
  11309. "type": "number"
  11310. },
  11311. "orderqty": {
  11312. "description": "委托数量",
  11313. "type": "integer"
  11314. },
  11315. "ordersrc": {
  11316. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11317. "type": "integer"
  11318. },
  11319. "orderstatus": {
  11320. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11321. "type": "integer"
  11322. },
  11323. "ordertime": {
  11324. "description": "委托时间",
  11325. "type": "string"
  11326. },
  11327. "preorderid": {
  11328. "description": "关联预埋单号(止盈止损单时填写)",
  11329. "type": "string"
  11330. },
  11331. "pricemode": {
  11332. "description": "取价方式 - 1:市价 2: 限价",
  11333. "type": "integer"
  11334. },
  11335. "relatedid": {
  11336. "description": "关联单号(交割单)",
  11337. "type": "string"
  11338. },
  11339. "tradedate": {
  11340. "description": "交易日(yyyyMMdd)",
  11341. "type": "string"
  11342. },
  11343. "trademode": {
  11344. "description": "交易模式",
  11345. "type": "integer"
  11346. },
  11347. "tradeqty": {
  11348. "description": "成交数量",
  11349. "type": "integer"
  11350. },
  11351. "unfreezecharge": {
  11352. "description": "解冻手续费",
  11353. "type": "number"
  11354. },
  11355. "unfreezemargin": {
  11356. "description": "解冻保证金",
  11357. "type": "number"
  11358. },
  11359. "validtime": {
  11360. "description": "有效期限",
  11361. "type": "string"
  11362. },
  11363. "validtype": {
  11364. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11365. "type": "integer"
  11366. },
  11367. "volumetype": {
  11368. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11369. "type": "integer"
  11370. }
  11371. }
  11372. },
  11373. "order.QueryTradePositionRsp": {
  11374. "type": "object",
  11375. "required": [
  11376. "goodsid"
  11377. ],
  11378. "properties": {
  11379. "accountid": {
  11380. "description": "资金账户",
  11381. "type": "integer"
  11382. },
  11383. "agreeunit": {
  11384. "description": "合约单位",
  11385. "type": "number"
  11386. },
  11387. "averageprice": {
  11388. "description": "持仓均价",
  11389. "type": "number"
  11390. },
  11391. "buyorsell": {
  11392. "description": "方向 - 0:买 1:卖",
  11393. "type": "integer"
  11394. },
  11395. "closetotalqty": {
  11396. "description": "平仓总数量",
  11397. "type": "integer"
  11398. },
  11399. "curholderamount": {
  11400. "description": "当前持仓总金额[商品币种]",
  11401. "type": "number"
  11402. },
  11403. "curpositionqty": {
  11404. "description": "当前持仓总数量",
  11405. "type": "integer"
  11406. },
  11407. "currencyid": {
  11408. "description": "报价货币ID",
  11409. "type": "integer"
  11410. },
  11411. "curtdposition": {
  11412. "description": "期末今日头寸",
  11413. "type": "integer"
  11414. },
  11415. "decimalplace": {
  11416. "description": "报价小数位",
  11417. "type": "integer"
  11418. },
  11419. "enableqty": {
  11420. "description": "可用量",
  11421. "type": "integer"
  11422. },
  11423. "fretdposition": {
  11424. "description": "冻结今日头寸",
  11425. "type": "integer"
  11426. },
  11427. "frozenqty": {
  11428. "description": "持仓冻结数量",
  11429. "type": "integer"
  11430. },
  11431. "goodscode": {
  11432. "description": "商品代码",
  11433. "type": "string"
  11434. },
  11435. "goodsid": {
  11436. "description": "商品Id",
  11437. "type": "integer"
  11438. },
  11439. "goodsname": {
  11440. "description": "商品名称",
  11441. "type": "string"
  11442. },
  11443. "goodunit": {
  11444. "description": "报价单位",
  11445. "type": "string"
  11446. },
  11447. "goodunitid": {
  11448. "description": "报价单位ID",
  11449. "type": "integer"
  11450. },
  11451. "holderamount": {
  11452. "description": "期初持仓总金额[商品币种]",
  11453. "type": "number"
  11454. },
  11455. "marketid": {
  11456. "description": "所属市场ID",
  11457. "type": "integer"
  11458. },
  11459. "openreqqty": {
  11460. "description": "开仓申请数量(用于比较最大持仓数量)",
  11461. "type": "integer"
  11462. },
  11463. "opentotalqty": {
  11464. "description": "开仓总数量",
  11465. "type": "integer"
  11466. },
  11467. "otherfrozenqty": {
  11468. "description": "持仓其他冻结数量(交割冻结)",
  11469. "type": "integer"
  11470. },
  11471. "positionqty": {
  11472. "description": "期初持仓数量",
  11473. "type": "integer"
  11474. },
  11475. "tnqty": {
  11476. "description": "T+N冻结总量",
  11477. "type": "integer"
  11478. },
  11479. "tnusedqty": {
  11480. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11481. "type": "integer"
  11482. },
  11483. "trademode": {
  11484. "description": "交易模式",
  11485. "type": "integer"
  11486. },
  11487. "usedmargin": {
  11488. "description": "占用保证金[商品币种]",
  11489. "type": "number"
  11490. }
  11491. }
  11492. },
  11493. "quote.HistoryData": {
  11494. "type": "object",
  11495. "properties": {
  11496. "c": {
  11497. "description": "收盘价",
  11498. "type": "number"
  11499. },
  11500. "h": {
  11501. "description": "最高价",
  11502. "type": "number"
  11503. },
  11504. "hv": {
  11505. "description": "持仓量",
  11506. "type": "integer"
  11507. },
  11508. "l": {
  11509. "description": "最低价",
  11510. "type": "number"
  11511. },
  11512. "o": {
  11513. "description": "开盘价",
  11514. "type": "number"
  11515. },
  11516. "s": {
  11517. "description": "结算价,日线周期(包括)以上才有",
  11518. "type": "number"
  11519. },
  11520. "ts": {
  11521. "description": "时间",
  11522. "type": "string"
  11523. },
  11524. "tt": {
  11525. "description": "总金额",
  11526. "type": "number"
  11527. },
  11528. "tv": {
  11529. "description": "总量",
  11530. "type": "integer"
  11531. }
  11532. }
  11533. },
  11534. "quote.QueryTSDataRsp": {
  11535. "type": "object",
  11536. "properties": {
  11537. "decimalPlace": {
  11538. "description": "小数位",
  11539. "type": "integer"
  11540. },
  11541. "endTime": {
  11542. "description": "结束时间",
  11543. "type": "string"
  11544. },
  11545. "goodsCode": {
  11546. "description": "商品代码",
  11547. "type": "string"
  11548. },
  11549. "historyDatas": {
  11550. "description": "历史数据",
  11551. "type": "array",
  11552. "items": {
  11553. "$ref": "#/definitions/quote.HistoryData"
  11554. }
  11555. },
  11556. "preSettle": {
  11557. "description": "昨结",
  11558. "type": "number"
  11559. },
  11560. "startTime": {
  11561. "description": "开始时间",
  11562. "type": "string"
  11563. },
  11564. "tradeDate": {
  11565. "description": "交易日",
  11566. "type": "string"
  11567. }
  11568. }
  11569. },
  11570. "szdz.QueryConvertLogRsp": {
  11571. "type": "object",
  11572. "required": [
  11573. "logid"
  11574. ],
  11575. "properties": {
  11576. "accountid": {
  11577. "description": "资金账户ID",
  11578. "type": "integer"
  11579. },
  11580. "clientticket": {
  11581. "description": "客户端流水号",
  11582. "type": "string"
  11583. },
  11584. "converttype": {
  11585. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11586. "type": "integer"
  11587. },
  11588. "createtime": {
  11589. "description": "记账时间",
  11590. "type": "string"
  11591. },
  11592. "daymaxvalue": {
  11593. "description": "配置当日最大转入限制",
  11594. "type": "number"
  11595. },
  11596. "daymaxvalue2": {
  11597. "description": "配置当日最大转入限制(转入)",
  11598. "type": "number"
  11599. },
  11600. "goodscode": {
  11601. "description": "商品代码",
  11602. "type": "string"
  11603. },
  11604. "goodsname": {
  11605. "description": "商品名称",
  11606. "type": "string"
  11607. },
  11608. "handlestatus": {
  11609. "description": "处理状态",
  11610. "type": "integer"
  11611. },
  11612. "innergoodsid": {
  11613. "description": "内部商品ID",
  11614. "type": "integer"
  11615. },
  11616. "inratio": {
  11617. "description": "配置转入比值",
  11618. "type": "integer"
  11619. },
  11620. "invalue": {
  11621. "description": "目标值",
  11622. "type": "number"
  11623. },
  11624. "logid": {
  11625. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11626. "type": "integer"
  11627. },
  11628. "mobile": {
  11629. "description": "手机号码(加密存储)",
  11630. "type": "string"
  11631. },
  11632. "outergoodscode": {
  11633. "description": "外部商品代码[JD\\PD]",
  11634. "type": "string"
  11635. },
  11636. "outratio": {
  11637. "description": "配置转出比值",
  11638. "type": "integer"
  11639. },
  11640. "outvalue": {
  11641. "description": "源值",
  11642. "type": "number"
  11643. },
  11644. "pddecimalplace": {
  11645. "description": "PD小数位",
  11646. "type": "integer"
  11647. },
  11648. "qty": {
  11649. "description": "数量",
  11650. "type": "string"
  11651. },
  11652. "remark": {
  11653. "description": "备注",
  11654. "type": "string"
  11655. },
  11656. "sessionid": {
  11657. "description": "会话ID",
  11658. "type": "integer"
  11659. },
  11660. "timemaxvalue": {
  11661. "description": "配置单次最大转入限制",
  11662. "type": "number"
  11663. },
  11664. "timemaxvalue2": {
  11665. "description": "配置单次最大转入限制(转入)",
  11666. "type": "number"
  11667. },
  11668. "timeminvalue": {
  11669. "description": "配置单次最小数量限制",
  11670. "type": "number"
  11671. },
  11672. "timeminvalue2": {
  11673. "description": "配置单次最小数量限制(转入)",
  11674. "type": "number"
  11675. },
  11676. "tradedate": {
  11677. "description": "交易日(yyyyMMdd)",
  11678. "type": "string"
  11679. },
  11680. "userid": {
  11681. "description": "用户ID",
  11682. "type": "integer"
  11683. }
  11684. }
  11685. },
  11686. "szdz.QueryGoodsPickupRsp": {
  11687. "type": "object",
  11688. "required": [
  11689. "takeorderid"
  11690. ],
  11691. "properties": {
  11692. "accountid": {
  11693. "description": "账户ID",
  11694. "type": "integer"
  11695. },
  11696. "address": {
  11697. "description": "提货人详细地址",
  11698. "type": "string"
  11699. },
  11700. "auditer": {
  11701. "description": "审核人",
  11702. "type": "integer"
  11703. },
  11704. "audittime": {
  11705. "description": "审核时间",
  11706. "type": "string"
  11707. },
  11708. "cardnum": {
  11709. "description": "提货人证件号码",
  11710. "type": "string"
  11711. },
  11712. "cardtypeid": {
  11713. "description": "提货人证件类型",
  11714. "type": "integer"
  11715. },
  11716. "checkremark": {
  11717. "description": "审核备注",
  11718. "type": "string"
  11719. },
  11720. "goodscode": {
  11721. "description": "商品代码",
  11722. "type": "string"
  11723. },
  11724. "goodsid": {
  11725. "description": "商品ID",
  11726. "type": "integer"
  11727. },
  11728. "goodsname": {
  11729. "description": "商品名称",
  11730. "type": "string"
  11731. },
  11732. "handlestatus": {
  11733. "description": "处理状态",
  11734. "type": "integer"
  11735. },
  11736. "marketid": {
  11737. "description": "市场ID",
  11738. "type": "integer"
  11739. },
  11740. "phonenum": {
  11741. "description": "提货人联系方式",
  11742. "type": "string"
  11743. },
  11744. "qty": {
  11745. "description": "提货数量",
  11746. "type": "number"
  11747. },
  11748. "recivername": {
  11749. "description": "提货人姓名",
  11750. "type": "string"
  11751. },
  11752. "reqtime": {
  11753. "description": "更新时间",
  11754. "type": "string"
  11755. },
  11756. "takemode": {
  11757. "description": "提货方式 - 2:自提 3:配送",
  11758. "type": "integer"
  11759. },
  11760. "takeorderid": {
  11761. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11762. "type": "string"
  11763. },
  11764. "takeorderstatus": {
  11765. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11766. "type": "integer"
  11767. },
  11768. "takeremark": {
  11769. "description": "提货备注",
  11770. "type": "string"
  11771. },
  11772. "tradedate": {
  11773. "description": "交易日(yyyyMMdd)",
  11774. "type": "string"
  11775. },
  11776. "userid": {
  11777. "description": "用户ID",
  11778. "type": "integer"
  11779. }
  11780. }
  11781. },
  11782. "szdz.QueryRecieptOrderRsp": {
  11783. "type": "object",
  11784. "required": [
  11785. "ordertime"
  11786. ],
  11787. "properties": {
  11788. "accountName": {
  11789. "description": "所属账号名称(已脱敏)",
  11790. "type": "string"
  11791. },
  11792. "accountid": {
  11793. "description": "资金账号",
  11794. "type": "integer"
  11795. },
  11796. "buyorsell": {
  11797. "description": "方向 - 0:买 1:卖",
  11798. "type": "integer"
  11799. },
  11800. "enableqty": {
  11801. "description": "可摘数量",
  11802. "type": "integer"
  11803. },
  11804. "goodscode": {
  11805. "description": "商品代码",
  11806. "type": "string"
  11807. },
  11808. "goodsid": {
  11809. "description": "商品ID",
  11810. "type": "integer"
  11811. },
  11812. "goodsname": {
  11813. "description": "商品名称",
  11814. "type": "string"
  11815. },
  11816. "orderid": {
  11817. "description": "委托单号",
  11818. "type": "string"
  11819. },
  11820. "orderprice": {
  11821. "description": "委托价格",
  11822. "type": "number"
  11823. },
  11824. "ordertime": {
  11825. "description": "委托时间",
  11826. "type": "string"
  11827. },
  11828. "tradedate": {
  11829. "description": "交易日(yyyyMMdd)",
  11830. "type": "string"
  11831. }
  11832. }
  11833. },
  11834. "szdz.QuerySZDZTradePositionRsp": {
  11835. "type": "object",
  11836. "properties": {
  11837. "accountid": {
  11838. "description": "账号Id",
  11839. "type": "integer"
  11840. },
  11841. "agreeunit": {
  11842. "description": "合约单位",
  11843. "type": "number"
  11844. },
  11845. "averageprice": {
  11846. "description": "持仓均价",
  11847. "type": "number"
  11848. },
  11849. "buyorsell": {
  11850. "description": "方向 - 0:买 1:卖",
  11851. "type": "integer"
  11852. },
  11853. "closetotalqty": {
  11854. "description": "平仓总数量",
  11855. "type": "integer"
  11856. },
  11857. "curholderamount": {
  11858. "description": "当前持仓总金额",
  11859. "type": "number"
  11860. },
  11861. "curpositionqty": {
  11862. "description": "当前持仓总数量",
  11863. "type": "integer"
  11864. },
  11865. "currencyid": {
  11866. "description": "报价货币ID",
  11867. "type": "integer"
  11868. },
  11869. "curtdposition": {
  11870. "description": "期末今日头寸",
  11871. "type": "integer"
  11872. },
  11873. "decimalplace": {
  11874. "description": "报价小数位",
  11875. "type": "integer"
  11876. },
  11877. "enableqty": {
  11878. "description": "可用量",
  11879. "type": "integer"
  11880. },
  11881. "fretdposition": {
  11882. "description": "冻结今日头寸",
  11883. "type": "integer"
  11884. },
  11885. "frozenqty": {
  11886. "description": "持仓冻结数量",
  11887. "type": "integer"
  11888. },
  11889. "goodscode": {
  11890. "description": "商品代码(内部)",
  11891. "type": "string"
  11892. },
  11893. "goodsid": {
  11894. "description": "商品Id",
  11895. "type": "integer"
  11896. },
  11897. "goodsname": {
  11898. "description": "商品名称",
  11899. "type": "string"
  11900. },
  11901. "goodunit": {
  11902. "description": "报价单位",
  11903. "type": "string"
  11904. },
  11905. "goodunitid": {
  11906. "description": "报价单位ID",
  11907. "type": "integer"
  11908. },
  11909. "holderamount": {
  11910. "description": "期初持仓总金额",
  11911. "type": "number"
  11912. },
  11913. "marketid": {
  11914. "description": "市场ID",
  11915. "type": "integer"
  11916. },
  11917. "openreqqty": {
  11918. "description": "开仓申请数量",
  11919. "type": "integer"
  11920. },
  11921. "opentotalqty": {
  11922. "description": "开仓总数量",
  11923. "type": "integer"
  11924. },
  11925. "otherfrozenqty": {
  11926. "description": "持仓其他冻结数量(交割冻结)",
  11927. "type": "integer"
  11928. },
  11929. "positionqty": {
  11930. "description": "期初持仓数量",
  11931. "type": "integer"
  11932. },
  11933. "szdz3freezqty": {
  11934. "description": "尚志大宗转换冻结总数量",
  11935. "type": "integer"
  11936. },
  11937. "tnqty": {
  11938. "description": "T+N冻结总量",
  11939. "type": "integer"
  11940. },
  11941. "tnusedqty": {
  11942. "description": "T+N使用量",
  11943. "type": "integer"
  11944. },
  11945. "trademode": {
  11946. "description": "交易模式",
  11947. "type": "integer"
  11948. },
  11949. "usedmargin": {
  11950. "description": "占用保证金",
  11951. "type": "number"
  11952. }
  11953. }
  11954. },
  11955. "taaccount.QueryAmountLogRsp": {
  11956. "type": "object",
  11957. "required": [
  11958. "accountid",
  11959. "amount",
  11960. "amountadjusttype",
  11961. "autoid",
  11962. "balance",
  11963. "createtime",
  11964. "currentbalance",
  11965. "operatetype"
  11966. ],
  11967. "properties": {
  11968. "OPERATETYPENAME": {
  11969. "description": "资金操作类型名称",
  11970. "type": "string"
  11971. },
  11972. "accountid": {
  11973. "description": "资金账户ID",
  11974. "type": "integer"
  11975. },
  11976. "agoodscode": {
  11977. "description": "竞拍商品代码",
  11978. "type": "string"
  11979. },
  11980. "agoodsname": {
  11981. "description": "竞拍商品名称",
  11982. "type": "string"
  11983. },
  11984. "amount": {
  11985. "description": "资金金额",
  11986. "type": "number"
  11987. },
  11988. "amountadjusttype": {
  11989. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11990. "type": "integer"
  11991. },
  11992. "autoid": {
  11993. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11994. "type": "integer"
  11995. },
  11996. "balance": {
  11997. "description": "期初余额",
  11998. "type": "number"
  11999. },
  12000. "businesscode": {
  12001. "description": "业务编号",
  12002. "type": "integer"
  12003. },
  12004. "createtime": {
  12005. "description": "发生时间",
  12006. "type": "string"
  12007. },
  12008. "currencyid": {
  12009. "description": "币种ID",
  12010. "type": "integer"
  12011. },
  12012. "currentbalance": {
  12013. "description": "期末余额(变动后金额)",
  12014. "type": "number"
  12015. },
  12016. "dgoodscode": {
  12017. "description": "交割商品代码",
  12018. "type": "string"
  12019. },
  12020. "dgoodsname": {
  12021. "description": "交割商品名称",
  12022. "type": "string"
  12023. },
  12024. "goodscode": {
  12025. "description": "商品代码",
  12026. "type": "string"
  12027. },
  12028. "goodsid": {
  12029. "description": "商品ID",
  12030. "type": "integer"
  12031. },
  12032. "goodsname": {
  12033. "description": "商品名称",
  12034. "type": "string"
  12035. },
  12036. "marketid": {
  12037. "description": "市场ID",
  12038. "type": "integer"
  12039. },
  12040. "marketname": {
  12041. "description": "市场名称",
  12042. "type": "string"
  12043. },
  12044. "moneyticket": {
  12045. "description": "资金流水号:银行端流水号",
  12046. "type": "integer"
  12047. },
  12048. "operatetype": {
  12049. "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:营销收款",
  12050. "type": "integer"
  12051. },
  12052. "relationorderid": {
  12053. "description": "关联单号",
  12054. "type": "string"
  12055. },
  12056. "remark": {
  12057. "description": "备注",
  12058. "type": "string"
  12059. },
  12060. "trademode": {
  12061. "description": "交易模式",
  12062. "type": "integer"
  12063. }
  12064. }
  12065. },
  12066. "taaccount.QueryHisAmountLogRsp": {
  12067. "type": "object",
  12068. "required": [
  12069. "accountid",
  12070. "amount",
  12071. "amountadjusttype",
  12072. "autoid",
  12073. "balance",
  12074. "createtime",
  12075. "currentbalance",
  12076. "histradedate",
  12077. "operatetype"
  12078. ],
  12079. "properties": {
  12080. "OPERATETYPENAME": {
  12081. "description": "资金操作类型名称",
  12082. "type": "string"
  12083. },
  12084. "accountid": {
  12085. "description": "资金账户ID",
  12086. "type": "integer"
  12087. },
  12088. "agoodscode": {
  12089. "description": "竞拍商品代码",
  12090. "type": "string"
  12091. },
  12092. "agoodsname": {
  12093. "description": "竞拍商品名称",
  12094. "type": "string"
  12095. },
  12096. "amount": {
  12097. "description": "资金金额",
  12098. "type": "number"
  12099. },
  12100. "amountadjusttype": {
  12101. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12102. "type": "integer"
  12103. },
  12104. "autoid": {
  12105. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12106. "type": "integer"
  12107. },
  12108. "balance": {
  12109. "description": "期初余额",
  12110. "type": "number"
  12111. },
  12112. "businesscode": {
  12113. "description": "业务编号",
  12114. "type": "integer"
  12115. },
  12116. "createtime": {
  12117. "description": "发生时间",
  12118. "type": "string"
  12119. },
  12120. "currencyid": {
  12121. "description": "币种ID",
  12122. "type": "integer"
  12123. },
  12124. "currentbalance": {
  12125. "description": "期末余额(变动后金额)",
  12126. "type": "number"
  12127. },
  12128. "dgoodscode": {
  12129. "description": "交割商品代码",
  12130. "type": "string"
  12131. },
  12132. "dgoodsname": {
  12133. "description": "交割商品名称",
  12134. "type": "string"
  12135. },
  12136. "goodscode": {
  12137. "description": "商品代码",
  12138. "type": "string"
  12139. },
  12140. "goodsid": {
  12141. "description": "商品ID",
  12142. "type": "integer"
  12143. },
  12144. "goodsname": {
  12145. "description": "商品名称",
  12146. "type": "string"
  12147. },
  12148. "histradedate": {
  12149. "description": "历史交易日",
  12150. "type": "string"
  12151. },
  12152. "isvaliddata": {
  12153. "description": "是否有效 - 0:无效 1:有效",
  12154. "type": "integer"
  12155. },
  12156. "marketid": {
  12157. "description": "市场ID",
  12158. "type": "integer"
  12159. },
  12160. "marketname": {
  12161. "description": "市场名称",
  12162. "type": "string"
  12163. },
  12164. "moneyticket": {
  12165. "description": "资金流水号:银行端流水号",
  12166. "type": "integer"
  12167. },
  12168. "operatetype": {
  12169. "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:营销收款",
  12170. "type": "integer"
  12171. },
  12172. "relationorderid": {
  12173. "description": "关联单号",
  12174. "type": "string"
  12175. },
  12176. "remark": {
  12177. "description": "备注",
  12178. "type": "string"
  12179. },
  12180. "trademode": {
  12181. "description": "交易模式",
  12182. "type": "integer"
  12183. }
  12184. }
  12185. },
  12186. "trade.QueryRecieptOrderRsp": {
  12187. "type": "object",
  12188. "required": [
  12189. "ordertime"
  12190. ],
  12191. "properties": {
  12192. "accountName": {
  12193. "description": "所属账号名称(已脱敏)",
  12194. "type": "string"
  12195. },
  12196. "accountid": {
  12197. "description": "资金账号",
  12198. "type": "integer"
  12199. },
  12200. "buyorsell": {
  12201. "description": "方向 - 0:买 1:卖",
  12202. "type": "integer"
  12203. },
  12204. "enableqty": {
  12205. "description": "可摘数量",
  12206. "type": "integer"
  12207. },
  12208. "goodscode": {
  12209. "description": "商品代码",
  12210. "type": "string"
  12211. },
  12212. "goodsid": {
  12213. "description": "商品ID",
  12214. "type": "integer"
  12215. },
  12216. "goodsname": {
  12217. "description": "商品名称",
  12218. "type": "string"
  12219. },
  12220. "orderid": {
  12221. "description": "委托单号",
  12222. "type": "string"
  12223. },
  12224. "orderprice": {
  12225. "description": "委托价格",
  12226. "type": "number"
  12227. },
  12228. "ordertime": {
  12229. "description": "委托时间",
  12230. "type": "string"
  12231. },
  12232. "tradedate": {
  12233. "description": "交易日(yyyyMMdd)",
  12234. "type": "string"
  12235. }
  12236. }
  12237. }
  12238. },
  12239. "securityDefinitions": {
  12240. "ApiKeyAuth": {
  12241. "type": "apiKey",
  12242. "name": "Authorization",
  12243. "in": "header"
  12244. }
  12245. }
  12246. }