swagger.json 413 KB

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