swagger.yaml 365 KB

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