swagger.yaml 284 KB

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