swagger.yaml 244 KB

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