swagger.yaml 225 KB

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