swagger.yaml 388 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097
  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. type: object
  142. common.QueryTableDefineRsp:
  143. properties:
  144. columns:
  145. description: 列头信息数组
  146. items:
  147. $ref: '#/definitions/models.Tablecolumnconfig'
  148. type: array
  149. remark:
  150. description: Remark
  151. type: string
  152. tabelmenu:
  153. description: 列表菜单
  154. type: string
  155. tablekey:
  156. description: 列表Key
  157. type: string
  158. tablename:
  159. description: 列表名称
  160. type: string
  161. tabletype:
  162. description: 列表类型 - 1:管理端 2:终端
  163. type: integer
  164. required:
  165. - tablekey
  166. type: object
  167. common.QueryTraderMenuRsp:
  168. properties:
  169. OperationMenu:
  170. description: 功能菜单
  171. items:
  172. $ref: '#/definitions/models.OperationPrimaryMenu'
  173. type: array
  174. QuoteMenu:
  175. description: 报价牌分类菜单
  176. items:
  177. $ref: '#/definitions/models.QuotePrimaryMenu'
  178. type: array
  179. type: object
  180. cptrade.Cptradepositioncancel:
  181. properties:
  182. accountid:
  183. description: 申请人账户ID
  184. type: integer
  185. applystatus:
  186. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  187. type: integer
  188. applytime:
  189. description: 申请时间
  190. type: string
  191. cancelid:
  192. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  193. type: integer
  194. cancelqty:
  195. description: 注销数量
  196. type: integer
  197. createtime:
  198. description: 创建时间
  199. type: string
  200. creatorid:
  201. description: 创建人ID
  202. type: integer
  203. creatorname:
  204. description: 创建人
  205. type: string
  206. goodscode:
  207. description: 订单商品代码
  208. type: string
  209. goodsid:
  210. description: 商品ID
  211. type: integer
  212. goodsname:
  213. description: 订单商品名称
  214. type: string
  215. goodunit:
  216. description: 报价单位
  217. type: string
  218. handlestatus:
  219. description: 处理状态
  220. type: integer
  221. marketid:
  222. description: 市场ID
  223. type: integer
  224. marketname:
  225. description: 市场名称
  226. type: string
  227. tradedate:
  228. description: 交易日(yyyyMMdd)
  229. type: string
  230. userid:
  231. description: 申请人ID
  232. type: integer
  233. required:
  234. - cancelid
  235. type: object
  236. cptrade.Cptradepresaleapply:
  237. properties:
  238. accountid:
  239. description: 申请人账户ID
  240. type: integer
  241. applyid:
  242. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  243. type: integer
  244. applyremark:
  245. description: 申请备注
  246. type: string
  247. applystatus:
  248. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  249. type: integer
  250. applytime:
  251. description: 申请时间
  252. type: string
  253. attachmenturl:
  254. description: 附件地址
  255. type: string
  256. endtime:
  257. description: 预售结束时间
  258. type: string
  259. goodscode:
  260. description: 商品代码
  261. type: string
  262. goodsid:
  263. description: 商品ID
  264. type: integer
  265. goodsname:
  266. description: 商品名称
  267. type: string
  268. goodunit:
  269. description: 报价单位
  270. type: string
  271. handlestatus:
  272. description: 处理状态
  273. type: integer
  274. marketid:
  275. description: 预售市场ID
  276. type: integer
  277. marketname:
  278. description: 预售市场名称
  279. type: string
  280. presaleqty:
  281. description: 预售数量
  282. type: integer
  283. relatedgoodscode:
  284. description: 关联交易合约代码
  285. type: string
  286. relatedgoodsid:
  287. description: 关联交易合约ID
  288. type: integer
  289. relatedgoodsname:
  290. description: 关联交易合约名称
  291. type: string
  292. starttime:
  293. description: 预售开始时间
  294. type: string
  295. tradedate:
  296. description: 交易日(yyyyMMdd)
  297. type: string
  298. trademode:
  299. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  300. type: integer
  301. userid:
  302. description: 申请人ID
  303. type: integer
  304. required:
  305. - applyid
  306. type: object
  307. cptrade.Cptradeusergoodsdata:
  308. properties:
  309. EnabledQty:
  310. description: 可用量
  311. type: integer
  312. GoodsCode:
  313. description: 订单商品代码
  314. type: string
  315. GoodsName:
  316. description: 订单商品名称
  317. type: string
  318. WRStandardCode:
  319. description: 仓单标准代码
  320. type: string
  321. WRStandardName:
  322. description: 仓单标准名称
  323. type: string
  324. accountid:
  325. description: 账户ID
  326. type: integer
  327. cancelqty:
  328. description: 注销量
  329. type: integer
  330. curpresaleqty:
  331. description: 当前预售量
  332. type: integer
  333. deliveryqty:
  334. description: 交割量
  335. type: integer
  336. freezeamount:
  337. description: 冻结金额
  338. type: number
  339. goodsid:
  340. description: 商品ID
  341. type: integer
  342. goodunit:
  343. description: 报价单位
  344. type: string
  345. hasspotfreeze:
  346. description: 是否有现货冻结 - 0:否 1:有
  347. type: integer
  348. inqty:
  349. description: 转入量(总数量)
  350. type: integer
  351. marketid:
  352. description: 市场ID
  353. type: integer
  354. presaledamount:
  355. description: 已预售总金额
  356. type: integer
  357. presaledqty:
  358. description: 已预售量
  359. type: integer
  360. userid:
  361. description: 用户ID
  362. type: integer
  363. wrstandardid:
  364. description: 仓单标准ID
  365. type: integer
  366. required:
  367. - accountid
  368. - goodsid
  369. type: object
  370. cptrade.QueryCPTradeMyBidRsp:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. goodsid:
  376. description: 商品ID
  377. type: integer
  378. goodunit:
  379. description: 报价单位
  380. type: string
  381. marketid:
  382. description: 市场ID
  383. type: integer
  384. orderid:
  385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  386. type: integer
  387. orderprice:
  388. description: 委托价格
  389. type: number
  390. orderqty:
  391. description: 委托数量
  392. type: integer
  393. ordertime:
  394. description: 委托时间
  395. type: string
  396. ordertotalprice:
  397. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  398. type: number
  399. ordertotalweight:
  400. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  401. type: integer
  402. totaltotalprice:
  403. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  404. type: number
  405. tradeprice:
  406. description: 成交价格
  407. type: number
  408. tradeqty:
  409. description: 成交数量
  410. type: integer
  411. required:
  412. - accountid
  413. - goodsid
  414. - marketid
  415. - orderid
  416. - orderqty
  417. - ordertime
  418. - tradeprice
  419. - tradeqty
  420. type: object
  421. cptrade.QueryCPTradeOrderDetailRsq:
  422. properties:
  423. accountid:
  424. description: 账户ID[报价币种]
  425. type: integer
  426. buildtype:
  427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  428. type: integer
  429. buyorsell:
  430. description: 买卖 - 0:买 1:卖
  431. type: integer
  432. cancelorderid:
  433. description: 撤单单号(撤单时填写)
  434. type: integer
  435. cancelqty:
  436. description: 撤单数量
  437. type: integer
  438. clientordertime:
  439. description: 客户端委托时间
  440. type: string
  441. clientticket:
  442. description: 客户端流水号
  443. type: string
  444. clienttype:
  445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  446. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  447. type: integer
  448. closeexchagechargevalue:
  449. description: 平仓交易所手续费设置值
  450. type: number
  451. closefeealgorithm:
  452. description: 平仓手续费收取方式 1:比率 2:固定
  453. type: integer
  454. closefreezecharge:
  455. description: 平仓冻结手续费(先建后平操作,需要记录)
  456. type: number
  457. closememberchargevalue:
  458. description: 平仓会员手续费设置值
  459. type: number
  460. closeqty:
  461. description: 平仓数量(先建后平操作 需要记录)
  462. type: integer
  463. closetradeqty:
  464. description: 平仓成交数量(先建后平操作,需要记录)
  465. type: integer
  466. closeunfreezecharge:
  467. description: 平仓解冻手续费(先建后平操作,需要记录)
  468. type: number
  469. delistingtype:
  470. description: 摘牌类型 - 1:价格最优 2:点选成交
  471. type: integer
  472. freezecharge:
  473. description: 冻结手续费
  474. type: number
  475. freezemargin:
  476. description: 冻结保证金(冻结交易金额)
  477. type: number
  478. gcaccountid:
  479. description: 账户ID[合约币种]
  480. type: integer
  481. goodsid:
  482. description: 商品ID
  483. type: integer
  484. isconfirmexercise:
  485. description: 是否确认行权- 0:否 1:是
  486. type: integer
  487. ispreexercise:
  488. description: 是否预申报- 0:否 1:是
  489. type: integer
  490. listingselecttype:
  491. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  492. type: integer
  493. marginalgorithm:
  494. description: 保证金收取方式 1:比率 2:固定
  495. type: integer
  496. marginvalue:
  497. description: 即市保证金设置值
  498. type: number
  499. marketid:
  500. description: 市场ID
  501. type: integer
  502. marketmaxsub:
  503. description: 市价最大偏移范围
  504. type: number
  505. memberuserid:
  506. description: 所属会员UserID
  507. type: integer
  508. openexchagechargevalue:
  509. description: 建仓交易所手续费设置值
  510. type: number
  511. openfeealgorithm:
  512. description: 建仓手续费收取方式 1:比率 2:固定
  513. type: integer
  514. openfreezecharge:
  515. description: 开仓冻结手续费(先建后平操作,需要记录)
  516. type: number
  517. openmemberchargevalue:
  518. description: 建仓会员手续费设置值
  519. type: number
  520. openqty:
  521. description: 开仓数量(先建后平操作,需要记录)
  522. type: integer
  523. opentradeqty:
  524. description: 开仓成交数量(先建后平操作,需要记录)
  525. type: integer
  526. openunfreezecharge:
  527. description: 开仓解冻手续费(先建后平操作,需要记录)
  528. type: number
  529. operatetype:
  530. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  531. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  532. 15:管理端协议转让
  533. type: integer
  534. operatorid:
  535. description: 登录账号(LoginID)
  536. type: integer
  537. optiontype:
  538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  539. type: integer
  540. orderprice:
  541. description: 委托价格
  542. type: number
  543. orderqty:
  544. description: 委托数量
  545. type: integer
  546. ordersrc:
  547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  548. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  549. type: integer
  550. orderstatus:
  551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  553. 16:成交失败违约(荷兰式竞拍专用)
  554. type: integer
  555. ordertime:
  556. description: 委托时间
  557. type: string
  558. preexerciseprice:
  559. description: 预申报价格
  560. type: number
  561. premium:
  562. description: 权利金
  563. type: number
  564. preorderid:
  565. description: 关联预埋单号(止盈止损单时填写)
  566. type: integer
  567. pricemode:
  568. description: '取价方式 - 1:市价 2: 限价'
  569. type: integer
  570. quoteid:
  571. description: 报价单ID
  572. type: integer
  573. relatedid:
  574. description: 关联单号(交割单)
  575. type: integer
  576. retcode:
  577. description: 错误代码
  578. type: integer
  579. sessionid:
  580. description: 会话ID
  581. type: integer
  582. strorderid:
  583. description: 委托单号
  584. type: string
  585. tradedate:
  586. description: 交易日(yyyyMMdd)
  587. type: string
  588. tradeproperty:
  589. description: 交易属性
  590. type: integer
  591. tradeqty:
  592. description: 成交数量
  593. type: integer
  594. unfreezecharge:
  595. description: 解冻手续费
  596. type: number
  597. unfreezemargin:
  598. description: 解冻保证金
  599. type: number
  600. updatetime:
  601. description: 更新时间
  602. type: string
  603. uuid:
  604. description: 发起端唯一id
  605. type: string
  606. validtime:
  607. description: 有效期限
  608. type: string
  609. validtype:
  610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  611. type: integer
  612. volumetype:
  613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  614. type: integer
  615. required:
  616. - accountid
  617. - buildtype
  618. - buyorsell
  619. - goodsid
  620. - marketid
  621. - memberuserid
  622. - operatetype
  623. - orderqty
  624. - ordertime
  625. - pricemode
  626. - strorderid
  627. - tradedate
  628. - validtype
  629. type: object
  630. cptrade.QueryMyCPTradeGoodsRsp:
  631. properties:
  632. accountid:
  633. description: 卖方账户ID
  634. type: integer
  635. agreeunit:
  636. description: 合约单位
  637. type: number
  638. applyid:
  639. description: 关联申请ID
  640. type: integer
  641. attachmenturl:
  642. description: 附件地址
  643. type: string
  644. createtime:
  645. description: 创建时间
  646. type: string
  647. currencyid:
  648. description: 报价货币ID
  649. type: integer
  650. decimalplace:
  651. description: 报价小数位
  652. type: integer
  653. endtime:
  654. description: 预售结束时间
  655. type: string
  656. floorprice:
  657. description: 底价[大宗式竞拍]
  658. type: number
  659. goodscode:
  660. description: 商品代码(预售)
  661. type: string
  662. goodsdetail:
  663. description: 详情[大宗]
  664. type: string
  665. goodsid:
  666. description: 商品ID(自增ID SEQ_GOODS)
  667. type: integer
  668. goodsname:
  669. description: 商品名称(预售)
  670. type: string
  671. goodunit:
  672. description: 报价单位
  673. type: string
  674. goodunitid:
  675. description: 报价单位ID
  676. type: integer
  677. marketid:
  678. description: 所属市场ID
  679. type: integer
  680. marketname:
  681. description: 预售市场名称
  682. type: string
  683. presaledamount:
  684. description: 已预售总金额(预售结束时更新)
  685. type: number
  686. presaledqty:
  687. description: 已预售量(预售结束时更新)
  688. type: integer
  689. presalemode:
  690. description: 预售模式 - 1:一口价 2:大宗式竞拍
  691. type: integer
  692. presaleqty:
  693. description: 预售数量
  694. type: integer
  695. refprice:
  696. description: 参考价格[一口价]
  697. type: number
  698. relatedgoodscode:
  699. description: 商品代码(订单)
  700. type: string
  701. relatedgoodsid:
  702. description: 关联交易合约ID
  703. type: integer
  704. relatedgoodsname:
  705. description: 商品名称(订单)
  706. type: string
  707. relatedmarketid:
  708. description: 关联交易合约市场ID
  709. type: integer
  710. sellstatus:
  711. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  712. type: integer
  713. startprice:
  714. description: 起拍价[大宗式竞拍]
  715. type: number
  716. starttime:
  717. description: 预售开始时间
  718. type: string
  719. tradedate:
  720. description: 交易日(yyyyMMdd)
  721. type: string
  722. tradeprice:
  723. description: 成交价[大宗]
  724. type: number
  725. userid:
  726. description: 卖方用户ID
  727. type: integer
  728. required:
  729. - goodscode
  730. - goodsid
  731. - goodsname
  732. - marketid
  733. - relatedgoodscode
  734. - relatedgoodsname
  735. type: object
  736. cptrade.QueryPresaleGoodsExRsp:
  737. properties:
  738. attachmenturl:
  739. description: 附件地址
  740. type: string
  741. createtime:
  742. description: 创建时间
  743. type: string
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(预售)
  755. type: integer
  756. goodunit:
  757. description: 报价单位
  758. type: string
  759. marketid:
  760. description: 预售市场ID - 根据预售模式选择市场
  761. type: integer
  762. presaledamount:
  763. description: 已预售总金额(预售结束时更新)
  764. type: number
  765. presaledqty:
  766. description: 已预售量(预售结束时更新)
  767. type: integer
  768. presalemode:
  769. description: 预售模式 - 1:一口价 2:大宗式竞拍
  770. type: integer
  771. presaleqty:
  772. description: 预售数量
  773. type: integer
  774. refprice:
  775. description: 参考价格[一口价]
  776. type: number
  777. relatedgoodsid:
  778. description: 关联交易合约ID
  779. type: integer
  780. relatedmarketid:
  781. description: 关联交易合约市场ID
  782. type: integer
  783. sellstatus:
  784. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  785. type: integer
  786. startprice:
  787. description: 起拍价[大宗式竞拍]
  788. type: number
  789. starttime:
  790. description: 预售开始时间
  791. type: string
  792. tradedate:
  793. description: 交易日(yyyyMMdd)
  794. type: string
  795. tradeprice:
  796. description: 成交价[大宗]
  797. type: number
  798. required:
  799. - goodsid
  800. type: object
  801. delivery.QueryDeliveryRelationRsp:
  802. properties:
  803. begindate:
  804. description: 起始日期(yyyyMMdd)
  805. type: string
  806. buytemplateid:
  807. description: 买履约计划模板ID
  808. type: integer
  809. deliverygoodscode:
  810. description: 品种代码
  811. type: string
  812. deliverygoodsid:
  813. description: 交割商品
  814. type: integer
  815. deliverygoodsname:
  816. description: 品种名称
  817. type: string
  818. deliverymode:
  819. description: 交割方式 - 1:点选式 2:申报式
  820. type: integer
  821. deliverypricerule:
  822. description: 交割价规则- 1:行情价 2:建仓价
  823. type: integer
  824. deliverytype:
  825. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  826. type: integer
  827. enddate:
  828. description: 结束日期(yyyyMMdd)
  829. type: string
  830. goodscode:
  831. description: 商品代码
  832. type: string
  833. goodsid:
  834. description: 交易合约ID
  835. type: integer
  836. goodsname:
  837. description: 商品名称
  838. type: string
  839. marketid:
  840. description: 市场ID
  841. type: integer
  842. mindeliveryqty:
  843. description: 最小交割系数(K)
  844. type: integer
  845. p2deliveryprice:
  846. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  847. type: number
  848. p2deliveryratio:
  849. description: P2合约系数(p)
  850. type: integer
  851. p2goodsid:
  852. description: P2合约ID
  853. type: integer
  854. p2pricemode:
  855. description: P2合约价格方式 - 1:商品价 2:固定值
  856. type: integer
  857. pdeliveryprice:
  858. description: P合约价格(商品价时填写0,固定值时填写固定值)
  859. type: number
  860. pdeliveryratio:
  861. description: P合约系数(n)
  862. type: integer
  863. pgoodsid:
  864. description: P合约ID
  865. type: integer
  866. ppricemode:
  867. description: P合约价格方式 - 1:商品价 2:固定值
  868. type: integer
  869. rratio:
  870. description: 兑换系数(R)
  871. type: integer
  872. rratio1:
  873. description: 兑换系数(交易合约)(R1)
  874. type: integer
  875. rratio2:
  876. description: 兑换系数(仓单标准)(R2)
  877. type: integer
  878. selltemplateid:
  879. description: 卖履约计划模板ID
  880. type: integer
  881. wrstandardid:
  882. description: 仓单标准ID
  883. type: integer
  884. xdeliveryratio:
  885. description: 交易合约系数(m)
  886. type: integer
  887. required:
  888. - begindate
  889. - enddate
  890. - goodsid
  891. - mindeliveryqty
  892. - xdeliveryratio
  893. type: object
  894. ermcp.ExposureDetailRsp:
  895. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  896. ermcp.ExposureHedgePosDetailRsp:
  897. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  898. ermcp.ExposureHedgePositionRsp:
  899. $ref: '#/definitions/models.ErmcpHedgePosition'
  900. ermcp.ExposureSpotDetailRsp:
  901. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  902. ermcp.ExposureSpotRsp:
  903. $ref: '#/definitions/models.AreaSpotModel'
  904. ermcp.HisExposureRsp:
  905. $ref: '#/definitions/models.ErmcpHisExposureS'
  906. ermcp.PendingAuditCntRsp:
  907. $ref: '#/definitions/models.ErmcpPendingAudit'
  908. ermcp.QryAreaStockApplyRsp:
  909. $ref: '#/definitions/models.ErmcpAreaStockApply'
  910. ermcp.QryAvalidGPRsp:
  911. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  912. ermcp.QryBusinessDjRsp:
  913. properties:
  914. amount:
  915. description: 点价金额=(点价价格+升贴水)*点价数量
  916. type: number
  917. applyid:
  918. description: 申请人
  919. type: string
  920. applyname:
  921. description: 申请人名称
  922. type: string
  923. applystatus:
  924. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  925. type: integer
  926. applytime:
  927. description: 申请时间
  928. type: string
  929. attachurl:
  930. description: 附件
  931. type: string
  932. auditid:
  933. description: 审核人ID
  934. type: string
  935. auditname:
  936. description: 审核人名称
  937. type: string
  938. audittime:
  939. description: 审核时间
  940. type: string
  941. buyusername:
  942. description: 采购方名称
  943. type: string
  944. contractno:
  945. description: 合同编号
  946. type: string
  947. contractstatus:
  948. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  949. type: integer
  950. contracttype:
  951. description: 现货合同类型 - 1:采购 -1:销售
  952. type: integer
  953. enumdicname:
  954. description: 单位名称
  955. type: string
  956. goodscode:
  957. description: 点价合约
  958. type: string
  959. goodsname:
  960. description: 商品名称
  961. type: string
  962. operateapplyid:
  963. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  964. type: string
  965. operateapplytype:
  966. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  967. type: integer
  968. pricedPrice:
  969. description: 点价价格(非必填)
  970. type: number
  971. pricedQty:
  972. description: 点价数量(非必填)
  973. type: number
  974. pricemove:
  975. description: 升贴水
  976. type: number
  977. pricetype:
  978. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  979. type: integer
  980. relatedid:
  981. description: 现货合同ID
  982. type: string
  983. sellusername:
  984. description: 销售方名字
  985. type: string
  986. userid:
  987. description: 用户ID
  988. type: integer
  989. wrstandardcode:
  990. description: 现货商品代码
  991. type: string
  992. wrstandardid:
  993. description: 现货商品id
  994. type: integer
  995. wrstandardname:
  996. description: 现货商品名称
  997. type: string
  998. type: object
  999. ermcp.QryBussinessFpRsp:
  1000. properties:
  1001. applyid:
  1002. description: 申请人
  1003. type: string
  1004. applyname:
  1005. description: 申请人名称
  1006. type: string
  1007. applystatus:
  1008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1009. type: integer
  1010. applytime:
  1011. description: 申请时间
  1012. type: string
  1013. attachurl:
  1014. description: 附件
  1015. type: string
  1016. auditid:
  1017. description: 审核人ID
  1018. type: string
  1019. auditname:
  1020. description: 审核人名称
  1021. type: string
  1022. audittime:
  1023. description: 审核时间
  1024. type: string
  1025. buyusername:
  1026. description: 采购方名称
  1027. type: string
  1028. contractno:
  1029. description: 合同编号
  1030. type: string
  1031. contractstatus:
  1032. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1033. type: integer
  1034. contracttype:
  1035. description: 现货合同类型 - 1:采购 -1:销售
  1036. type: integer
  1037. enumdicname:
  1038. description: 单位名称
  1039. type: string
  1040. goodscode:
  1041. description: 点价合约
  1042. type: string
  1043. goodsname:
  1044. description: 商品名称
  1045. type: string
  1046. invoiceAmount:
  1047. description: 已开收票金额(销售为开票,采购为收票)
  1048. type: number
  1049. operateapplyid:
  1050. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1051. type: string
  1052. operateapplytype:
  1053. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1054. type: integer
  1055. pricemove:
  1056. description: 升贴水
  1057. type: number
  1058. pricetype:
  1059. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1060. type: integer
  1061. relatedid:
  1062. description: 现货合同ID
  1063. type: string
  1064. sellusername:
  1065. description: 销售方名字
  1066. type: string
  1067. userid:
  1068. description: 用户ID
  1069. type: integer
  1070. wrstandardcode:
  1071. description: 现货商品代码
  1072. type: string
  1073. wrstandardid:
  1074. description: 现货商品id
  1075. type: integer
  1076. wrstandardname:
  1077. description: 现货商品名称
  1078. type: string
  1079. type: object
  1080. ermcp.QryBussinessJsExRsp:
  1081. properties:
  1082. applyid:
  1083. description: 申请人
  1084. type: string
  1085. applyname:
  1086. description: 申请人名称
  1087. type: string
  1088. applystatus:
  1089. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1090. type: integer
  1091. applytime:
  1092. description: 申请时间
  1093. type: string
  1094. attachurl:
  1095. description: 附件
  1096. type: string
  1097. auditid:
  1098. description: 审核人ID
  1099. type: string
  1100. auditname:
  1101. description: 审核人名称
  1102. type: string
  1103. audittime:
  1104. description: 审核时间
  1105. type: string
  1106. buyusername:
  1107. description: 采购方名称
  1108. type: string
  1109. contractno:
  1110. description: 合同编号
  1111. type: string
  1112. contractstatus:
  1113. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1114. type: integer
  1115. contracttype:
  1116. description: 现货合同类型 - 1:采购 -1:销售
  1117. type: integer
  1118. enumdicname:
  1119. description: 单位名称
  1120. type: string
  1121. goodscode:
  1122. description: 点价合约
  1123. type: string
  1124. goodsname:
  1125. description: 商品名称
  1126. type: string
  1127. operateapplyid:
  1128. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1129. type: string
  1130. operateapplytype:
  1131. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1132. type: integer
  1133. pricemove:
  1134. description: 升贴水
  1135. type: number
  1136. pricetype:
  1137. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1138. type: integer
  1139. reckontype:
  1140. description: 结算类型
  1141. type: string
  1142. reckonvalue:
  1143. description: 值
  1144. type: number
  1145. relatedid:
  1146. description: 现货合同ID
  1147. type: string
  1148. sellusername:
  1149. description: 销售方名字
  1150. type: string
  1151. userid:
  1152. description: 用户ID
  1153. type: integer
  1154. wrstandardcode:
  1155. description: 现货商品代码
  1156. type: string
  1157. wrstandardid:
  1158. description: 现货商品id
  1159. type: integer
  1160. wrstandardname:
  1161. description: 现货商品名称
  1162. type: string
  1163. type: object
  1164. ermcp.QryBussinessJsRsp:
  1165. properties:
  1166. addmargin:
  1167. description: 追加保证金(非必填)
  1168. type: number
  1169. applyid:
  1170. description: 申请人
  1171. type: string
  1172. applyname:
  1173. description: 申请人名称
  1174. type: string
  1175. applystatus:
  1176. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1177. type: integer
  1178. applytime:
  1179. description: 申请时间
  1180. type: string
  1181. attachurl:
  1182. description: 附件
  1183. type: string
  1184. auditid:
  1185. description: 审核人ID
  1186. type: string
  1187. auditname:
  1188. description: 审核人名称
  1189. type: string
  1190. audittime:
  1191. description: 审核时间
  1192. type: string
  1193. buyusername:
  1194. description: 采购方名称
  1195. type: string
  1196. contractno:
  1197. description: 合同编号
  1198. type: string
  1199. contractstatus:
  1200. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1201. type: integer
  1202. contracttype:
  1203. description: 现货合同类型 - 1:采购 -1:销售
  1204. type: integer
  1205. decmargin:
  1206. description: 减少保证金(非必填)
  1207. type: number
  1208. enumdicname:
  1209. description: 单位名称
  1210. type: string
  1211. goodscode:
  1212. description: 点价合约
  1213. type: string
  1214. goodsname:
  1215. description: 商品名称
  1216. type: string
  1217. operateapplyid:
  1218. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1219. type: string
  1220. operateapplytype:
  1221. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1222. type: integer
  1223. pricemove:
  1224. description: 升贴水
  1225. type: number
  1226. pricetype:
  1227. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1228. type: integer
  1229. reckonadjustamount:
  1230. description: 结算调整金额(非必填)
  1231. type: number
  1232. reckonosamount:
  1233. description: 结算溢短金额(非必填)
  1234. type: number
  1235. reckonotheramount:
  1236. description: 结算其他费用(非必填)
  1237. type: number
  1238. reckonrealqty:
  1239. description: 结算实际数量(非必填)
  1240. type: number
  1241. relatedid:
  1242. description: 现货合同ID
  1243. type: string
  1244. sellusername:
  1245. description: 销售方名字
  1246. type: string
  1247. userid:
  1248. description: 用户ID
  1249. type: integer
  1250. wrstandardcode:
  1251. description: 现货商品代码
  1252. type: string
  1253. wrstandardid:
  1254. description: 现货商品id
  1255. type: integer
  1256. wrstandardname:
  1257. description: 现货商品名称
  1258. type: string
  1259. type: object
  1260. ermcp.QryBussinessKxRsp:
  1261. properties:
  1262. applyid:
  1263. description: 申请人
  1264. type: string
  1265. applyname:
  1266. description: 申请人名称
  1267. type: string
  1268. applystatus:
  1269. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1270. type: integer
  1271. applytime:
  1272. description: 申请时间
  1273. type: string
  1274. attachurl:
  1275. description: 附件
  1276. type: string
  1277. auditid:
  1278. description: 审核人ID
  1279. type: string
  1280. auditname:
  1281. description: 审核人名称
  1282. type: string
  1283. audittime:
  1284. description: 审核时间
  1285. type: string
  1286. buyusername:
  1287. description: 采购方名称
  1288. type: string
  1289. contractno:
  1290. description: 合同编号
  1291. type: string
  1292. contractstatus:
  1293. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1294. type: integer
  1295. contracttype:
  1296. description: 现货合同类型 - 1:采购 -1:销售
  1297. type: integer
  1298. deductamount:
  1299. description: 退款(非必填)
  1300. type: number
  1301. enumdicname:
  1302. description: 单位名称
  1303. type: string
  1304. goodscode:
  1305. description: 点价合约
  1306. type: string
  1307. goodsname:
  1308. description: 商品名称
  1309. type: string
  1310. kxtype:
  1311. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1312. type: integer
  1313. operateapplyid:
  1314. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1315. type: string
  1316. operateapplytype:
  1317. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1318. type: integer
  1319. payamount:
  1320. description: 收付款(非必填)
  1321. type: number
  1322. pricemove:
  1323. description: 升贴水
  1324. type: number
  1325. pricetype:
  1326. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1327. type: integer
  1328. relatedid:
  1329. description: 现货合同ID
  1330. type: string
  1331. sellusername:
  1332. description: 销售方名字
  1333. type: string
  1334. userid:
  1335. description: 用户ID
  1336. type: integer
  1337. wrstandardcode:
  1338. description: 现货商品代码
  1339. type: string
  1340. wrstandardid:
  1341. description: 现货商品id
  1342. type: integer
  1343. wrstandardname:
  1344. description: 现货商品名称
  1345. type: string
  1346. type: object
  1347. ermcp.QryErmcpRsp:
  1348. $ref: '#/definitions/models.ErmcpModel'
  1349. ermcp.QryGGCovertCfgRsp:
  1350. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1351. ermcp.QryHedgePlanRsp:
  1352. $ref: '#/definitions/models.ErmcpHedgePlan'
  1353. ermcp.QryMGChangeLogRsp:
  1354. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1355. ermcp.QryMiddleGoodsDetailRsp:
  1356. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1357. ermcp.QryMiddleGoodsRsp:
  1358. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1359. ermcp.QryOPLogRsp:
  1360. $ref: '#/definitions/models.ErmcpOPLogModel'
  1361. ermcp.QryReportDaySpotDetailRsp:
  1362. $ref: '#/definitions/models.ErmcpReportOPLog'
  1363. ermcp.QryReportExposureDayRsp:
  1364. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1365. ermcp.QryReportFinanceDayRsp:
  1366. $ref: '#/definitions/models.ErmcpReportDayFR'
  1367. ermcp.QryReportFinanceKxRsp:
  1368. $ref: '#/definitions/models.ErmcpReportOPLog'
  1369. ermcp.QryReportFinanceMonRsp:
  1370. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1371. ermcp.QryReportSpotDayRsp:
  1372. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1373. ermcp.QryReportSpotMonRsp:
  1374. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1375. ermcp.QryReportSpotMonthDetailRsp:
  1376. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1377. ermcp.QrySpotContractRsp:
  1378. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1379. ermcp.QryUserInfoRsp:
  1380. $ref: '#/definitions/models.ErmcpUserModel'
  1381. ermcp.QryWarehouseRsp:
  1382. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1383. ermcp.QryWrStandardDetailRsp:
  1384. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1385. ermcp.QryWrStandardRsp:
  1386. $ref: '#/definitions/models.ErmcpWrstandard'
  1387. ermcp.QueryAreaStockApplySumRsp:
  1388. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1389. ermcp.QueryErmcpTradePositionRsp:
  1390. properties:
  1391. agreeunit:
  1392. description: 合约单位
  1393. type: number
  1394. buyorsell:
  1395. description: 方向 - 0:买 1:卖
  1396. type: integer
  1397. curpositionqty:
  1398. description: 持仓(总仓数量, 期末头寸)
  1399. type: integer
  1400. curtdposition:
  1401. description: 今仓数量(期末今日头寸)
  1402. type: integer
  1403. curtdpositionenabled:
  1404. description: 今仓可用
  1405. type: integer
  1406. decimalplace:
  1407. description: 报价小数位
  1408. type: integer
  1409. enableqty:
  1410. description: 可用(总仓可用)
  1411. type: integer
  1412. exexchangename:
  1413. description: 外部交易所名称
  1414. type: string
  1415. goodscode:
  1416. description: 商品代码(内部)
  1417. type: string
  1418. goodsid:
  1419. description: 商品ID(自增ID SEQ_GOODS)
  1420. type: integer
  1421. goodsname:
  1422. description: 商品名称
  1423. type: string
  1424. last:
  1425. description: 现价
  1426. type: number
  1427. marketid:
  1428. description: 所属市场ID
  1429. type: integer
  1430. openaverageprice:
  1431. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1432. type: number
  1433. opencost:
  1434. description: 开仓成本
  1435. type: number
  1436. openpl:
  1437. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1438. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1439. type: number
  1440. outgoodscode:
  1441. description: 商品代码(外部)
  1442. type: string
  1443. positionaverageprice:
  1444. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1445. type: number
  1446. positioncost:
  1447. description: 持仓成本
  1448. type: number
  1449. positionpl:
  1450. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1451. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1452. type: number
  1453. positionplrate:
  1454. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1455. type: number
  1456. usedmargin:
  1457. description: 占用保证金
  1458. type: number
  1459. type: object
  1460. ermcp.RealtimeExposurePositionRsp:
  1461. $ref: '#/definitions/models.ErmcpExposurePostion'
  1462. ermcp.RealtimeExposureRsp:
  1463. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1464. erms2.QueryArbitrageStrategyRsp:
  1465. properties:
  1466. applybasis:
  1467. description: 申请基差
  1468. type: number
  1469. asapplyid:
  1470. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1471. type: string
  1472. asname:
  1473. description: 策略名称
  1474. type: string
  1475. asno:
  1476. description: 策略编号
  1477. type: string
  1478. basischangepl:
  1479. description: 基差变动损益[结算更新]
  1480. type: number
  1481. biztype:
  1482. description: 业务类型 - 1:正向套利 -1:反向套利
  1483. type: integer
  1484. closetradedate:
  1485. description: 完结交易日(yyyyMMdd)
  1486. type: string
  1487. curbasis:
  1488. description: 当前基差[结算更新]
  1489. type: number
  1490. deliverygoodsid:
  1491. description: 现货品种ID
  1492. type: integer
  1493. futureavgprice:
  1494. description: 期货建仓均价
  1495. type: number
  1496. futurecloseamount:
  1497. description: 期货平仓金额
  1498. type: number
  1499. futurecloseqty:
  1500. description: 期货平仓数量
  1501. type: number
  1502. futureopenamount:
  1503. description: 期货开仓金额
  1504. type: number
  1505. futureopenqty:
  1506. description: 期货开仓数量
  1507. type: number
  1508. futurepl:
  1509. description: 期货总盈亏[结算更新]
  1510. type: number
  1511. futureqty:
  1512. description: 期货持仓数量
  1513. type: number
  1514. futurequote:
  1515. description: 期货额度
  1516. type: number
  1517. goodsgroupid:
  1518. description: 期货品种ID
  1519. type: integer
  1520. marketid:
  1521. description: 市场ID
  1522. type: integer
  1523. netexposure:
  1524. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1525. type: number
  1526. netexposurepl:
  1527. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1528. type: number
  1529. netexposurerate:
  1530. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1531. type: number
  1532. openbasis:
  1533. description: 建仓基差
  1534. type: number
  1535. pricedspotqty:
  1536. description: 已定价现货数量
  1537. type: number
  1538. pricedspotqtynotax:
  1539. description: 已定价现货不含税数量
  1540. type: number
  1541. remark:
  1542. description: 备注
  1543. type: string
  1544. spotavgprice:
  1545. description: 现货均价
  1546. type: number
  1547. spotbuyamount:
  1548. description: 现货采购金额
  1549. type: number
  1550. spotbuyqty:
  1551. description: 现货采购数量
  1552. type: number
  1553. spotpl:
  1554. description: 现货总盈亏[结算更新]
  1555. type: number
  1556. spotquota:
  1557. description: 现货额度
  1558. type: number
  1559. spotsellamount:
  1560. description: 现货销售金额
  1561. type: number
  1562. spotsellqty:
  1563. description: 现货销售数量
  1564. type: number
  1565. spotusedquota:
  1566. description: 现货占用资金
  1567. type: number
  1568. strategystatus:
  1569. description: 策略状态 - 0:未结束 1:已结束
  1570. type: integer
  1571. totalpl:
  1572. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1573. type: number
  1574. tradedate:
  1575. description: 交易日(yyyyMMdd)
  1576. type: string
  1577. updatetime:
  1578. description: 更新时间
  1579. type: string
  1580. usedquota:
  1581. description: 已占用资金
  1582. type: number
  1583. userid:
  1584. description: 所属机构
  1585. type: integer
  1586. required:
  1587. - asapplyid
  1588. type: object
  1589. erms2.QueryInnerTradeDetailRsp:
  1590. properties:
  1591. accountid:
  1592. description: 账号ID
  1593. type: integer
  1594. agreeunit:
  1595. description: 合约单位
  1596. type: number
  1597. asapplyid:
  1598. description: 策略申请ID
  1599. type: integer
  1600. asname:
  1601. description: 策略名称
  1602. type: string
  1603. asno:
  1604. description: 策略编号
  1605. type: string
  1606. buyorsell:
  1607. description: 方向 - 0:买 1:卖
  1608. type: integer
  1609. channelbuildtype:
  1610. description: 委托单据类型 0:无 1:建仓 2:平仓
  1611. type: integer
  1612. closetype:
  1613. description: 平仓方式 - 0:无 1:平今 2:平昨
  1614. type: integer
  1615. decimalplace:
  1616. description: 报价小数位
  1617. type: integer
  1618. detailtype:
  1619. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1620. type: integer
  1621. exexchangecode:
  1622. description: 外部交易所代码
  1623. type: string
  1624. exexchangename:
  1625. description: 外部交易所名称
  1626. type: string
  1627. goodscode:
  1628. description: 商品代码(合约)
  1629. type: string
  1630. goodsgroupid:
  1631. description: 商品组ID(品种ID)
  1632. type: integer
  1633. goodsgroupname:
  1634. description: 商品组名称(品种)
  1635. type: string
  1636. goodsid:
  1637. description: 商品ID
  1638. type: integer
  1639. goodsname:
  1640. description: 商品名称(合约)
  1641. type: string
  1642. goodunit:
  1643. description: 报价单位
  1644. type: string
  1645. marketid:
  1646. description: 市场ID
  1647. type: integer
  1648. orderid:
  1649. description: 委托单号
  1650. type: string
  1651. outgoodscode:
  1652. description: 商品代码(外部)
  1653. type: string
  1654. relatedouttradeid:
  1655. description: 关联外部成交单ID
  1656. type: string
  1657. remark:
  1658. description: 备注
  1659. type: string
  1660. spotcontractid:
  1661. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1662. type: integer
  1663. spotcontractno:
  1664. description: 现货合同编号
  1665. type: string
  1666. tradeid:
  1667. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1668. type: string
  1669. tradeprice:
  1670. description: 成交价格
  1671. type: number
  1672. tradeqty:
  1673. description: 成交数量
  1674. type: integer
  1675. tradetime:
  1676. description: 成交时间
  1677. type: string
  1678. updatetime:
  1679. description: 更新时间
  1680. type: string
  1681. required:
  1682. - asapplyid
  1683. - buyorsell
  1684. - goodscode
  1685. - goodsgroupid
  1686. - goodsgroupname
  1687. - goodsname
  1688. - tradeid
  1689. type: object
  1690. erms2.QuerySpotContractRsp:
  1691. properties:
  1692. accountid:
  1693. description: 资金账户ID
  1694. type: integer
  1695. areauserid:
  1696. description: 所属机构
  1697. type: integer
  1698. closedate:
  1699. description: 终止日期
  1700. type: string
  1701. closeremark:
  1702. description: 结束备注
  1703. type: string
  1704. closetradedate:
  1705. description: 完结交易日(yyyyMMdd)
  1706. type: string
  1707. closetype:
  1708. description: 终止类型 - 1:违约 2:提前终止
  1709. type: integer
  1710. contractamount:
  1711. description: 合同金额
  1712. type: number
  1713. contractattachment:
  1714. description: 合同附件
  1715. type: string
  1716. contractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. contractqty:
  1720. description: 合同数量(数值) (用于计算)
  1721. type: number
  1722. contractqtychar:
  1723. description: 合同数量\已订价数量 (用于显示)
  1724. type: string
  1725. contractstatus:
  1726. description: 合同状态 - 0:未结束 1:已结束
  1727. type: integer
  1728. contracttype:
  1729. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1730. type: integer
  1731. customeraccountid:
  1732. description: 客户资金账户ID
  1733. type: integer
  1734. customeruserid:
  1735. description: 客户ID
  1736. type: integer
  1737. deliverygoodsdesc:
  1738. description: 品种说明
  1739. type: string
  1740. deliverygoodsid:
  1741. description: 现货品种ID
  1742. type: integer
  1743. handlestatus:
  1744. description: 处理状态
  1745. type: integer
  1746. invoiceatt:
  1747. description: 发票附件
  1748. type: string
  1749. invoicedatetime:
  1750. description: 开收票更新时间
  1751. type: string
  1752. invoiceopentime:
  1753. description: 开票时间
  1754. type: string
  1755. invoiceremark:
  1756. description: 发票备注
  1757. type: string
  1758. invoicestatus:
  1759. description: 开收票状态 - 0:未开票 1:已开票
  1760. type: integer
  1761. lastdate:
  1762. description: 交货时间
  1763. type: string
  1764. marketid:
  1765. description: 市场ID
  1766. type: integer
  1767. paydatetime:
  1768. description: 收付款更新时间
  1769. type: string
  1770. payremark:
  1771. description: 收付款备注
  1772. type: string
  1773. paystatus:
  1774. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1775. type: integer
  1776. positionqty:
  1777. description: 头寸数量 - 合同数量去小数部分
  1778. type: integer
  1779. producttype:
  1780. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1781. type: integer
  1782. relatedqty:
  1783. description: 已关联数量
  1784. type: number
  1785. relatedstatus:
  1786. description: 关联完结状态 - 0:未结束 1:已结束
  1787. type: integer
  1788. remark:
  1789. description: 备注
  1790. type: string
  1791. signdate:
  1792. description: 签订日期
  1793. type: string
  1794. spotcontractid:
  1795. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1796. type: string
  1797. spotdatetime:
  1798. description: 收发货更新时间
  1799. type: string
  1800. spotprice:
  1801. description: 价格
  1802. type: number
  1803. spotremark:
  1804. description: 收发货备注
  1805. type: string
  1806. spotstatus:
  1807. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1808. type: integer
  1809. tradedate:
  1810. description: 交易日(yyyyMMdd)
  1811. type: string
  1812. userid:
  1813. description: 业务员用户ID
  1814. type: integer
  1815. warehouseid:
  1816. description: 仓库ID
  1817. type: integer
  1818. wrfactortypeid:
  1819. description: 仓单要素类型ID
  1820. type: integer
  1821. wrstandardid:
  1822. description: 仓单标准ID(SEQ_WRSTANDARD)
  1823. type: integer
  1824. required:
  1825. - spotcontractid
  1826. type: object
  1827. erms3.AddErms2ASApplyReq:
  1828. properties:
  1829. applybasis:
  1830. description: 申请基差
  1831. type: number
  1832. applystatus:
  1833. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1834. type: integer
  1835. asapplyid:
  1836. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1837. type: integer
  1838. asname:
  1839. description: 策略名称
  1840. type: string
  1841. asno:
  1842. description: 策略编号
  1843. type: string
  1844. auditid:
  1845. description: 审核人
  1846. type: integer
  1847. auditremark:
  1848. description: 审核备注
  1849. type: string
  1850. audittime:
  1851. description: 审核时间
  1852. type: string
  1853. biztype:
  1854. description: 业务类型 - 1:正向套利 2:反向套利
  1855. type: integer
  1856. createtime:
  1857. description: 创建时间
  1858. type: string
  1859. creatorid:
  1860. description: 创建人
  1861. type: integer
  1862. deliverygoodsid:
  1863. description: 现货品种ID
  1864. type: integer
  1865. futurequote:
  1866. description: 期货额度
  1867. type: number
  1868. goodsgroupid:
  1869. description: 期货品种ID
  1870. type: integer
  1871. marketid:
  1872. description: 市场ID
  1873. type: integer
  1874. remark:
  1875. description: 备注
  1876. type: string
  1877. spotquota:
  1878. description: 现货额度
  1879. type: number
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 所属机构
  1885. type: integer
  1886. required:
  1887. - asapplyid
  1888. type: object
  1889. erms3.AddErms2SpotTradeApplyReq:
  1890. properties:
  1891. applyjsondetail:
  1892. description: 申请明细(JSON)
  1893. type: string
  1894. applystatus:
  1895. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1896. type: integer
  1897. areauserid:
  1898. description: 所属机构
  1899. type: integer
  1900. auditid:
  1901. description: 审核人
  1902. type: integer
  1903. auditremark:
  1904. description: 审核备注
  1905. type: string
  1906. audittime:
  1907. description: 审核时间
  1908. type: string
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futureaccountid:
  1919. description: 期货资金账户
  1920. type: integer
  1921. goodsgroupid:
  1922. description: 期货品种
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotaccountid:
  1931. description: 现货资金账户
  1932. type: integer
  1933. spottradeid:
  1934. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1935. type: integer
  1936. spottradename:
  1937. description: 业务名称
  1938. type: string
  1939. spottradeno:
  1940. description: 业务编号
  1941. type: string
  1942. tradedate:
  1943. description: 交易日(yyyyMMdd)
  1944. type: string
  1945. wrstandardid:
  1946. description: 仓单标准ID
  1947. type: integer
  1948. required:
  1949. - spottradeid
  1950. type: object
  1951. erms3.AddSpotContractApplyReq:
  1952. properties:
  1953. accountid:
  1954. description: 资金账户ID
  1955. type: integer
  1956. areauserid:
  1957. description: 所属机构
  1958. type: integer
  1959. contractattachment:
  1960. description: 合同附件
  1961. type: string
  1962. contractno:
  1963. description: 现货合同编号
  1964. type: string
  1965. contracttype:
  1966. description: 现货合同类型 - 1:采购 -1:销售
  1967. type: integer
  1968. creatorid:
  1969. description: 申请人
  1970. type: integer
  1971. customeraccountid:
  1972. description: 客户资金账户ID
  1973. type: integer
  1974. customeruserid:
  1975. description: 客户ID
  1976. type: integer
  1977. details:
  1978. description: 明细
  1979. items:
  1980. $ref: '#/definitions/erms3.SoptContractDetail'
  1981. type: array
  1982. orimargin:
  1983. description: 初始保证金
  1984. type: number
  1985. remark:
  1986. description: 备注
  1987. type: string
  1988. signdate:
  1989. description: 签订日期
  1990. type: string
  1991. required:
  1992. - accountid
  1993. - areauserid
  1994. - contractno
  1995. - contracttype
  1996. - customeraccountid
  1997. - customeruserid
  1998. - details
  1999. - orimargin
  2000. - signdate
  2001. type: object
  2002. erms3.AddSpotContractApplyRsp:
  2003. properties:
  2004. contractno:
  2005. description: 现货合同编号
  2006. type: string
  2007. spotcontractid:
  2008. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2009. type: integer
  2010. required:
  2011. - contractno
  2012. type: object
  2013. erms3.AddUserInfoApplyReq:
  2014. properties:
  2015. accountid:
  2016. description: 交易系统帐号Id (加密存储)
  2017. type: integer
  2018. areacode:
  2019. description: 机构代码
  2020. type: string
  2021. areaid:
  2022. description: 机构Id
  2023. type: integer
  2024. attachment1:
  2025. description: 附件1
  2026. type: string
  2027. attachment2:
  2028. description: 附件2
  2029. type: string
  2030. attachment3:
  2031. description: 附件3
  2032. type: string
  2033. attachment4:
  2034. description: 附件4
  2035. type: string
  2036. attachment5:
  2037. description: 附件5
  2038. type: string
  2039. auditedby:
  2040. description: 审核人
  2041. type: string
  2042. auditime:
  2043. description: 审核时间
  2044. type: string
  2045. bankaccount:
  2046. description: 银行帐号 (加密存储)
  2047. type: string
  2048. bankaccountname:
  2049. description: 收款人名称
  2050. type: string
  2051. bankcardbackphotourl:
  2052. description: 银行卡背面照地址
  2053. type: string
  2054. bankcardfrontphotourl:
  2055. description: 银行卡正面照地址
  2056. type: string
  2057. bankid:
  2058. description: 银行编码
  2059. type: string
  2060. bankname:
  2061. description: 银行名称
  2062. type: string
  2063. bankpictureurl:
  2064. description: 银行卡正面地址
  2065. type: string
  2066. biznature:
  2067. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2068. type: integer
  2069. bizscope:
  2070. description: 企业经营范围(企业)
  2071. type: string
  2072. biztype:
  2073. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2074. type: integer
  2075. brokerid:
  2076. description: 经纪人ID(加密存储)
  2077. type: string
  2078. cardaddress:
  2079. description: 证件地址 (加密存储)
  2080. type: string
  2081. cardbackphotourl:
  2082. description: 背面证件照地址
  2083. type: string
  2084. cardfrontphotourl:
  2085. description: 正面证件照地址
  2086. type: string
  2087. cardnum:
  2088. description: 证件号码 (加密存储)
  2089. type: string
  2090. cardtype:
  2091. description: 证件类型
  2092. type: integer
  2093. cityid:
  2094. description: 市
  2095. type: integer
  2096. company:
  2097. description: 公司(个人)
  2098. type: string
  2099. contactcardbackphotourl:
  2100. description: 联系人证件背面图片地址
  2101. type: string
  2102. contactcardfrontphotourl:
  2103. description: 联系人证件正面图片地址
  2104. type: string
  2105. contactname:
  2106. description: 联系人
  2107. type: string
  2108. countryid:
  2109. description: 国家
  2110. type: integer
  2111. createtime:
  2112. description: 开户申请时间
  2113. type: string
  2114. cusbankid:
  2115. description: 签约类型
  2116. type: string
  2117. cusbankname:
  2118. description: 签约类型名称
  2119. type: string
  2120. customername:
  2121. description: 客户名称(企业名称)
  2122. type: string
  2123. districtid:
  2124. description: 地区
  2125. type: integer
  2126. email:
  2127. description: Email地址(加密存储)
  2128. type: string
  2129. halfbodyphotourl:
  2130. description: 半身照地址
  2131. type: string
  2132. headurl:
  2133. description: 头像地址
  2134. type: string
  2135. ipaddress:
  2136. description: IP地址
  2137. type: string
  2138. isvalidate:
  2139. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2140. type: string
  2141. legalcardbackphotourl:
  2142. description: 法人身份证背面照地址
  2143. type: string
  2144. legalcardfrontphotourl:
  2145. description: 法人身份证正面照地址
  2146. type: string
  2147. legalpersonname:
  2148. description: 法人姓名(企业)
  2149. type: string
  2150. logincode:
  2151. description: 登录帐号 (加密存储)
  2152. type: string
  2153. memberareaid:
  2154. description: 所属会员ID
  2155. type: integer
  2156. mobile2:
  2157. description: 手机号码[明文-尚志]
  2158. type: string
  2159. mobilephone:
  2160. description: 手机号码 (加密存储)
  2161. type: string
  2162. modifiedby:
  2163. description: 修改人帐号
  2164. type: integer
  2165. modifiedtime:
  2166. description: 修改时间
  2167. type: string
  2168. nickname:
  2169. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2170. type: string
  2171. openmode:
  2172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2173. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2174. type: integer
  2175. otherurl:
  2176. description: 其它图片地址[使用分号分隔]
  2177. type: string
  2178. postalcode:
  2179. description: 邮政编码
  2180. type: string
  2181. provinceid:
  2182. description: 省
  2183. type: integer
  2184. proxystatementurl:
  2185. description: 授权委托书
  2186. type: string
  2187. qq:
  2188. description: QQ(加密存储
  2189. type: string
  2190. referral:
  2191. description: 推荐人编码
  2192. type: string
  2193. remark:
  2194. description: 备注
  2195. type: string
  2196. removebeforestatus:
  2197. description: REMOVEBEFORESTATUS
  2198. type: integer
  2199. sex:
  2200. description: 性别 - 0:女 1:男
  2201. type: integer
  2202. signedstatus:
  2203. description: 账户一号签签约状态
  2204. type: integer
  2205. signpdfurl:
  2206. description: 签约pdf文件
  2207. type: string
  2208. subbranch:
  2209. description: 开户支行
  2210. type: string
  2211. telphone:
  2212. description: 联系电话(加密存储)
  2213. type: string
  2214. userid:
  2215. description: 用户ID(自增ID)
  2216. type: integer
  2217. userinfotype:
  2218. description: 用户信息类型 - 1:个人 2:企业
  2219. type: integer
  2220. username:
  2221. description: 用户姓名
  2222. type: string
  2223. userstate:
  2224. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2225. type: integer
  2226. usertype:
  2227. description: 用户类型 - 1:投资者 2:机构
  2228. type: integer
  2229. videourl:
  2230. description: 视频地址
  2231. type: string
  2232. wechat:
  2233. description: 微信号 (加密存储)
  2234. type: string
  2235. required:
  2236. - userid
  2237. type: object
  2238. erms3.CustomerInfo:
  2239. properties:
  2240. accountids:
  2241. description: 资金账户ID列表
  2242. items:
  2243. type: integer
  2244. type: array
  2245. customername:
  2246. description: 名称(企业名称)
  2247. type: string
  2248. mobile:
  2249. description: 手机号码
  2250. type: string
  2251. userid:
  2252. description: 用户ID
  2253. type: integer
  2254. required:
  2255. - userid
  2256. type: object
  2257. erms3.ModifyUserInfoApplyReq:
  2258. properties:
  2259. accountid:
  2260. description: 交易系统帐号Id (加密存储)
  2261. type: integer
  2262. areacode:
  2263. description: 机构代码
  2264. type: string
  2265. areaid:
  2266. description: 机构Id
  2267. type: integer
  2268. attachment1:
  2269. description: 附件1
  2270. type: string
  2271. attachment2:
  2272. description: 附件2
  2273. type: string
  2274. attachment3:
  2275. description: 附件3
  2276. type: string
  2277. attachment4:
  2278. description: 附件4
  2279. type: string
  2280. attachment5:
  2281. description: 附件5
  2282. type: string
  2283. auditedby:
  2284. description: 审核人
  2285. type: string
  2286. auditime:
  2287. description: 审核时间
  2288. type: string
  2289. bankaccount:
  2290. description: 银行帐号 (加密存储)
  2291. type: string
  2292. bankaccountname:
  2293. description: 收款人名称
  2294. type: string
  2295. bankcardbackphotourl:
  2296. description: 银行卡背面照地址
  2297. type: string
  2298. bankcardfrontphotourl:
  2299. description: 银行卡正面照地址
  2300. type: string
  2301. bankid:
  2302. description: 银行编码
  2303. type: string
  2304. bankname:
  2305. description: 银行名称
  2306. type: string
  2307. bankpictureurl:
  2308. description: 银行卡正面地址
  2309. type: string
  2310. biznature:
  2311. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2312. type: integer
  2313. bizscope:
  2314. description: 企业经营范围(企业)
  2315. type: string
  2316. biztype:
  2317. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2318. type: integer
  2319. brokerid:
  2320. description: 经纪人ID(加密存储)
  2321. type: string
  2322. cardaddress:
  2323. description: 证件地址 (加密存储)
  2324. type: string
  2325. cardbackphotourl:
  2326. description: 背面证件照地址
  2327. type: string
  2328. cardfrontphotourl:
  2329. description: 正面证件照地址
  2330. type: string
  2331. cardnum:
  2332. description: 证件号码 (加密存储)
  2333. type: string
  2334. cardtype:
  2335. description: 证件类型
  2336. type: integer
  2337. cityid:
  2338. description: 市
  2339. type: integer
  2340. company:
  2341. description: 公司(个人)
  2342. type: string
  2343. contactcardbackphotourl:
  2344. description: 联系人证件背面图片地址
  2345. type: string
  2346. contactcardfrontphotourl:
  2347. description: 联系人证件正面图片地址
  2348. type: string
  2349. contactname:
  2350. description: 联系人
  2351. type: string
  2352. countryid:
  2353. description: 国家
  2354. type: integer
  2355. createtime:
  2356. description: 开户申请时间
  2357. type: string
  2358. cusbankid:
  2359. description: 签约类型
  2360. type: string
  2361. cusbankname:
  2362. description: 签约类型名称
  2363. type: string
  2364. customername:
  2365. description: 客户名称(企业名称)
  2366. type: string
  2367. districtid:
  2368. description: 地区
  2369. type: integer
  2370. email:
  2371. description: Email地址(加密存储)
  2372. type: string
  2373. halfbodyphotourl:
  2374. description: 半身照地址
  2375. type: string
  2376. headurl:
  2377. description: 头像地址
  2378. type: string
  2379. ipaddress:
  2380. description: IP地址
  2381. type: string
  2382. isvalidate:
  2383. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2384. type: string
  2385. legalcardbackphotourl:
  2386. description: 法人身份证背面照地址
  2387. type: string
  2388. legalcardfrontphotourl:
  2389. description: 法人身份证正面照地址
  2390. type: string
  2391. legalpersonname:
  2392. description: 法人姓名(企业)
  2393. type: string
  2394. logincode:
  2395. description: 登录帐号 (加密存储)
  2396. type: string
  2397. memberareaid:
  2398. description: 所属会员ID
  2399. type: integer
  2400. mobile2:
  2401. description: 手机号码[明文-尚志]
  2402. type: string
  2403. mobilephone:
  2404. description: 手机号码 (加密存储)
  2405. type: string
  2406. modifiedby:
  2407. description: 修改人帐号
  2408. type: integer
  2409. modifiedtime:
  2410. description: 修改时间
  2411. type: string
  2412. nickname:
  2413. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2414. type: string
  2415. openmode:
  2416. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2417. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2418. type: integer
  2419. otherurl:
  2420. description: 其它图片地址[使用分号分隔]
  2421. type: string
  2422. postalcode:
  2423. description: 邮政编码
  2424. type: string
  2425. provinceid:
  2426. description: 省
  2427. type: integer
  2428. proxystatementurl:
  2429. description: 授权委托书
  2430. type: string
  2431. qq:
  2432. description: QQ(加密存储
  2433. type: string
  2434. referral:
  2435. description: 推荐人编码
  2436. type: string
  2437. remark:
  2438. description: 备注
  2439. type: string
  2440. removebeforestatus:
  2441. description: REMOVEBEFORESTATUS
  2442. type: integer
  2443. sex:
  2444. description: 性别 - 0:女 1:男
  2445. type: integer
  2446. signedstatus:
  2447. description: 账户一号签签约状态
  2448. type: integer
  2449. signpdfurl:
  2450. description: 签约pdf文件
  2451. type: string
  2452. subbranch:
  2453. description: 开户支行
  2454. type: string
  2455. telphone:
  2456. description: 联系电话(加密存储)
  2457. type: string
  2458. userid:
  2459. description: 用户ID(自增ID)
  2460. type: integer
  2461. userinfotype:
  2462. description: 用户信息类型 - 1:个人 2:企业
  2463. type: integer
  2464. username:
  2465. description: 用户姓名
  2466. type: string
  2467. userstate:
  2468. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2469. type: integer
  2470. usertype:
  2471. description: 用户类型 - 1:投资者 2:机构
  2472. type: integer
  2473. videourl:
  2474. description: 视频地址
  2475. type: string
  2476. wechat:
  2477. description: 微信号 (加密存储)
  2478. type: string
  2479. required:
  2480. - userid
  2481. type: object
  2482. erms3.QryAuditContractRsp:
  2483. properties:
  2484. accountid:
  2485. description: 交易员ID
  2486. type: string
  2487. applystatus:
  2488. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2489. type: integer
  2490. curdeliveryqty:
  2491. description: 未交收量
  2492. type: integer
  2493. customername:
  2494. description: 采购方ID
  2495. type: string
  2496. deliverygoodsid:
  2497. description: 品种ID
  2498. type: string
  2499. deliveryqty:
  2500. description: 交收量
  2501. type: integer
  2502. enumdicname:
  2503. description: 单位名称
  2504. type: string
  2505. matchaccountid:
  2506. description: 业务员ID
  2507. type: string
  2508. matchcustomername:
  2509. description: 销售方ID
  2510. type: string
  2511. pricedqty:
  2512. description: 定价量
  2513. type: number
  2514. signdate:
  2515. description: 签订日期
  2516. type: string
  2517. spotcontractid:
  2518. description: 合同ID
  2519. type: string
  2520. totaldqty:
  2521. description: 合同量
  2522. type: number
  2523. unpricedqty:
  2524. description: 未定价量
  2525. type: number
  2526. wrstandardname:
  2527. description: 商品名称
  2528. type: string
  2529. required:
  2530. - matchcustomername
  2531. - spotcontractid
  2532. type: object
  2533. erms3.QryPendingBizRsp:
  2534. $ref: '#/definitions/models.PendingAuditBizModel'
  2535. erms3.QueryBusinessInfoRsp:
  2536. properties:
  2537. businessid:
  2538. description: 业务ID.
  2539. type: integer
  2540. buyamount:
  2541. description: 采购额.
  2542. type: number
  2543. buyqty:
  2544. description: 采购量.
  2545. type: string
  2546. futurepl:
  2547. description: 期货盈亏.
  2548. type: number
  2549. futureqty:
  2550. description: 期货敞口.
  2551. type: string
  2552. goodsid:
  2553. description: 商品名称/商品代码.
  2554. type: string
  2555. hedgingqty:
  2556. description: 套保量.
  2557. type: string
  2558. sellamount:
  2559. description: 销售额.
  2560. type: number
  2561. sellqty:
  2562. description: 销售量.
  2563. type: string
  2564. spotmarketvalue:
  2565. description: 现货市值.
  2566. type: number
  2567. spotpl:
  2568. description: 浮动权益.
  2569. type: number
  2570. spotqty:
  2571. description: 现货量.
  2572. type: string
  2573. statu:
  2574. description: 状态,0-未结束 1-已结束.
  2575. type: integer
  2576. totalpl:
  2577. description: 总盈亏.
  2578. type: number
  2579. totalqty:
  2580. description: 总敞口.
  2581. type: string
  2582. type:
  2583. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2584. type: integer
  2585. type: object
  2586. erms3.QuerySpotContractAppleFormRsp:
  2587. properties:
  2588. goodses:
  2589. description: 合约列表
  2590. items:
  2591. $ref: '#/definitions/models.GoodsIDAndName'
  2592. type: array
  2593. oppositeusers:
  2594. description: 对方账号列表
  2595. items:
  2596. $ref: '#/definitions/erms3.CustomerInfo'
  2597. type: array
  2598. ouruser:
  2599. $ref: '#/definitions/erms3.CustomerInfo'
  2600. description: 我方账号
  2601. type: object
  2602. warehouseinfos:
  2603. description: 仓库信息列表
  2604. items:
  2605. $ref: '#/definitions/models.Warehouseinfo'
  2606. type: array
  2607. wrstandards:
  2608. description: 仓单标准列表
  2609. items:
  2610. $ref: '#/definitions/models.WRStandardInfo'
  2611. type: array
  2612. type: object
  2613. erms3.QuerySpotContractInfoRsp:
  2614. properties:
  2615. accountid:
  2616. description: 表示交易员ID.
  2617. type: integer
  2618. curdeliveryqty:
  2619. description: 表示未交收量.
  2620. type: number
  2621. customername:
  2622. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2623. type: string
  2624. deliverygoodsid:
  2625. description: 表示品种ID.
  2626. type: string
  2627. deliveryqty:
  2628. description: 表示交收量.
  2629. type: number
  2630. matchaccountid:
  2631. description: 表示业务员ID.
  2632. type: integer
  2633. matchcustomername:
  2634. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2635. type: string
  2636. priceqty:
  2637. description: 表示定价量.
  2638. type: number
  2639. relatedbizid:
  2640. description: 表示业务ID.
  2641. type: string
  2642. signdate:
  2643. description: 表示签订日期.
  2644. type: string
  2645. spotcontractid:
  2646. description: 合同ID
  2647. type: string
  2648. status:
  2649. description: 表示状态,0-履约中 1-已完成.
  2650. type: integer
  2651. totalqty:
  2652. description: 表示合同量.
  2653. type: number
  2654. unpricedqty:
  2655. description: 表示未定价量.
  2656. type: number
  2657. wrstandardname:
  2658. description: 表示商品ID.
  2659. type: string
  2660. type: object
  2661. erms3.QueryUserInfoAppliesRsp:
  2662. properties:
  2663. biznature:
  2664. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2665. type: integer
  2666. contactname:
  2667. description: 联系人
  2668. type: string
  2669. createtime:
  2670. description: 开户申请时间
  2671. type: string
  2672. userid:
  2673. description: 用户ID(自增ID)
  2674. type: integer
  2675. userinfotype:
  2676. description: 用户信息类型 - 1:个人 2:企业
  2677. type: integer
  2678. username:
  2679. description: 用户姓名
  2680. type: string
  2681. userstate:
  2682. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2683. type: integer
  2684. required:
  2685. - userid
  2686. type: object
  2687. erms3.QueryUserInfosRsp:
  2688. properties:
  2689. biznature:
  2690. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2691. type: integer
  2692. contactname:
  2693. description: 联系人
  2694. type: string
  2695. customername:
  2696. description: 客户名称(企业名称)
  2697. type: string
  2698. userid:
  2699. description: 用户ID
  2700. type: integer
  2701. userinfotype:
  2702. description: 用户信息类型 - 1:个人 2:企业
  2703. type: integer
  2704. userstatus:
  2705. description: 用户状态 - 1:正常 2:注销
  2706. type: integer
  2707. required:
  2708. - userid
  2709. type: object
  2710. erms3.SoptContractDetail:
  2711. properties:
  2712. deliverygoodsdesc:
  2713. description: 现货品种说明
  2714. type: string
  2715. deliverygoodsid:
  2716. description: 现货品种ID
  2717. type: integer
  2718. deliverygoodsname:
  2719. description: 现货品种名称
  2720. type: string
  2721. pointdesc:
  2722. description: 点价描述
  2723. type: string
  2724. producttype:
  2725. description: 产品类型 1:标准仓单 2:等标 3:非标
  2726. type: integer
  2727. producttypename:
  2728. description: 产品类型名称
  2729. type: string
  2730. spotPointOrderVoList:
  2731. description: 点价列表
  2732. items:
  2733. $ref: '#/definitions/erms3.SpotPointOrder'
  2734. type: array
  2735. spotPriceOrderList:
  2736. description: 定价列表
  2737. items:
  2738. $ref: '#/definitions/erms3.SpotPriceOrder'
  2739. type: array
  2740. unitname:
  2741. description: 单位名称
  2742. type: string
  2743. warehouseid:
  2744. description: 仓库ID
  2745. type: integer
  2746. warehousename:
  2747. description: 仓库名称
  2748. type: string
  2749. wrstandardid:
  2750. description: 交易标的ID
  2751. type: integer
  2752. wrstandardname:
  2753. description: 交易标的名称
  2754. type: string
  2755. required:
  2756. - deliverygoodsid
  2757. - producttype
  2758. - unitname
  2759. - warehouseid
  2760. - wrstandardid
  2761. - wrstandardname
  2762. type: object
  2763. erms3.SpotPointOrder:
  2764. properties:
  2765. basic:
  2766. description: 基差
  2767. type: number
  2768. deliveryenddate:
  2769. description: 交收结束日期
  2770. type: string
  2771. deliverystartdate:
  2772. description: 交收开始日期
  2773. type: string
  2774. enddate:
  2775. description: 点价结束日期
  2776. type: string
  2777. goodsid:
  2778. description: 商品ID
  2779. type: integer
  2780. goodsname:
  2781. description: 商品名称
  2782. type: string
  2783. qty:
  2784. description: 数量
  2785. type: number
  2786. startdate:
  2787. description: 点价开始日期
  2788. type: string
  2789. required:
  2790. - basic
  2791. - goodsid
  2792. - qty
  2793. type: object
  2794. erms3.SpotPriceOrder:
  2795. properties:
  2796. amount:
  2797. description: 金额
  2798. type: number
  2799. deliveryenddate:
  2800. description: 交收结束日期
  2801. type: string
  2802. deliverystartdate:
  2803. description: 交收开始日期
  2804. type: string
  2805. price:
  2806. description: 价格
  2807. type: number
  2808. qty:
  2809. description: 数量
  2810. type: number
  2811. required:
  2812. - amount
  2813. - price
  2814. - qty
  2815. type: object
  2816. hsby.GetHsbyMyCountRsp:
  2817. properties:
  2818. myCouponCount:
  2819. description: 我的优惠卷数量
  2820. type: integer
  2821. myOrderDetailListingCount:
  2822. description: 我的订单求购中数量
  2823. type: integer
  2824. myOrderDetailPreCount:
  2825. description: 我的订单抢购中数量
  2826. type: integer
  2827. myPackageUnReceiveCount:
  2828. description: 我的包裹待收货数量
  2829. type: integer
  2830. myPackageUnSendCount:
  2831. description: 我的包裹待发货数量
  2832. type: integer
  2833. myPayOrderCount:
  2834. description: 我的订单待付款数量
  2835. type: integer
  2836. type: object
  2837. hsby.QueryProvincesAndCitiesRsp:
  2838. properties:
  2839. cities:
  2840. description: 市
  2841. items:
  2842. $ref: '#/definitions/models.Division'
  2843. type: array
  2844. province:
  2845. $ref: '#/definitions/models.Division'
  2846. description: 省
  2847. type: object
  2848. type: object
  2849. models.AreaSpotModel:
  2850. properties:
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. decreaseqty:
  2855. description: 减少数量=-(销售已定价数量+采购计划数量)
  2856. type: number
  2857. increaseqty:
  2858. description: 增加数量=销售计划数量+采购已定价数量
  2859. type: number
  2860. oritoalspotqty:
  2861. description: 昨日数量
  2862. type: number
  2863. totalspotqty:
  2864. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2865. type: number
  2866. updatetime:
  2867. description: 更新时间
  2868. type: string
  2869. wrstandardcode:
  2870. description: 现货品种代码
  2871. type: string
  2872. wrstandardid:
  2873. description: 现货商品ID
  2874. type: integer
  2875. wrstandardname:
  2876. description: 现货品种
  2877. type: string
  2878. type: object
  2879. models.Clientfixedadconfig:
  2880. properties:
  2881. adsort:
  2882. description: 排序
  2883. type: integer
  2884. adtype:
  2885. description: 广告位类型 - 1:新品抢购(HSBY)
  2886. type: integer
  2887. areauserid:
  2888. description: 所属机构ID
  2889. type: integer
  2890. createdate:
  2891. description: 创建时间
  2892. type: string
  2893. creatorid:
  2894. description: 创建人
  2895. type: integer
  2896. imagepath:
  2897. description: 图片
  2898. type: string
  2899. isshow:
  2900. description: 是否展示 - 0:不展示 1:展示
  2901. type: integer
  2902. modifierid:
  2903. description: 操作人
  2904. type: integer
  2905. recsize:
  2906. description: 推荐尺寸
  2907. type: string
  2908. title:
  2909. description: 标题
  2910. type: string
  2911. updatedate:
  2912. description: 更新时间
  2913. type: string
  2914. urlcontent:
  2915. description: 链接(地址或商品ID)
  2916. type: string
  2917. urltype:
  2918. description: 链接类型 - 1:直接地址 2:商品ID
  2919. type: integer
  2920. required:
  2921. - adsort
  2922. - adtype
  2923. type: object
  2924. models.Division:
  2925. properties:
  2926. autoid:
  2927. description: 自增ID
  2928. type: integer
  2929. divisioncode:
  2930. description: 行政代码
  2931. type: string
  2932. divisionlevel:
  2933. description: 行政级别
  2934. type: string
  2935. divisionname:
  2936. description: 行政名称
  2937. type: string
  2938. modifierid:
  2939. description: 修改人
  2940. type: integer
  2941. modifytime:
  2942. description: 修改时间
  2943. type: string
  2944. parentcode:
  2945. description: 上级行政代码
  2946. type: string
  2947. pathname:
  2948. description: 路径名称
  2949. type: string
  2950. postcode:
  2951. description: 邮政编码
  2952. type: string
  2953. separablename:
  2954. description: 可拆分的全称
  2955. type: string
  2956. shortcode:
  2957. description: 地区简码
  2958. type: string
  2959. required:
  2960. - autoid
  2961. - divisioncode
  2962. type: object
  2963. models.Enumdicitem:
  2964. properties:
  2965. autoid:
  2966. description: 自增ID
  2967. type: integer
  2968. bankmappedvalue:
  2969. description: 银行服务对应值
  2970. type: string
  2971. enumdiccode:
  2972. description: 所属枚举代码
  2973. type: string
  2974. enumdicid:
  2975. description: 所属枚举ID
  2976. type: integer
  2977. enumdicname:
  2978. description: 枚举项名称
  2979. type: string
  2980. enumitemname:
  2981. description: 枚举项值
  2982. type: integer
  2983. enumitemstatus:
  2984. description: 枚举项状态 - 1.启用 2.不启用
  2985. type: integer
  2986. enumitemvalue:
  2987. description: 通用值 - [币种通用简写]
  2988. type: string
  2989. param1:
  2990. description: 参数1[币种:币种小数位]
  2991. type: string
  2992. param2:
  2993. description: 参数1[币种:币种显示单位]
  2994. type: string
  2995. remark:
  2996. description: 备注
  2997. type: string
  2998. required:
  2999. - autoid
  3000. - enumdiccode
  3001. - enumdicid
  3002. - enumitemname
  3003. type: object
  3004. models.ErmcpAreaSpotDetailModel:
  3005. properties:
  3006. contracttype:
  3007. description: 合同类型 1-采购 -1-销售
  3008. type: integer
  3009. createtime:
  3010. description: 创建时间
  3011. type: string
  3012. enumdicname:
  3013. description: 现货商品单位名称
  3014. type: string
  3015. logtype:
  3016. description: 记录类型 1-套保 2-现货合同
  3017. type: integer
  3018. qty:
  3019. description: 数量
  3020. type: number
  3021. recordname:
  3022. description: 类型名称
  3023. type: string
  3024. relatedid:
  3025. description: 套保计划ID/现货合同ID
  3026. type: string
  3027. relatedno:
  3028. description: 编号
  3029. type: string
  3030. strtime:
  3031. description: 时间
  3032. type: string
  3033. wrstandardcode:
  3034. description: 现货商品代码
  3035. type: string
  3036. wrstandardname:
  3037. description: 现货商品名称
  3038. type: string
  3039. type: object
  3040. models.ErmcpAreaStock:
  3041. properties:
  3042. brandname:
  3043. description: 品牌名称
  3044. type: string
  3045. curstock:
  3046. description: 期末库存量(今日量)
  3047. type: number
  3048. deliverygoodsid:
  3049. description: 现货品种ID
  3050. type: integer
  3051. enumdicname:
  3052. description: 单位名称
  3053. type: string
  3054. modelname:
  3055. description: 型号名称
  3056. type: string
  3057. oristock:
  3058. description: 期初库存量(昨日量)
  3059. type: number
  3060. spotgoodsbrandid:
  3061. description: 现货品牌ID
  3062. type: integer
  3063. spotgoodsmodelid:
  3064. description: 现货型号ID
  3065. type: integer
  3066. todaybuyinqty:
  3067. description: 今日采购入库量
  3068. type: number
  3069. todayproduceinqty:
  3070. description: 今日生产入库量
  3071. type: number
  3072. todayproduceoutqty:
  3073. description: 今日生产出库量
  3074. type: number
  3075. todayselloutqty:
  3076. description: 今日销售出库量
  3077. type: number
  3078. unitid:
  3079. description: 单位id
  3080. type: integer
  3081. updatetime:
  3082. description: 更新时间
  3083. type: string
  3084. userid:
  3085. description: 机构ID
  3086. type: integer
  3087. username:
  3088. description: 机构名称
  3089. type: string
  3090. warehousecode:
  3091. description: 仓库代码
  3092. type: string
  3093. warehouseinfoid:
  3094. description: 仓库ID
  3095. type: string
  3096. warehousename:
  3097. description: 仓库名称
  3098. type: string
  3099. warehousetype:
  3100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3101. type: integer
  3102. wrstandardcode:
  3103. description: 现货商品代码
  3104. type: string
  3105. wrstandardid:
  3106. description: 现货商品ID
  3107. type: string
  3108. wrstandardname:
  3109. description: 现货商品名称
  3110. type: string
  3111. type: object
  3112. models.ErmcpAreaStockApply:
  3113. properties:
  3114. applyid:
  3115. description: 申请人
  3116. type: integer
  3117. applyname:
  3118. description: 申请人名称
  3119. type: string
  3120. applyremark:
  3121. description: 申请备注
  3122. type: string
  3123. applysrc:
  3124. description: 申请来源 - 1:管理端 2:终端
  3125. type: integer
  3126. applystatus:
  3127. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3128. type: integer
  3129. applytime:
  3130. description: 申请时间
  3131. type: string
  3132. auditid:
  3133. description: 审核人
  3134. type: integer
  3135. auditname:
  3136. description: 审核人名称
  3137. type: string
  3138. auditremark:
  3139. description: 审核备注
  3140. type: string
  3141. auditsrc:
  3142. description: 审核来源 - 1:管理端 2:终端
  3143. type: integer
  3144. audittime:
  3145. description: 审核时间
  3146. type: string
  3147. audittradedate:
  3148. description: 审核交易日(yyyyMMdd)
  3149. type: string
  3150. brandname:
  3151. description: 品牌名称
  3152. type: string
  3153. buyuserid:
  3154. description: 采购方userid
  3155. type: integer
  3156. buyusername:
  3157. description: 采购方名称
  3158. type: string
  3159. contractno:
  3160. description: 合同编号
  3161. type: string
  3162. contractqty:
  3163. description: 合同量
  3164. type: number
  3165. contracttype:
  3166. description: 现货合同类型 - 1:采购 -1:销售
  3167. type: integer
  3168. deliverygoodsid:
  3169. description: 现货品种ID
  3170. type: integer
  3171. enumdicname:
  3172. description: 现货商品单位名称
  3173. type: string
  3174. inoutapplyid:
  3175. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3176. type: string
  3177. inouttype:
  3178. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3179. type: integer
  3180. modelname:
  3181. description: 型号名称
  3182. type: string
  3183. pricetype:
  3184. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3185. type: integer
  3186. qty:
  3187. description: 数量
  3188. type: number
  3189. selluserid:
  3190. description: 销售方userid
  3191. type: integer
  3192. sellusername:
  3193. description: 销售方名称
  3194. type: string
  3195. spotcontractid:
  3196. description: 关联现货合同ID
  3197. type: string
  3198. spotgoodsbrandid:
  3199. description: 现货品牌ID
  3200. type: integer
  3201. spotgoodsmodelid:
  3202. description: 现货型号ID
  3203. type: integer
  3204. unitid:
  3205. description: 单位id
  3206. type: integer
  3207. userid:
  3208. description: 机构ID
  3209. type: integer
  3210. warehousecode:
  3211. description: 仓库代码
  3212. type: string
  3213. warehouseinfoid:
  3214. description: 现货仓库ID
  3215. type: string
  3216. warehousename:
  3217. description: 仓库名称
  3218. type: string
  3219. warehousetype:
  3220. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3221. type: integer
  3222. wrstandardcode:
  3223. description: 现货商品代码
  3224. type: string
  3225. wrstandardid:
  3226. description: 现货商品ID
  3227. type: string
  3228. wrstandardname:
  3229. description: 现货商品名称
  3230. type: string
  3231. type: object
  3232. models.ErmcpAreaStockApplySum:
  3233. properties:
  3234. brandname:
  3235. description: 品牌名称
  3236. type: string
  3237. inouttype:
  3238. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3239. type: integer
  3240. modelname:
  3241. description: 型号名称
  3242. type: string
  3243. spotcontractid:
  3244. description: 关联现货合同ID
  3245. type: string
  3246. spotgoodsbrandid:
  3247. description: 品牌id
  3248. type: integer
  3249. spotgoodsmodelid:
  3250. description: 型号id
  3251. type: integer
  3252. totalqty:
  3253. description: 总数量
  3254. type: number
  3255. type: object
  3256. models.ErmcpAreaStockReport:
  3257. properties:
  3258. brandname:
  3259. description: 品牌名称
  3260. type: string
  3261. curstock:
  3262. description: 期末库存量
  3263. type: number
  3264. deliverygoodsid:
  3265. description: 现货品种ID
  3266. type: integer
  3267. enumdicname:
  3268. description: 单位名称
  3269. type: string
  3270. modelname:
  3271. description: 型号名称
  3272. type: string
  3273. oristock:
  3274. description: 期初库存量
  3275. type: number
  3276. spotgoodsbrandid:
  3277. description: 现货品牌ID
  3278. type: integer
  3279. spotgoodsmodelid:
  3280. description: 现货型号ID
  3281. type: integer
  3282. todaybuyinqty:
  3283. description: 今日采购入库量
  3284. type: number
  3285. todayproduceinqty:
  3286. description: 今日生产入库量
  3287. type: number
  3288. todayproduceoutqty:
  3289. description: 今日生产出库量
  3290. type: number
  3291. todayselloutqty:
  3292. description: 今日销售出库量
  3293. type: number
  3294. unitid:
  3295. description: 单位id
  3296. type: integer
  3297. updatetime:
  3298. description: 更新时间
  3299. type: string
  3300. userid:
  3301. description: 机构ID
  3302. type: integer
  3303. username:
  3304. description: 机构名称
  3305. type: string
  3306. warehousecode:
  3307. description: 仓库代码
  3308. type: string
  3309. warehouseinfoid:
  3310. description: 仓库ID
  3311. type: string
  3312. warehousename:
  3313. description: 仓库名称
  3314. type: string
  3315. warehousetype:
  3316. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3317. type: integer
  3318. wrstandardcode:
  3319. description: 现货商品代码
  3320. type: string
  3321. wrstandardid:
  3322. description: 现货商品ID
  3323. type: string
  3324. wrstandardname:
  3325. description: 现货商品名称
  3326. type: string
  3327. type: object
  3328. models.ErmcpAvalidGoodsGroupModel:
  3329. properties:
  3330. goodsgroupid:
  3331. description: 期货品种id
  3332. type: integer
  3333. goodsgroupname:
  3334. description: 期货品种名称
  3335. type: string
  3336. goodunitid:
  3337. description: 品种单位id
  3338. type: integer
  3339. goodunitname:
  3340. description: 品种单位名称
  3341. type: string
  3342. outergroupcode:
  3343. description: 期货品种代码
  3344. type: string
  3345. type: object
  3346. models.ErmcpExposureDetailModel:
  3347. properties:
  3348. areauserid:
  3349. description: 机构ID
  3350. type: integer
  3351. changeQty:
  3352. description: 套保变动量
  3353. type: number
  3354. contracttype:
  3355. description: 现货合同类型 - 1:采购 -1:销售
  3356. type: integer
  3357. convertfactor:
  3358. description: 标仓系数
  3359. type: number
  3360. convertratio:
  3361. description: 套保系数
  3362. type: number
  3363. createtime:
  3364. description: 时间
  3365. type: string
  3366. enumdicname:
  3367. description: 现货商品单位名称
  3368. type: string
  3369. logtype:
  3370. description: 类型 - 1:套保计划 2:现货合同
  3371. type: integer
  3372. middlegoodsId:
  3373. description: 套保商品id
  3374. type: integer
  3375. middlegoodscode:
  3376. description: 套保商品代码
  3377. type: string
  3378. middlegoodsname:
  3379. description: 套保商品名称
  3380. type: string
  3381. qty:
  3382. description: 数量
  3383. type: number
  3384. relateNo:
  3385. description: 现货合同/套保计划编号
  3386. type: string
  3387. wrstandardcode:
  3388. description: 现货商品代码
  3389. type: string
  3390. wrstandardid:
  3391. description: 现货商品ID
  3392. type: integer
  3393. wrstandardname:
  3394. description: 现货商品名称
  3395. type: string
  3396. type: object
  3397. models.ErmcpExposurePostion:
  3398. properties:
  3399. agreeunit:
  3400. description: 合约单位
  3401. type: string
  3402. areauserid:
  3403. description: 所属机构id
  3404. type: integer
  3405. convertratio:
  3406. description: 期货品种系数(折算系数)
  3407. type: number
  3408. curqty:
  3409. description: 当前持仓
  3410. type: integer
  3411. diffhedgeqty:
  3412. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3413. type: number
  3414. diffqty:
  3415. description: 持仓变动量=当前持仓-昨日持仓
  3416. type: integer
  3417. goodscode:
  3418. description: 商品代码
  3419. type: string
  3420. goodsid:
  3421. description: 商品id
  3422. type: integer
  3423. goodsname:
  3424. description: 商品名称
  3425. type: string
  3426. middlegoodsid:
  3427. description: 套保商品id
  3428. type: integer
  3429. ydqty:
  3430. description: 昨日持仓
  3431. type: integer
  3432. type: object
  3433. models.ErmcpGGConvertCfg:
  3434. properties:
  3435. convertratio:
  3436. description: 折算系数
  3437. type: number
  3438. destgoodsgroupid:
  3439. description: 目标品种ID
  3440. type: integer
  3441. dstcode:
  3442. description: 目录品种代码
  3443. type: string
  3444. dstexchangecode:
  3445. description: 目标期货交易所
  3446. type: string
  3447. dstname:
  3448. description: 目标品种名称
  3449. type: string
  3450. dstunitid:
  3451. description: 目标品种单位ID
  3452. type: integer
  3453. dstunitidname:
  3454. description: 目标品种单位名称
  3455. type: string
  3456. modifytime:
  3457. description: 修改时间
  3458. type: string
  3459. srccode:
  3460. description: 源品种代码
  3461. type: string
  3462. srcexchangecode:
  3463. description: 源期货交易所
  3464. type: string
  3465. srcgoodsgroupid:
  3466. description: 源品种ID
  3467. type: integer
  3468. srcname:
  3469. description: 源品种名称
  3470. type: string
  3471. srcunitid:
  3472. description: 源品种单位ID
  3473. type: integer
  3474. srcunitidname:
  3475. description: 源品种单位名称
  3476. type: string
  3477. type: object
  3478. models.ErmcpGoodsBrand:
  3479. properties:
  3480. areauserid:
  3481. description: 所属机构
  3482. type: integer
  3483. brandid:
  3484. description: BrandID(SEQ_SPOTGOODSBRAND)
  3485. type: integer
  3486. brandname:
  3487. description: 品牌名称
  3488. type: string
  3489. createtime:
  3490. description: 创建时间
  3491. type: string
  3492. creatorid:
  3493. description: 创建人
  3494. type: integer
  3495. creatorsrc:
  3496. description: 创建人来源 - 1:管理端 2:终端
  3497. type: integer
  3498. deliverygoodsid:
  3499. description: 现货品种ID
  3500. type: integer
  3501. isvalid:
  3502. description: 是否有效 - 0:无效 1:有效
  3503. type: integer
  3504. updatetime:
  3505. description: 更新时间
  3506. type: string
  3507. updatorid:
  3508. description: 更新人
  3509. type: integer
  3510. updatorsrc:
  3511. description: 更新人来源 - 1:管理端 2:终端
  3512. type: integer
  3513. wrstandardid:
  3514. description: 现货商品ID
  3515. type: integer
  3516. type: object
  3517. models.ErmcpGoodsModel:
  3518. properties:
  3519. areauserid:
  3520. description: 所属机构
  3521. type: integer
  3522. createtime:
  3523. description: 创建时间
  3524. type: string
  3525. creatorid:
  3526. description: 创建人
  3527. type: integer
  3528. creatorsrc:
  3529. description: 创建人来源 - 1:管理端 2:终端
  3530. type: integer
  3531. deliverygoodsid:
  3532. description: 现货品种ID
  3533. type: integer
  3534. isvalid:
  3535. description: 是否有效 - 0:无效 1:有效
  3536. type: integer
  3537. modelid:
  3538. description: ModelID(SEQ_SPOTGOODSMODEL)
  3539. type: integer
  3540. modelname:
  3541. description: 型号名称
  3542. type: string
  3543. updatetime:
  3544. description: 更新时间
  3545. type: string
  3546. updatorid:
  3547. description: 更新人
  3548. type: integer
  3549. updatorsrc:
  3550. description: 更新人来源 - 1:管理端 2:终端
  3551. type: integer
  3552. wrstandardid:
  3553. description: 现货商品ID
  3554. type: integer
  3555. type: object
  3556. models.ErmcpHedgePlan:
  3557. properties:
  3558. areauserid:
  3559. description: 用户ID
  3560. type: integer
  3561. audittime:
  3562. description: 审核时间
  3563. type: string
  3564. contracttype:
  3565. description: 计划类型 - 1:采购 -1:销售
  3566. type: integer
  3567. convertfactor:
  3568. description: 标仓系数
  3569. type: number
  3570. createtime:
  3571. description: 创建时间
  3572. type: string
  3573. deliverygoodsid:
  3574. description: 现货品种ID
  3575. type: integer
  3576. deliverygoodsname:
  3577. description: 现货品种名称
  3578. type: string
  3579. enumdicname:
  3580. description: 单位名称
  3581. type: string
  3582. hedgeplanid:
  3583. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3584. type: string
  3585. hedgeplanno:
  3586. description: 套保计划编号(名称)
  3587. type: string
  3588. hedgeplanstatus:
  3589. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3590. type: integer
  3591. planqty:
  3592. description: 计划数量
  3593. type: number
  3594. plantime:
  3595. description: 计划时间
  3596. type: string
  3597. producttype:
  3598. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3599. type: integer
  3600. remark:
  3601. description: 备注
  3602. type: string
  3603. spotgoodsdesc:
  3604. description: 商品型号
  3605. type: string
  3606. unitid:
  3607. description: 单位id
  3608. type: integer
  3609. updatetime:
  3610. description: 更新时间
  3611. type: string
  3612. wrstandardid:
  3613. description: 现货商品ID
  3614. type: integer
  3615. wrstandardname:
  3616. description: 现货商品名称
  3617. type: string
  3618. type: object
  3619. models.ErmcpHedgePosition:
  3620. properties:
  3621. accountid:
  3622. description: 资金账号[外部母账户]
  3623. type: integer
  3624. curbuyposition:
  3625. description: 期末买头寸
  3626. type: integer
  3627. cursellposition:
  3628. description: 期末卖头寸
  3629. type: integer
  3630. curtdbuyposition:
  3631. description: 期末今日买头寸
  3632. type: integer
  3633. curtdsellposition:
  3634. description: 期末今日卖头寸
  3635. type: integer
  3636. curydbuyposition:
  3637. description: 期末上日买头寸
  3638. type: integer
  3639. curydsellposition:
  3640. description: 期末上日卖头寸
  3641. type: integer
  3642. decreaseqty:
  3643. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3644. type: integer
  3645. fretdbuyposition:
  3646. description: 冻结今日买头寸
  3647. type: integer
  3648. fretdsellposition:
  3649. description: 冻结今日卖头寸
  3650. type: integer
  3651. freydbuyposition:
  3652. description: 冻结上日买头寸
  3653. type: integer
  3654. freydsellposition:
  3655. description: 冻结上日卖头寸
  3656. type: integer
  3657. goodscode:
  3658. description: 商品代码
  3659. type: string
  3660. goodsid:
  3661. description: 商品id
  3662. type: integer
  3663. goodsname:
  3664. description: 商品名称
  3665. type: string
  3666. hedgeaccountcode:
  3667. description: 对冲账号
  3668. type: string
  3669. hedgegoodsid:
  3670. description: 对冲合约ID
  3671. type: integer
  3672. increaseqty:
  3673. description: 增加数量 = 期末买头寸 - 期初买头寸
  3674. type: integer
  3675. marketid:
  3676. description: 市场ID
  3677. type: integer
  3678. relateduserid:
  3679. description: 关联用户id
  3680. type: integer
  3681. totalcurqty:
  3682. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3683. type: integer
  3684. totalydqty:
  3685. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3686. type: integer
  3687. tradedate:
  3688. description: 交易日(yyyyMMdd)
  3689. type: string
  3690. ydbuyposition:
  3691. description: 期初买头寸
  3692. type: integer
  3693. ydsellposition:
  3694. description: 期初卖头寸
  3695. type: integer
  3696. type: object
  3697. models.ErmcpHedgePositionDetail:
  3698. properties:
  3699. buyorsell:
  3700. description: 买卖方向 0-买 1-卖
  3701. type: integer
  3702. channelbuildtype:
  3703. description: 开平方向 1-建仓 2-平仓
  3704. type: integer
  3705. goodscode:
  3706. description: 商品代码
  3707. type: string
  3708. goodsname:
  3709. description: 商品名称
  3710. type: string
  3711. hedgegoodsid:
  3712. description: 商品id
  3713. type: integer
  3714. tradeqty:
  3715. description: 数量(成交数量)
  3716. type: integer
  3717. tradetime:
  3718. description: 时间(成交时间)
  3719. type: string
  3720. type: object
  3721. models.ErmcpHisExposure:
  3722. properties:
  3723. needhedgeexposoure:
  3724. description: 应套保敞口
  3725. type: number
  3726. reckondate:
  3727. description: 日照时期(yyyyMMdd)
  3728. type: string
  3729. totalexposure:
  3730. description: 总敞口
  3731. type: number
  3732. type: object
  3733. models.ErmcpHisExposureS:
  3734. properties:
  3735. data:
  3736. description: 历史敞口
  3737. items:
  3738. $ref: '#/definitions/models.ErmcpHisExposure'
  3739. type: array
  3740. enumdicname:
  3741. description: 单位名称
  3742. type: string
  3743. middlegoodscode:
  3744. description: 套保品种代码
  3745. type: string
  3746. middlegoodsid:
  3747. description: 套保品种ID
  3748. type: integer
  3749. middlegoodsname:
  3750. description: 套保品种名称
  3751. type: string
  3752. type: object
  3753. models.ErmcpMiddleGoodsChangeLog:
  3754. properties:
  3755. aftervalue:
  3756. description: 变更后
  3757. type: number
  3758. applyid:
  3759. description: 操作人
  3760. type: integer
  3761. applyname:
  3762. description: 操作人名称
  3763. type: string
  3764. applysrc:
  3765. description: 操作来源 - 1:管理端 2:终端
  3766. type: integer
  3767. beforevalue:
  3768. description: 变更前
  3769. type: number
  3770. changelogtype:
  3771. description: 变更流水类型 - 1:套保比率变更
  3772. type: integer
  3773. handlestatus:
  3774. description: 处理状态
  3775. type: integer
  3776. logdatetime:
  3777. description: 流水日期
  3778. type: string
  3779. logid:
  3780. description: 流水ID
  3781. type: integer
  3782. logremark:
  3783. description: 流水备注
  3784. type: string
  3785. middlegoodsid:
  3786. description: 套保品种ID
  3787. type: integer
  3788. tradedate:
  3789. description: 交易日(yyyyMMdd)
  3790. type: string
  3791. updatetime:
  3792. description: 更新时间
  3793. type: string
  3794. type: object
  3795. models.ErmcpMiddleGoodsDetail:
  3796. properties:
  3797. cvList:
  3798. description: 期货品种折算列表
  3799. items:
  3800. $ref: '#/definitions/models.GoodsGroupConvert'
  3801. type: array
  3802. mg:
  3803. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3804. description: 套保品种基本信息
  3805. type: object
  3806. type: object
  3807. models.ErmcpMiddleGoodsModel:
  3808. properties:
  3809. areauserid:
  3810. description: 机构用户ID
  3811. type: integer
  3812. createtime:
  3813. description: 修改时间
  3814. type: string
  3815. enumdicname:
  3816. description: 单位名称
  3817. type: string
  3818. evaluateratio:
  3819. description: 估价系数
  3820. type: number
  3821. goodsgroupid:
  3822. description: 关联期货品种ID
  3823. type: integer
  3824. isvalid:
  3825. description: 状态 0-无效(停用) 1-有效(正常)
  3826. type: integer
  3827. middlegoodscode:
  3828. description: 套保品种代码
  3829. type: string
  3830. middlegoodsid:
  3831. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3832. type: integer
  3833. middlegoodsname:
  3834. description: 套保品种名称
  3835. type: string
  3836. modifytime:
  3837. description: 修改时间
  3838. type: string
  3839. needhedgeratio:
  3840. description: 套保比率
  3841. type: number
  3842. qtydecimalplace:
  3843. description: 数量小数位
  3844. type: integer
  3845. relatedgoodsid:
  3846. description: 关联交易商品ID
  3847. type: integer
  3848. relatedgoodstype:
  3849. description: 关联商品类型 - 1:期货合约 2:现货品种
  3850. type: integer
  3851. type: object
  3852. models.ErmcpModel:
  3853. properties:
  3854. accountname:
  3855. description: 账户名称
  3856. type: string
  3857. attachment:
  3858. description: 附件
  3859. type: string
  3860. audittime:
  3861. description: 审核时间
  3862. type: string
  3863. brandname:
  3864. description: 品牌名称
  3865. type: string
  3866. contracctstatus:
  3867. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3868. type: integer
  3869. contractmargin:
  3870. description: 合同保证金
  3871. type: number
  3872. contractno:
  3873. description: 合同编号
  3874. type: string
  3875. contracttype:
  3876. description: 合同类型 1-采购, -1-销售
  3877. type: integer
  3878. convertfactor:
  3879. description: 标仓系数
  3880. type: number
  3881. createtime:
  3882. description: 创建时间
  3883. type: string
  3884. daikaiamount:
  3885. description: 待开票额
  3886. type: number
  3887. deliveryenddate:
  3888. description: 交割结束日
  3889. type: string
  3890. deliverygoodscode:
  3891. description: 现货品种代码
  3892. type: string
  3893. deliverygoodsid:
  3894. description: 现货商品ID
  3895. type: integer
  3896. deliverygoodsname:
  3897. description: 现货品种名称
  3898. type: string
  3899. deliverystartdate:
  3900. description: 交割开始日
  3901. type: string
  3902. enddate:
  3903. description: 点价结束日
  3904. type: string
  3905. enumdicname:
  3906. description: 单位名称
  3907. type: string
  3908. goodscode:
  3909. description: 点价商品代码
  3910. type: string
  3911. goodsid:
  3912. description: 点价商品ID
  3913. type: integer
  3914. goodsname:
  3915. description: 点价商品名称
  3916. type: string
  3917. invoiceamount:
  3918. description: 已开票额
  3919. type: number
  3920. loanamount:
  3921. description: 贷款总额=已定价额+调整金额
  3922. type: number
  3923. margin:
  3924. description: 保证金
  3925. type: number
  3926. modelname:
  3927. description: 型号名称
  3928. type: string
  3929. payamount:
  3930. description: 已收付额(收款或付款)
  3931. type: number
  3932. price:
  3933. description: 价格
  3934. type: number
  3935. pricedamount:
  3936. description: 已定价额
  3937. type: number
  3938. pricedavg:
  3939. description: 已点均价
  3940. type: number
  3941. pricedqty:
  3942. description: 已定价量
  3943. type: number
  3944. pricemove:
  3945. description: 升贴水
  3946. type: number
  3947. pricetype:
  3948. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3949. type: integer
  3950. producttype:
  3951. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3952. type: integer
  3953. qty:
  3954. description: 合同量
  3955. type: number
  3956. reckonadjustamount:
  3957. description: 调整金额
  3958. type: number
  3959. reckonedamount:
  3960. description: 已收付额(已确定额)
  3961. type: number
  3962. reckonotheramount:
  3963. description: 其它费用
  3964. type: number
  3965. reckonrealqty:
  3966. description: 已确定量
  3967. type: number
  3968. remark:
  3969. description: 备注
  3970. type: string
  3971. spotcontractid:
  3972. description: 合同ID
  3973. type: string
  3974. spotgoodsbrandid:
  3975. description: 现货品牌ID
  3976. type: integer
  3977. spotgoodsdesc:
  3978. description: 商品型号(商品规格)
  3979. type: string
  3980. spotgoodsmodelid:
  3981. description: 现货型号ID
  3982. type: integer
  3983. startdate:
  3984. description: 点价开始日
  3985. type: string
  3986. totalamount:
  3987. description: 合计总额
  3988. type: number
  3989. unpayamount:
  3990. description: 待支收额(支付或收款)
  3991. type: number
  3992. unpricedqty:
  3993. description: 未定价量
  3994. type: number
  3995. unsureqty:
  3996. description: 未确定量
  3997. type: number
  3998. userid:
  3999. description: 用户ID
  4000. type: integer
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.ErmcpOPLogModel:
  4012. properties:
  4013. aftervalue:
  4014. description: 变更后
  4015. type: number
  4016. applyid:
  4017. description: 操作人ID
  4018. type: string
  4019. applyname:
  4020. description: 操作人名称
  4021. type: string
  4022. beforevalue:
  4023. description: 变更前
  4024. type: number
  4025. biztype:
  4026. description: 业务类型 - 1:套保计划 2:现货合同
  4027. type: integer
  4028. contracttype:
  4029. description: 现货合同类型 - 1:采购 -1:销售
  4030. type: integer
  4031. logvalue:
  4032. description: 数值
  4033. type: number
  4034. operatelogtype:
  4035. description: 操作流水类型
  4036. type: integer
  4037. operatelogtypedesc:
  4038. description: 操作流水类型名称
  4039. type: string
  4040. relatedid:
  4041. description: 现货合同ID\套保计划
  4042. type: string
  4043. updatetime:
  4044. description: 更新时间
  4045. type: string
  4046. type: object
  4047. models.ErmcpPendingAudit:
  4048. properties:
  4049. areastockqty:
  4050. description: '待审核数量: 库存申请'
  4051. type: integer
  4052. businessdjqty:
  4053. description: '待审核数量: 点价'
  4054. type: integer
  4055. businessfpqty:
  4056. description: '待审核数量: 发票'
  4057. type: integer
  4058. businessjsqty:
  4059. description: '待审核数量: 结算'
  4060. type: integer
  4061. businesskxqty:
  4062. description: '待审核数量: 款项'
  4063. type: integer
  4064. hedgeplanqty:
  4065. description: '待审核数量: 套保计划'
  4066. type: integer
  4067. spotcontractqty:
  4068. description: '待审核数量: 现货合同'
  4069. type: integer
  4070. userqty:
  4071. description: '待审核数量: 用户'
  4072. type: integer
  4073. type: object
  4074. models.ErmcpRealExposureModel:
  4075. properties:
  4076. areaUserID:
  4077. description: 所属机构
  4078. type: integer
  4079. buyFutureQty:
  4080. description: 买入期货数量
  4081. type: number
  4082. buyPlanQty:
  4083. description: 采购计划数量
  4084. type: number
  4085. buyPricedQty:
  4086. description: 采购合同已定价数量
  4087. type: number
  4088. diffFutuQty:
  4089. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4090. type: number
  4091. diffSpotQty:
  4092. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4093. type: number
  4094. enumdicname:
  4095. description: 单位名称
  4096. type: string
  4097. middleGoodsCode:
  4098. description: 套保品种代码
  4099. type: string
  4100. middleGoodsHedgeRatio:
  4101. description: 应套保比例
  4102. type: number
  4103. middleGoodsID:
  4104. description: 套保品种
  4105. type: integer
  4106. middleGoodsName:
  4107. description: 套保品种名称
  4108. type: string
  4109. needHedgeExposoure:
  4110. description: 应套保敞口
  4111. type: number
  4112. needHedgeRatio:
  4113. description: 应套保敞口比例
  4114. type: number
  4115. oriBuyFutureQty:
  4116. description: 期初买入期货数量
  4117. type: number
  4118. oriBuyPlanQty:
  4119. description: 期初采购计划数量
  4120. type: number
  4121. oriBuyPricedQty:
  4122. description: 期初采购合同已定价数量
  4123. type: number
  4124. oriSellFutureQty:
  4125. description: 期初卖出期货数量
  4126. type: number
  4127. oriSellPlanQty:
  4128. description: 期初销售计划数量
  4129. type: number
  4130. oriSellPricedQty:
  4131. description: 期初销售合同已定价数量
  4132. type: number
  4133. oriTotalFutuQty:
  4134. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4135. type: number
  4136. oriTotalSpotQty:
  4137. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4138. type: number
  4139. sellFutureQty:
  4140. description: 卖出期货数量
  4141. type: number
  4142. sellPlanQty:
  4143. description: 销售计划数量
  4144. type: number
  4145. sellPricedQty:
  4146. description: 销售合同已定价数量
  4147. type: number
  4148. totalExposure:
  4149. description: 总敞口
  4150. type: number
  4151. totalFutureQty:
  4152. description: 期货数量
  4153. type: number
  4154. totalHedgeRatio:
  4155. description: 敞口比例
  4156. type: number
  4157. totalNeedHedgeQty:
  4158. description: 期货应套保量
  4159. type: number
  4160. totalSpotQty:
  4161. description: 现货数量
  4162. type: number
  4163. type: object
  4164. models.ErmcpReportDayExposure:
  4165. properties:
  4166. areauserid:
  4167. description: 所属机构
  4168. type: integer
  4169. buyfutureqty:
  4170. description: 买入期货数量
  4171. type: number
  4172. buyplanqty:
  4173. description: 采购计划数量
  4174. type: number
  4175. buypricedqty:
  4176. description: 采购合同已定价数量
  4177. type: number
  4178. diffFutuQty:
  4179. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4180. type: number
  4181. diffSpotQty:
  4182. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4183. type: number
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. middlegoodscode:
  4188. description: 套保品种代码
  4189. type: string
  4190. middlegoodshedgeratio:
  4191. description: 应套保比例
  4192. type: number
  4193. middlegoodsid:
  4194. description: 套保品种ID
  4195. type: integer
  4196. middlegoodsname:
  4197. description: 套保品种名称
  4198. type: string
  4199. needhedgeexposoure:
  4200. description: 应套保敞口
  4201. type: number
  4202. needhedgeratio:
  4203. description: 应套保敞口比例
  4204. type: number
  4205. oriTotalFutuQty:
  4206. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4207. type: number
  4208. oriTotalSpotQty:
  4209. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4210. type: number
  4211. oribuyfutureqty:
  4212. description: 期初买入期货数量
  4213. type: number
  4214. oribuyplanqty:
  4215. description: 期初采购计划数量
  4216. type: number
  4217. oribuypricedqty:
  4218. description: 期初采购合同已定价数量
  4219. type: number
  4220. orisellfutureqty:
  4221. description: 期初卖出期货数量
  4222. type: number
  4223. orisellplanqty:
  4224. description: 期初销售计划数量
  4225. type: number
  4226. orisellpricedqty:
  4227. description: 期初销售合同已定价数量
  4228. type: number
  4229. reckondate:
  4230. description: 日照时期(yyyyMMdd)
  4231. type: string
  4232. sellfutureqty:
  4233. description: 卖出期货数量
  4234. type: number
  4235. sellplanqty:
  4236. description: 销售计划数量
  4237. type: number
  4238. sellpricedqty:
  4239. description: 销售合同已定价数量
  4240. type: number
  4241. totalexposure:
  4242. description: 总敞口
  4243. type: number
  4244. totalfutureqty:
  4245. description: 期货数量
  4246. type: number
  4247. totalhedgeratio:
  4248. description: 敞口比例
  4249. type: number
  4250. totalneedhedgeqty:
  4251. description: 期货应套保量
  4252. type: number
  4253. totalspotqty:
  4254. description: 现货数量
  4255. type: number
  4256. type: object
  4257. models.ErmcpReportDayFR:
  4258. properties:
  4259. areauserid:
  4260. description: 所属机构
  4261. type: integer
  4262. collectinvoiceamount:
  4263. description: 今日开票金额
  4264. type: number
  4265. collectinvoicecount:
  4266. description: 今日开票笔数
  4267. type: integer
  4268. collectmoneyamount:
  4269. description: 今日收款金额
  4270. type: number
  4271. collectmoneycount:
  4272. description: 今日收款笔数
  4273. type: integer
  4274. payinvoiceamount:
  4275. description: 今日收票金额
  4276. type: number
  4277. payinvoicecount:
  4278. description: 今日收票笔数
  4279. type: integer
  4280. paymoneyamount:
  4281. description: 今日付款金额
  4282. type: number
  4283. paymoneycount:
  4284. description: 今日付款笔数
  4285. type: integer
  4286. reckondate:
  4287. description: 日照时期(yyyyMMdd)
  4288. type: string
  4289. updatetime:
  4290. description: 更新时间
  4291. type: string
  4292. type: object
  4293. models.ErmcpReportDaySpot:
  4294. properties:
  4295. areauserid:
  4296. description: 所属机构T
  4297. type: integer
  4298. buyinqty:
  4299. description: 采购入库量
  4300. type: number
  4301. enumdicname:
  4302. description: 现货商品单位名称
  4303. type: string
  4304. reckondate:
  4305. description: 日照时期(yyyyMMdd)
  4306. type: string
  4307. selloutqty:
  4308. description: 销售出库量
  4309. type: number
  4310. todaybuyreckonqty:
  4311. description: 采购确定量
  4312. type: number
  4313. todaysellreckonqty:
  4314. description: 销售确定量
  4315. type: number
  4316. totalbuypricedqty:
  4317. description: 采购定价量 = 期末 - 期初
  4318. type: number
  4319. totalsellpricedqty:
  4320. description: 销售定价量 = 期末 - 期初
  4321. type: number
  4322. wrstandardcode:
  4323. description: 现货商品代码
  4324. type: string
  4325. wrstandardid:
  4326. description: 现货商品ID
  4327. type: integer
  4328. wrstandardname:
  4329. description: 现货商品名称
  4330. type: string
  4331. type: object
  4332. models.ErmcpReportMonSpot:
  4333. properties:
  4334. areauserid:
  4335. description: 所属机构T
  4336. type: integer
  4337. buyinqty:
  4338. description: 采购入库量
  4339. type: number
  4340. cycletime:
  4341. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4342. type: string
  4343. cycletype:
  4344. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4345. type: integer
  4346. enumdicname:
  4347. description: 现货商品单位名称
  4348. type: string
  4349. selloutqty:
  4350. description: 销售出库量
  4351. type: number
  4352. todaybuyreckonqty:
  4353. description: 采购确定量
  4354. type: number
  4355. todaysellreckonqty:
  4356. description: 销售确定量
  4357. type: number
  4358. totalbuypricedqty:
  4359. description: 采购定价量 = 期末 - 期初
  4360. type: number
  4361. totalsellpricedqty:
  4362. description: 销售定价量 = 期末 - 期初
  4363. type: number
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.ErmcpReportMonthFR:
  4375. properties:
  4376. areauserid:
  4377. description: 所属机构【原值】
  4378. type: integer
  4379. collectinvoiceamount:
  4380. description: 今日开票金额【汇总】
  4381. type: number
  4382. collectinvoicecount:
  4383. description: 今日开票笔数【汇总】
  4384. type: integer
  4385. collectmoneyamount:
  4386. description: 今日收款金额【汇总】
  4387. type: number
  4388. collectmoneycount:
  4389. description: 今日收款笔数 【汇总】
  4390. type: integer
  4391. cycletime:
  4392. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4393. type: string
  4394. cycletype:
  4395. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4396. type: integer
  4397. dayFr:
  4398. description: 日报表明细
  4399. items:
  4400. $ref: '#/definitions/models.ErmcpReportDayFR'
  4401. type: array
  4402. payinvoiceamount:
  4403. description: 今日收票金额【汇总】
  4404. type: number
  4405. payinvoicecount:
  4406. description: 今日收票笔数【汇总】
  4407. type: integer
  4408. paymoneyamount:
  4409. description: 今日付款金额【汇总】
  4410. type: number
  4411. paymoneycount:
  4412. description: 今日付款笔数【汇总】
  4413. type: integer
  4414. updatetime:
  4415. description: 更新时间
  4416. type: string
  4417. type: object
  4418. models.ErmcpReportOPLog:
  4419. properties:
  4420. applyid:
  4421. description: 操作人
  4422. type: integer
  4423. applyname:
  4424. description: 操作人名称
  4425. type: string
  4426. biztype:
  4427. description: 业务类型 - 1:套保计划 2:现货合同
  4428. type: integer
  4429. brandname:
  4430. description: 品牌名称
  4431. type: string
  4432. contracttype:
  4433. description: 现货合同类型 - 1:采购 -1:销售
  4434. type: integer
  4435. enumdicName:
  4436. description: 单位名称
  4437. type: string
  4438. logdatetime:
  4439. description: 流水日期(时间)
  4440. type: string
  4441. logid:
  4442. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4443. type: string
  4444. logtypename:
  4445. description: 合同类型(名称)
  4446. type: string
  4447. logvalue:
  4448. description: 数值
  4449. type: string
  4450. modelname:
  4451. description: 型号名称
  4452. type: string
  4453. operatelogtype:
  4454. description: 操作流水类型 -
  4455. type: integer
  4456. optypename:
  4457. description: 流水类型名称
  4458. type: string
  4459. relatedid:
  4460. description: 现货合同ID\套保计划
  4461. type: string
  4462. relatedno:
  4463. description: 合同编号
  4464. type: string
  4465. tradedate:
  4466. description: 交易日(yyyyMMdd)
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. wrstandardcode:
  4472. description: 现货商品代码
  4473. type: string
  4474. wrstandardid:
  4475. description: 现货商品ID
  4476. type: integer
  4477. wrstandardname:
  4478. description: 现货商品名称
  4479. type: string
  4480. type: object
  4481. models.ErmcpSpotContractModel:
  4482. properties:
  4483. amount:
  4484. description: 金额 [1:一口价、3:暂定价]
  4485. type: number
  4486. attachment:
  4487. description: 附件
  4488. type: string
  4489. auditremark:
  4490. description: 审核意见
  4491. type: string
  4492. audittime:
  4493. description: 审核时间
  4494. type: string
  4495. brandname:
  4496. description: 品牌名称
  4497. type: string
  4498. buyuserid:
  4499. description: 采购方ID
  4500. type: integer
  4501. buyusername:
  4502. description: 采购方名称
  4503. type: string
  4504. contracctstatus:
  4505. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4506. type: integer
  4507. contractmargin:
  4508. description: 合同保证金
  4509. type: number
  4510. contractno:
  4511. description: 现货合同编号
  4512. type: string
  4513. contracttype:
  4514. description: 现货合同类型 - 1:采购 -1:销售
  4515. type: integer
  4516. convertfactor:
  4517. description: 标仓系数
  4518. type: number
  4519. createtime:
  4520. description: 创建时间
  4521. type: string
  4522. deliveryenddate:
  4523. description: 交收期(结束)
  4524. type: string
  4525. deliverygoodscode:
  4526. description: 现货品种代码
  4527. type: string
  4528. deliverygoodsid:
  4529. description: 现货品种ID
  4530. type: integer
  4531. deliverygoodsname:
  4532. description: 现货品种名称
  4533. type: string
  4534. deliverystartdate:
  4535. description: 交收期(开始)
  4536. type: string
  4537. enddate:
  4538. description: 点价结束日期 [2:点价 3:暂定价]
  4539. type: string
  4540. enumdicname:
  4541. description: 单位名称
  4542. type: string
  4543. goodscode:
  4544. description: 点价合约代码
  4545. type: string
  4546. goodsid:
  4547. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4548. type: integer
  4549. goodsname:
  4550. description: 点价商品名称
  4551. type: string
  4552. margin:
  4553. description: 当前保证金
  4554. type: number
  4555. modelname:
  4556. description: 型号名称
  4557. type: string
  4558. price:
  4559. description: 价格\暂定价 [1:一口价、3:暂定价]
  4560. type: number
  4561. pricemove:
  4562. description: 升贴水 [2:点价 3:暂定价]
  4563. type: number
  4564. pricetype:
  4565. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4566. type: integer
  4567. producttype:
  4568. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4569. type: integer
  4570. qty:
  4571. description: 数量
  4572. type: number
  4573. remark:
  4574. description: 备注
  4575. type: string
  4576. selluserid:
  4577. description: 销售方ID
  4578. type: integer
  4579. sellusername:
  4580. description: 销售方名称
  4581. type: string
  4582. spotcontractid:
  4583. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4584. type: string
  4585. spotgoodsbrandid:
  4586. description: 现货品牌ID
  4587. type: integer
  4588. spotgoodsdesc:
  4589. description: 商品型号
  4590. type: string
  4591. spotgoodsmodelid:
  4592. description: 现货型号ID
  4593. type: integer
  4594. startdate:
  4595. description: 点价开始日期 [2:点价 3:暂定价]
  4596. type: string
  4597. updatetime:
  4598. description: 更新时间
  4599. type: string
  4600. userid:
  4601. description: 机构ID
  4602. type: integer
  4603. wrstandardcode:
  4604. description: 现货商品代码
  4605. type: string
  4606. wrstandardid:
  4607. description: 现货商品ID
  4608. type: integer
  4609. wrstandardname:
  4610. description: 现货商品名称
  4611. type: string
  4612. type: object
  4613. models.ErmcpUserModel:
  4614. properties:
  4615. address:
  4616. description: 通讯地址
  4617. type: string
  4618. attachment1:
  4619. description: 附件1
  4620. type: string
  4621. audittime:
  4622. description: 审核时间
  4623. type: string
  4624. cardfrontphotourl:
  4625. description: 证件正面图片地址
  4626. type: string
  4627. cardnum:
  4628. description: 证件号码
  4629. type: string
  4630. cardtype:
  4631. description: 证件类型
  4632. type: integer
  4633. cardtypename:
  4634. description: 证件类型名称
  4635. type: string
  4636. cityid:
  4637. description: 市
  4638. type: integer
  4639. countryid:
  4640. description: 国家
  4641. type: integer
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. customername:
  4646. description: 企业名称
  4647. type: string
  4648. memberuserid:
  4649. description: 所属机构ID
  4650. type: integer
  4651. mobile:
  4652. description: 手机号码
  4653. type: string
  4654. modifytime:
  4655. description: 修改时间
  4656. type: string
  4657. provinceid:
  4658. description: 省
  4659. type: integer
  4660. remark:
  4661. description: 备注
  4662. type: string
  4663. status:
  4664. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4665. type: integer
  4666. statusdesc:
  4667. description: 账户状态中文描述
  4668. type: string
  4669. telphone:
  4670. description: 联系电话
  4671. type: string
  4672. userid:
  4673. description: 用户ID
  4674. type: integer
  4675. userinfotype:
  4676. description: 客户类型
  4677. type: string
  4678. type: object
  4679. models.ErmcpWareHouseInfo:
  4680. properties:
  4681. address:
  4682. description: 详细地址
  4683. type: string
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. autoid:
  4688. description: 自增ID(仓库ID)
  4689. type: integer
  4690. cityid:
  4691. description: 市
  4692. type: integer
  4693. contactname:
  4694. description: 联系人
  4695. type: string
  4696. contactnum:
  4697. description: 联系电话
  4698. type: string
  4699. countryid:
  4700. description: 国家
  4701. type: integer
  4702. createtime:
  4703. description: 创建时间
  4704. type: string
  4705. districtid:
  4706. description: 区
  4707. type: integer
  4708. hasvideo:
  4709. description: 是否有视频 - 0:无 1:有
  4710. type: integer
  4711. provinceid:
  4712. description: 省
  4713. type: integer
  4714. remark:
  4715. description: 审核备注
  4716. type: string
  4717. videourl:
  4718. description: 视频地址
  4719. type: string
  4720. warehousecode:
  4721. description: 仓库代码
  4722. type: string
  4723. warehousename:
  4724. description: 仓库名称
  4725. type: string
  4726. warehousestatus:
  4727. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4728. type: integer
  4729. warehousetype:
  4730. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4731. type: integer
  4732. type: object
  4733. models.ErmcpWrstandDetail:
  4734. properties:
  4735. gbList:
  4736. description: 品牌列表
  4737. items:
  4738. $ref: '#/definitions/models.GoodsBrand'
  4739. type: array
  4740. goodsList:
  4741. description: 关联交易商品列表
  4742. items:
  4743. $ref: '#/definitions/models.RelatedGoodsEx'
  4744. type: array
  4745. gtList:
  4746. description: 型号列表
  4747. items:
  4748. $ref: '#/definitions/models.GoodsTypeModel'
  4749. type: array
  4750. wrd:
  4751. $ref: '#/definitions/models.ErmcpWrstandard'
  4752. description: 基本信息
  4753. type: object
  4754. wrsList:
  4755. description: 套保信息列表
  4756. items:
  4757. $ref: '#/definitions/models.WRSConverTDetail'
  4758. type: array
  4759. type: object
  4760. models.ErmcpWrstandard:
  4761. properties:
  4762. areauserid:
  4763. description: 所属机构
  4764. type: integer
  4765. createtime:
  4766. description: 创建时间
  4767. type: string
  4768. creatorid:
  4769. description: 创建人
  4770. type: integer
  4771. deliverygoodsid:
  4772. description: 品种ID
  4773. type: integer
  4774. enumdicname:
  4775. description: 单位名称
  4776. type: string
  4777. isvalid:
  4778. description: 是否有效 0-无效(停用) 1-有效(正常)
  4779. type: integer
  4780. minivalue:
  4781. description: 最小变动值
  4782. type: integer
  4783. minivaluedp:
  4784. description: 最小变动值小数位
  4785. type: integer
  4786. realminivalue:
  4787. description: 实际最小变动值
  4788. type: integer
  4789. realminivaluedp:
  4790. description: 实际最小变动值小数位
  4791. type: integer
  4792. remark:
  4793. description: 备注
  4794. type: string
  4795. unitid:
  4796. description: 单位ID
  4797. type: integer
  4798. updatetime:
  4799. description: 更新时间
  4800. type: string
  4801. wrstandardcode:
  4802. description: 现货商品代码
  4803. type: string
  4804. wrstandardid:
  4805. description: 现货商品ID(SEQ_WRSTANDARD)
  4806. type: integer
  4807. wrstandardname:
  4808. description: 现货商品名称
  4809. type: string
  4810. type: object
  4811. models.Externalexchange:
  4812. properties:
  4813. autoid:
  4814. description: AutoID - SEQ_EXTERNALEXCHANGE
  4815. type: integer
  4816. exchangefullname:
  4817. description: 外部交易所全称
  4818. type: string
  4819. exexchangecode:
  4820. description: 外部交易所代码
  4821. type: string
  4822. exexchangename:
  4823. description: 外部交易所名称(简称)
  4824. type: string
  4825. ismarketprice:
  4826. description: 是否支持市价 - 0:不支持 1:支持
  4827. type: integer
  4828. quotegear:
  4829. description: 行情档位(1-10)
  4830. type: integer
  4831. showbrokerflag:
  4832. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4833. type: integer
  4834. updatetime:
  4835. description: 更新时间
  4836. type: string
  4837. required:
  4838. - autoid
  4839. type: object
  4840. models.Funcmenulist:
  4841. properties:
  4842. iconame:
  4843. description: 菜单图标
  4844. type: string
  4845. menutype:
  4846. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  4847. type: integer
  4848. parentcode:
  4849. description: 上级资源代码
  4850. type: string
  4851. remark:
  4852. description: 备注
  4853. type: string
  4854. resourcecode:
  4855. description: 资源代码
  4856. type: string
  4857. resourcelevel:
  4858. description: 级别 1-一级 2-二级 3-三级 4-四级
  4859. type: integer
  4860. resourcename:
  4861. description: 资源名
  4862. type: string
  4863. sort:
  4864. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  4865. type: integer
  4866. url:
  4867. description: URL
  4868. type: string
  4869. required:
  4870. - resourcecode
  4871. type: object
  4872. models.Goods:
  4873. properties:
  4874. agreeunit:
  4875. description: 合约单位
  4876. type: number
  4877. auditaccountid:
  4878. description: 审核操作员账号
  4879. type: integer
  4880. audittime:
  4881. description: 审核时间
  4882. type: string
  4883. cancelaccountid:
  4884. description: 注销操作员账号
  4885. type: integer
  4886. canceltime:
  4887. description: 注销时间
  4888. type: string
  4889. closepricemode:
  4890. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4891. type: integer
  4892. closepriceparam:
  4893. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4894. type: number
  4895. createtime:
  4896. description: 创建时间
  4897. type: string
  4898. creatorid:
  4899. description: 创建人
  4900. type: integer
  4901. currencyid:
  4902. description: 报价货币ID
  4903. type: integer
  4904. cutmode:
  4905. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4906. type: integer
  4907. decimalplace:
  4908. description: 报价小数位
  4909. type: integer
  4910. delistingdate:
  4911. description: 商品退市时间(状态:退市) -- 已作废
  4912. type: string
  4913. delistingmode:
  4914. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4915. type: integer
  4916. deliveryflag:
  4917. description: 交割标志 - 0:不可交割 1:可交割
  4918. type: integer
  4919. forceclosemode:
  4920. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4921. type: integer
  4922. forceclosevalue:
  4923. description: 定期强平参数 [收益权]
  4924. type: integer
  4925. goodscode:
  4926. description: 商品代码(内部)
  4927. type: string
  4928. goodscurrencyid:
  4929. description: 合约货币ID
  4930. type: integer
  4931. goodsgroupid:
  4932. description: 所属商品组ID
  4933. type: integer
  4934. goodsid:
  4935. description: 商品ID(自增ID SEQ_GOODS)
  4936. type: integer
  4937. goodsname:
  4938. description: 商品名称
  4939. type: string
  4940. goodsquotetype:
  4941. description: '合约报价类型: 1-直接报价 2-间接报价'
  4942. type: integer
  4943. goodsstatus:
  4944. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4945. type: integer
  4946. goodstradetype:
  4947. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4948. type: integer
  4949. goodunitid:
  4950. description: 报价单位ID
  4951. type: integer
  4952. hasquoter:
  4953. description: 是否有报价商 - 0:无报价商 1:有报价商
  4954. type: integer
  4955. hqprotecttime:
  4956. description: 行情保护时间(秒)
  4957. type: integer
  4958. innerdealmode:
  4959. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4960. type: integer
  4961. isbuylimited:
  4962. description: 是否限制建仓量 - 0:不限制 1:限制
  4963. type: integer
  4964. lasttradedate:
  4965. description: 最后交易日期(状态:待退市)
  4966. type: string
  4967. listingdate:
  4968. description: 交易开始日期
  4969. type: string
  4970. marketid:
  4971. description: 所属市场ID
  4972. type: integer
  4973. modifierid:
  4974. description: 修改人
  4975. type: integer
  4976. modifystatus:
  4977. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4978. type: integer
  4979. modifytime:
  4980. description: 修改时间
  4981. type: string
  4982. outerdealmode:
  4983. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4984. type: integer
  4985. outgoodscode:
  4986. description: 商品代码(外部)
  4987. type: string
  4988. qtydecimalplace:
  4989. description: 成交量小数位
  4990. type: integer
  4991. quotegear:
  4992. description: 行情档位(1-10)
  4993. type: integer
  4994. quoteminunit:
  4995. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4996. type: integer
  4997. quoteshowtype:
  4998. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4999. type: integer
  5000. quoteshowtypeinterval:
  5001. description: 行情报价间隔时间(秒)(成交价时为0)
  5002. type: integer
  5003. remark:
  5004. description: 备注
  5005. type: string
  5006. required:
  5007. - goodscode
  5008. - goodsid
  5009. - goodsname
  5010. - marketid
  5011. type: object
  5012. models.GoodsBrand:
  5013. properties:
  5014. brandid:
  5015. description: 品牌ID
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. isvalid:
  5021. description: 是否有效 - 0:无效 1:有效
  5022. type: integer
  5023. type: object
  5024. models.GoodsGroupConvert:
  5025. properties:
  5026. convertratio:
  5027. description: 折算系数
  5028. type: number
  5029. dstgoodsgroupid:
  5030. description: 目标期货品种ID
  5031. type: integer
  5032. goodsgroupname:
  5033. description: 期货品种名称
  5034. type: string
  5035. outergroupcode:
  5036. description: 期货品种代码
  5037. type: string
  5038. srcgoodsgroupid:
  5039. description: 源期货品种ID
  5040. type: integer
  5041. type: object
  5042. models.GoodsIDAndName:
  5043. properties:
  5044. goodscode:
  5045. description: 商品代码(内部)
  5046. type: string
  5047. goodsid:
  5048. description: 商品ID(自增ID SEQ_GOODS)
  5049. type: integer
  5050. goodsname:
  5051. description: 商品名称
  5052. type: string
  5053. marketid:
  5054. description: 所属市场ID
  5055. type: integer
  5056. required:
  5057. - goodscode
  5058. - goodsid
  5059. - goodsname
  5060. - marketid
  5061. type: object
  5062. models.GoodsTypeModel:
  5063. properties:
  5064. modelid:
  5065. description: 型号ID
  5066. type: integer
  5067. modelname:
  5068. description: 型号名称
  5069. type: string
  5070. updatetime:
  5071. description: 更新时间
  5072. type: string
  5073. type: object
  5074. models.Goodsgroup:
  5075. properties:
  5076. agreeunit:
  5077. description: 合约单位
  5078. type: number
  5079. canshort:
  5080. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5081. type: integer
  5082. closepricemode:
  5083. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5084. type: integer
  5085. closepriceparam:
  5086. description: 强平最新价浮动比例 - 方式为2时使用
  5087. type: number
  5088. createtime:
  5089. description: 创建时间
  5090. type: string
  5091. creatorid:
  5092. description: 创建人
  5093. type: integer
  5094. currencyid:
  5095. description: 报价货币ID
  5096. type: integer
  5097. decimalplace:
  5098. description: 报价小数位
  5099. type: integer
  5100. exercisetype:
  5101. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5102. type: integer
  5103. exexchangeid:
  5104. description: 外部交易所ID[通道交易]
  5105. type: integer
  5106. goodsgroupid:
  5107. description: 商品组ID(自增ID)
  5108. type: integer
  5109. goodsgroupname:
  5110. description: 商品组名称
  5111. type: string
  5112. goodsgroupstatus:
  5113. description: 商品组状态 - 1:正常 2:注销
  5114. type: integer
  5115. goodunitid:
  5116. description: 报价单位ID
  5117. type: integer
  5118. innerdealmode:
  5119. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5120. type: integer
  5121. isbuylimited:
  5122. description: 是否限制建仓量 - 0:不限制 1:限制
  5123. type: integer
  5124. marketid:
  5125. description: 所属市场ID
  5126. type: integer
  5127. modifierid:
  5128. description: 修改人
  5129. type: integer
  5130. modifytime:
  5131. description: 修改时间
  5132. type: string
  5133. outerdealmode:
  5134. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5135. type: integer
  5136. outergroupcode:
  5137. description: 外部商品组代码[通道交易]
  5138. type: string
  5139. premiumdecimalplace:
  5140. description: 权利金小数位[场外期权]
  5141. type: integer
  5142. premiumspreadalgorithm:
  5143. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5144. type: integer
  5145. premiumspreadvalue:
  5146. description: 权利金点差值[场外期权]
  5147. type: number
  5148. qtydecimalplace:
  5149. description: 成交量小数位
  5150. type: integer
  5151. quotegear:
  5152. description: 行情档位(1-10)
  5153. type: integer
  5154. quoteminunit:
  5155. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5156. type: integer
  5157. quoterid:
  5158. description: 报价商ID[场外期权]
  5159. type: integer
  5160. quotesourcegroupid:
  5161. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5162. type: integer
  5163. syncgoodsqty:
  5164. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5165. type: integer
  5166. required:
  5167. - goodsgroupid
  5168. - goodsgroupname
  5169. - goodsgroupstatus
  5170. - marketid
  5171. type: object
  5172. models.Goodssortbypreposition:
  5173. properties:
  5174. goodscode:
  5175. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5176. type: string
  5177. goodsgroupcode:
  5178. description: 品种代码
  5179. type: string
  5180. prepositionqty:
  5181. description: 昨持仓量
  5182. type: integer
  5183. sortindex:
  5184. description: 排序
  5185. type: integer
  5186. tradedate:
  5187. description: 交易日
  5188. type: string
  5189. updatetime:
  5190. description: 更新时间
  5191. type: string
  5192. required:
  5193. - goodscode
  5194. - tradedate
  5195. type: object
  5196. models.HsbyBuyMyPayOrder:
  5197. properties:
  5198. agreeunit:
  5199. description: 合约单位
  5200. type: number
  5201. buyaccountid:
  5202. description: 买方账号ID[报价币种]
  5203. type: integer
  5204. buyorderid:
  5205. description: 买方委托单号
  5206. type: string
  5207. createtime:
  5208. description: 创建时间
  5209. type: string
  5210. currencysign:
  5211. description: 货币符号
  5212. type: string
  5213. decimalplace:
  5214. description: 报价小数位
  5215. type: integer
  5216. goodscode:
  5217. description: 商品代码(内部)
  5218. type: string
  5219. goodsid:
  5220. description: 商品ID
  5221. type: integer
  5222. goodsname:
  5223. description: 商品名称
  5224. type: string
  5225. marketid:
  5226. description: 市场ID
  5227. type: integer
  5228. offamount:
  5229. description: 优惠金额
  5230. type: number
  5231. originalamount:
  5232. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5233. type: number
  5234. payamount:
  5235. description: 支付金额 = TradeAmount + TradeCharge
  5236. type: number
  5237. payflag:
  5238. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5239. type: integer
  5240. paylimitedtime:
  5241. description: 支付期限
  5242. type: string
  5243. paytime:
  5244. description: 付款时间
  5245. type: string
  5246. picurls1:
  5247. description: 预售商品介绍图片[多张用逗号分隔]
  5248. type: string
  5249. picurls2:
  5250. description: 挂牌商品介绍图片[多张用逗号分隔]
  5251. type: string
  5252. sellaccountid:
  5253. description: 卖方账号ID[报价币种]
  5254. type: integer
  5255. sellorderid:
  5256. description: 卖方委托单号
  5257. type: string
  5258. tradeamount:
  5259. description: 成交金额
  5260. type: number
  5261. tradecharge:
  5262. description: 成交手续费(买方)
  5263. type: number
  5264. tradedate:
  5265. description: 交易日(yyyyMMdd)
  5266. type: string
  5267. tradeid:
  5268. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5269. type: string
  5270. trademode:
  5271. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5272. 21:竞拍-大宗式 22:受托竞价
  5273. type: integer
  5274. tradeprice:
  5275. description: 成交价格
  5276. type: number
  5277. tradeqty:
  5278. description: 成交数量
  5279. type: integer
  5280. vendorname1:
  5281. description: 预售商品供应商名称
  5282. type: string
  5283. vendorname2:
  5284. description: 挂牌商品供应商名称
  5285. type: string
  5286. required:
  5287. - goodscode
  5288. - goodsname
  5289. - tradeid
  5290. - trademode
  5291. type: object
  5292. models.HsbyBuyMyTradeDetail:
  5293. properties:
  5294. accountid:
  5295. description: 账户ID[报价币种]
  5296. type: integer
  5297. agreeunit:
  5298. description: 合约单位
  5299. type: number
  5300. amount:
  5301. description: 金额 = 价格 * 数量 * 合约单位
  5302. type: number
  5303. buyorsell:
  5304. description: 买卖 - 0:买 1:卖
  5305. type: integer
  5306. currencysign:
  5307. description: 货币符号
  5308. type: string
  5309. decimalplace:
  5310. description: 报价小数位
  5311. type: integer
  5312. goodscode:
  5313. description: 商品代码(内部)
  5314. type: string
  5315. goodsid:
  5316. description: 商品ID
  5317. type: integer
  5318. goodsname:
  5319. description: 商品名称
  5320. type: string
  5321. marketid:
  5322. description: 市场ID
  5323. type: integer
  5324. orderamount:
  5325. description: 委托金额
  5326. type: number
  5327. orderid:
  5328. description: 单号(成交单号)
  5329. type: string
  5330. picurls1:
  5331. description: 预售商品介绍图片[多张用逗号分隔]
  5332. type: string
  5333. picurls2:
  5334. description: 挂牌商品介绍图片[多张用逗号分隔]
  5335. type: string
  5336. price:
  5337. description: 价格
  5338. type: number
  5339. qty:
  5340. description: 数量
  5341. type: integer
  5342. time:
  5343. description: 时间
  5344. type: string
  5345. trademode:
  5346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5347. 21:竞拍-大宗式 22:受托竞价
  5348. type: integer
  5349. vendorname1:
  5350. description: 预售商品供应商名称
  5351. type: string
  5352. vendorname2:
  5353. description: 挂牌商品供应商名称
  5354. type: string
  5355. required:
  5356. - accountid
  5357. - buyorsell
  5358. - goodscode
  5359. - goodsid
  5360. - goodsname
  5361. - marketid
  5362. - orderid
  5363. - qty
  5364. - time
  5365. - trademode
  5366. type: object
  5367. models.HsbyGoodsOrderDetail:
  5368. properties:
  5369. buyorsell:
  5370. description: 买卖 - 0:买 1:卖
  5371. type: integer
  5372. currencysign:
  5373. description: 货币符号
  5374. type: string
  5375. customername:
  5376. description: 客户名称(企业名称),已脱敏
  5377. type: string
  5378. enableqty:
  5379. description: 可用数量
  5380. type: integer
  5381. goodunit:
  5382. description: 报价单位
  5383. type: string
  5384. orderid:
  5385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5386. type: string
  5387. orderprice:
  5388. description: 委托价格
  5389. type: number
  5390. ordertime:
  5391. description: 委托时间
  5392. type: string
  5393. required:
  5394. - buyorsell
  5395. - orderid
  5396. - ordertime
  5397. type: object
  5398. models.HsbyListingGoodsDetail:
  5399. properties:
  5400. agreeunit:
  5401. description: 合约单位
  5402. type: number
  5403. buymaxqty:
  5404. description: 购买上限 [71] - 0为不限
  5405. type: integer
  5406. currency:
  5407. description: 货币
  5408. type: string
  5409. currencysign:
  5410. description: 货币符号
  5411. type: string
  5412. decimalplace:
  5413. description: 报价小数位
  5414. type: integer
  5415. desccityid:
  5416. description: 目的地(市)ID
  5417. type: integer
  5418. descprovinceid:
  5419. description: 目的地(省)ID
  5420. type: integer
  5421. goodscode:
  5422. description: 商品代码(内部)
  5423. type: string
  5424. goodsdesc:
  5425. description: 商品详情
  5426. type: string
  5427. goodsid:
  5428. description: 商品ID(自增ID SEQ_GOODS)
  5429. type: integer
  5430. goodsname:
  5431. description: 商品名称
  5432. type: string
  5433. goodsprice:
  5434. description: 商品价格
  5435. type: number
  5436. hotindex:
  5437. description: 景点热度
  5438. type: integer
  5439. last:
  5440. description: 现价
  5441. type: number
  5442. limitdown:
  5443. description: 跌停价
  5444. type: number
  5445. limitup:
  5446. description: 涨停价
  5447. type: number
  5448. lotsize:
  5449. description: 手数最小变动单位
  5450. type: integer
  5451. marketid:
  5452. description: 所属市场ID
  5453. type: integer
  5454. picurls:
  5455. description: 介绍图片[多张用逗号分隔]
  5456. type: string
  5457. quoteminunit:
  5458. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5459. type: integer
  5460. stepvalue:
  5461. description: 价格最小变动单位
  5462. type: number
  5463. trademode:
  5464. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5465. 21:竞拍-大宗式 22:受托竞价
  5466. type: integer
  5467. vendorattr:
  5468. description: 供应商附件(多张,逗号分隔)
  5469. type: string
  5470. vendorname:
  5471. description: 供应商名称
  5472. type: string
  5473. vendorphone:
  5474. description: 供应商客服电话
  5475. type: string
  5476. videourls:
  5477. description: 介绍视频[多张用逗号分隔]
  5478. type: string
  5479. required:
  5480. - goodscode
  5481. - goodsid
  5482. - goodsname
  5483. - marketid
  5484. - trademode
  5485. type: object
  5486. models.HsbyMarketGoods:
  5487. properties:
  5488. accountid:
  5489. description: 账户ID[报价币种]
  5490. type: integer
  5491. agreeunit:
  5492. description: 合约单位
  5493. type: number
  5494. buyorsell:
  5495. description: 买卖 - 0:买 1:卖
  5496. type: integer
  5497. categoryid:
  5498. description: 类别ID(WRCATEGORY)
  5499. type: integer
  5500. currency:
  5501. description: 货币
  5502. type: string
  5503. currencysign:
  5504. description: 货币符号
  5505. type: string
  5506. customername:
  5507. description: 卖家名称
  5508. type: string
  5509. decimalplace:
  5510. description: 报价小数位
  5511. type: integer
  5512. goodscode:
  5513. description: 商品代码(内部)
  5514. type: string
  5515. goodsid:
  5516. description: 商品ID
  5517. type: integer
  5518. goodsname:
  5519. description: 商品名称
  5520. type: string
  5521. goodsprice:
  5522. description: 商品价格
  5523. type: number
  5524. hascoupon:
  5525. description: 是否可用优惠卷
  5526. type: boolean
  5527. hotindex:
  5528. description: 景点热度
  5529. type: integer
  5530. marketid:
  5531. description: 市场ID
  5532. type: integer
  5533. orderid:
  5534. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5535. type: string
  5536. orderprice:
  5537. description: 委托价格
  5538. type: number
  5539. orderstatus:
  5540. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5541. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5542. 16:成交失败违约(荷兰式竞拍专用)
  5543. type: integer
  5544. picurls:
  5545. description: 介绍图片[多张用逗号分隔]
  5546. type: string
  5547. quoteminunit:
  5548. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5549. type: integer
  5550. sellUserID:
  5551. description: 卖方UserID
  5552. type: integer
  5553. trademode:
  5554. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5555. 21:竞拍-大宗式 22:受托竞价
  5556. type: integer
  5557. videourls:
  5558. description: 介绍视频[多张用逗号分隔]
  5559. type: string
  5560. required:
  5561. - accountid
  5562. - buyorsell
  5563. - goodscode
  5564. - goodsid
  5565. - goodsname
  5566. - marketid
  5567. - orderid
  5568. - trademode
  5569. type: object
  5570. models.HsbyMarketGoodsDetail:
  5571. properties:
  5572. accountid:
  5573. description: 账户ID[报价币种]
  5574. type: integer
  5575. agreeunit:
  5576. description: 合约单位
  5577. type: number
  5578. buymaxqty:
  5579. description: 购买上限 [71] - 0为不限
  5580. type: integer
  5581. buyorsell:
  5582. description: 买卖 - 0:买 1:卖
  5583. type: integer
  5584. cancelqty:
  5585. description: 撤单数量
  5586. type: integer
  5587. categoryid:
  5588. description: 类别ID(WRCATEGORY)
  5589. type: integer
  5590. currency:
  5591. description: 货币
  5592. type: string
  5593. currencysign:
  5594. description: 货币符号
  5595. type: string
  5596. customername:
  5597. description: 卖家名称
  5598. type: string
  5599. decimalplace:
  5600. description: 报价小数位
  5601. type: integer
  5602. goodscode:
  5603. description: 商品代码(内部)
  5604. type: string
  5605. goodsdesc:
  5606. description: 商品详情
  5607. type: string
  5608. goodsid:
  5609. description: 商品ID
  5610. type: integer
  5611. goodsname:
  5612. description: 商品名称
  5613. type: string
  5614. goodsprice:
  5615. description: 商品价格
  5616. type: number
  5617. hotindex:
  5618. description: 景点热度
  5619. type: integer
  5620. lotsize:
  5621. description: 手数最小变动单位
  5622. type: integer
  5623. marketid:
  5624. description: 市场ID
  5625. type: integer
  5626. orderid:
  5627. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5628. type: string
  5629. orderprice:
  5630. description: 委托价格
  5631. type: number
  5632. orderqty:
  5633. description: 委托数量
  5634. type: integer
  5635. orderstatus:
  5636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5637. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5638. 16:成交失败违约(荷兰式竞拍专用)
  5639. type: integer
  5640. picurls:
  5641. description: 介绍图片[多张用逗号分隔]
  5642. type: string
  5643. quoteminunit:
  5644. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5645. type: integer
  5646. sellUserID:
  5647. description: 卖方UserID
  5648. type: integer
  5649. trademode:
  5650. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5651. 21:竞拍-大宗式 22:受托竞价
  5652. type: integer
  5653. tradeqty:
  5654. description: 成交数量
  5655. type: integer
  5656. vendorattr:
  5657. description: 供应商附件(多张,逗号分隔)
  5658. type: string
  5659. vendorname:
  5660. description: 供应商名称
  5661. type: string
  5662. vendorphone:
  5663. description: 供应商客服电话
  5664. type: string
  5665. videourls:
  5666. description: 介绍视频[多张用逗号分隔]
  5667. type: string
  5668. required:
  5669. - accountid
  5670. - buyorsell
  5671. - goodscode
  5672. - goodsid
  5673. - goodsname
  5674. - marketid
  5675. - orderid
  5676. - orderqty
  5677. - trademode
  5678. type: object
  5679. models.HsbyMarketInfo:
  5680. properties:
  5681. marketid:
  5682. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5683. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5684. type: integer
  5685. marketname:
  5686. description: 市场名称
  5687. type: string
  5688. marketstatus:
  5689. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5690. type: integer
  5691. trademode:
  5692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5693. 21:竞拍-大宗式 22:受托竞价
  5694. type: integer
  5695. required:
  5696. - marketid
  5697. - marketstatus
  5698. - trademode
  5699. type: object
  5700. models.HsbyMyGoods:
  5701. properties:
  5702. accountid:
  5703. description: 账号Id
  5704. type: integer
  5705. agreeunit:
  5706. description: 合约单位
  5707. type: number
  5708. buyaverageprice:
  5709. description: 持仓均价
  5710. type: number
  5711. buycurholderamount:
  5712. description: 买当前持仓总金额[商品币种]
  5713. type: number
  5714. buycurpositionqty:
  5715. description: 买当前持仓总数量
  5716. type: integer
  5717. buymaxqty:
  5718. description: 购买上限 [71] - 0为不限
  5719. type: integer
  5720. currencysign:
  5721. description: 货币符号
  5722. type: string
  5723. decimalplace:
  5724. description: 报价小数位
  5725. type: integer
  5726. enableqty:
  5727. description: 可用数量
  5728. type: integer
  5729. goodscode:
  5730. description: 商品代码(内部)
  5731. type: string
  5732. goodsid:
  5733. description: 商品Id
  5734. type: integer
  5735. goodsname:
  5736. description: 商品名称
  5737. type: string
  5738. goodsprice:
  5739. description: 商品价格
  5740. type: number
  5741. goodsstatus:
  5742. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5743. type: integer
  5744. last:
  5745. description: 现价(仅使用于挂牌点选)
  5746. type: number
  5747. limitdown:
  5748. description: 跌停价(仅使用于挂牌点选)
  5749. type: number
  5750. limitup:
  5751. description: 涨停价(仅使用于挂牌点选)
  5752. type: number
  5753. lotsize:
  5754. description: 手数最小变动单位
  5755. type: integer
  5756. marketid:
  5757. description: 所属市场ID
  5758. type: integer
  5759. picurls:
  5760. description: 介绍图片[多张用逗号分隔]
  5761. type: string
  5762. quoteminunit:
  5763. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5764. type: integer
  5765. stepvalue:
  5766. description: 价格最小变动单位
  5767. type: number
  5768. trademode:
  5769. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5770. 21:竞拍-大宗式 22:受托竞价
  5771. type: integer
  5772. required:
  5773. - accountid
  5774. - goodscode
  5775. - goodsid
  5776. - goodsname
  5777. - marketid
  5778. - trademode
  5779. type: object
  5780. models.HsbyMyPackage:
  5781. properties:
  5782. accountid:
  5783. description: 账户ID
  5784. type: integer
  5785. address:
  5786. description: 提货人详细地址
  5787. type: string
  5788. agreeunit:
  5789. description: 合约单位
  5790. type: number
  5791. amount:
  5792. description: 提货金额
  5793. type: number
  5794. auditer:
  5795. description: 审核人
  5796. type: integer
  5797. audittime:
  5798. description: 审核时间
  5799. type: string
  5800. averageprice:
  5801. description: 均价
  5802. type: number
  5803. cardnum:
  5804. description: 提货人证件号码
  5805. type: string
  5806. cardtypeid:
  5807. description: 提货人证件类型
  5808. type: integer
  5809. checkremark:
  5810. description: 审核备注
  5811. type: string
  5812. currencysign:
  5813. description: 货币符号
  5814. type: string
  5815. decimalplace:
  5816. description: 报价小数位
  5817. type: integer
  5818. goodscode:
  5819. description: 商品代码(内部)
  5820. type: string
  5821. goodsid:
  5822. description: 商品ID
  5823. type: integer
  5824. goodsname:
  5825. description: 商品名称
  5826. type: string
  5827. handlestatus:
  5828. description: 处理状态
  5829. type: integer
  5830. marketid:
  5831. description: 市场ID
  5832. type: integer
  5833. phonenum:
  5834. description: 提货人联系方式
  5835. type: string
  5836. picurls:
  5837. description: 介绍图片[多张用逗号分隔]
  5838. type: string
  5839. qty:
  5840. description: 提货数量
  5841. type: number
  5842. recivername:
  5843. description: 提货人姓名
  5844. type: string
  5845. reqtime:
  5846. description: 更新时间
  5847. type: string
  5848. takemode:
  5849. description: 提货方式 - 2:自提 3:配送
  5850. type: integer
  5851. takeorderid:
  5852. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5853. type: string
  5854. takeorderstatus:
  5855. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5856. type: integer
  5857. takeremark:
  5858. description: 提货备注
  5859. type: string
  5860. tradedate:
  5861. description: 交易日(yyyyMMdd)
  5862. type: string
  5863. trademode:
  5864. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5865. 21:竞拍-大宗式 22:受托竞价
  5866. type: integer
  5867. userid:
  5868. description: 用户ID
  5869. type: integer
  5870. vendorname:
  5871. description: 供应商名称
  5872. type: string
  5873. required:
  5874. - goodscode
  5875. - goodsname
  5876. - takeorderid
  5877. - trademode
  5878. type: object
  5879. models.HsbyPreGoods:
  5880. properties:
  5881. agreeunit:
  5882. description: 合约单位
  5883. type: number
  5884. currency:
  5885. description: 货币
  5886. type: string
  5887. currencysign:
  5888. description: 货币符号
  5889. type: string
  5890. decimalplace:
  5891. description: 报价小数位
  5892. type: integer
  5893. desccityid:
  5894. description: 目的地(市)
  5895. type: integer
  5896. descprovinceid:
  5897. description: 目的地(省)
  5898. type: integer
  5899. enableqty:
  5900. description: 剩余数量
  5901. type: integer
  5902. goodscode:
  5903. description: 商品代码(内部)
  5904. type: string
  5905. goodsid:
  5906. description: 商品ID(自增ID SEQ_GOODS)
  5907. type: integer
  5908. goodsname:
  5909. description: 商品名称
  5910. type: string
  5911. goodsstatus:
  5912. description: 商品状态- 2:未上市 3:上市
  5913. type: integer
  5914. lasttradedate:
  5915. description: 最后交易日期(状态:待退市)
  5916. type: string
  5917. listingdate:
  5918. description: 交易开始日期
  5919. type: string
  5920. marketid:
  5921. description: 所属市场ID
  5922. type: integer
  5923. picurls:
  5924. description: 介绍图片[多张用逗号分隔]
  5925. type: string
  5926. presaledqty:
  5927. description: 已预售量(预售结束时更新)
  5928. type: integer
  5929. presaleqty:
  5930. description: 预售数量
  5931. type: integer
  5932. quoteminunit:
  5933. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5934. type: integer
  5935. refprice:
  5936. description: 参考价格[一口价]
  5937. type: number
  5938. relatedgoodsid:
  5939. description: 关联交易合约ID
  5940. type: integer
  5941. trademode:
  5942. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5943. 21:竞拍-大宗式 22:受托竞价
  5944. type: integer
  5945. videourls:
  5946. description: 介绍视频[多张用逗号分隔]
  5947. type: string
  5948. required:
  5949. - goodscode
  5950. - goodsid
  5951. - goodsname
  5952. - marketid
  5953. - trademode
  5954. type: object
  5955. models.HsbyPreGoodsDetail:
  5956. properties:
  5957. agreeunit:
  5958. description: 合约单位
  5959. type: number
  5960. buymaxqty:
  5961. description: 购买上限 [71] - 0为不限
  5962. type: integer
  5963. currency:
  5964. description: 货币
  5965. type: string
  5966. currencysign:
  5967. description: 货币符号
  5968. type: string
  5969. customername:
  5970. description: 发行单位
  5971. type: string
  5972. decimalplace:
  5973. description: 报价小数位
  5974. type: integer
  5975. desccityid:
  5976. description: 目的地(市)ID
  5977. type: integer
  5978. descprovinceid:
  5979. description: 目的地(省)ID
  5980. type: integer
  5981. enableqty:
  5982. description: 剩余数量
  5983. type: integer
  5984. goodscode:
  5985. description: 商品代码(内部)
  5986. type: string
  5987. goodsdesc:
  5988. description: 商品详情
  5989. type: string
  5990. goodsid:
  5991. description: 商品ID(自增ID SEQ_GOODS)
  5992. type: integer
  5993. goodsname:
  5994. description: 商品名称
  5995. type: string
  5996. goodsstatus:
  5997. description: 商品状态- 2:未上市 3:上市
  5998. type: integer
  5999. goodunit:
  6000. description: 报价单位
  6001. type: string
  6002. lasttradedate:
  6003. description: 最后交易日期(状态:待退市)
  6004. type: string
  6005. listingdate:
  6006. description: 交易开始日期
  6007. type: string
  6008. lotsize:
  6009. description: 手数最小变动单位
  6010. type: integer
  6011. marketid:
  6012. description: 所属市场ID
  6013. type: integer
  6014. picurls:
  6015. description: 介绍图片[多张用逗号分隔]
  6016. type: string
  6017. presaledqty:
  6018. description: 已预售量(预售结束时更新)
  6019. type: integer
  6020. presaleqty:
  6021. description: 预售数量
  6022. type: integer
  6023. quoteminunit:
  6024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6025. type: integer
  6026. refprice:
  6027. description: 参考价格[一口价]
  6028. type: number
  6029. relatedgoodsid:
  6030. description: 关联交易合约ID
  6031. type: integer
  6032. stepvalue:
  6033. description: 价格最小变动单位
  6034. type: number
  6035. trademode:
  6036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6037. 21:竞拍-大宗式 22:受托竞价
  6038. type: integer
  6039. vendorattr:
  6040. description: 供应商附件(多张,逗号分隔)
  6041. type: string
  6042. vendorname:
  6043. description: 供应商名称
  6044. type: string
  6045. vendorphone:
  6046. description: 供应商客服电话
  6047. type: string
  6048. videourls:
  6049. description: 介绍视频[多张用逗号分隔]
  6050. type: string
  6051. required:
  6052. - goodscode
  6053. - goodsid
  6054. - goodsname
  6055. - marketid
  6056. - trademode
  6057. type: object
  6058. models.HsbySellCollectionOrder:
  6059. properties:
  6060. agreeunit:
  6061. description: 合约单位
  6062. type: number
  6063. buyaccountid:
  6064. description: 买方账号ID[报价币种]
  6065. type: integer
  6066. buyorderid:
  6067. description: 买方委托单号
  6068. type: string
  6069. createtime:
  6070. description: 创建时间
  6071. type: string
  6072. currencysign:
  6073. description: 货币符号
  6074. type: string
  6075. decimalplace:
  6076. description: 报价小数位
  6077. type: integer
  6078. goodscode:
  6079. description: 商品代码(内部)
  6080. type: string
  6081. goodsid:
  6082. description: 商品ID
  6083. type: integer
  6084. goodsname:
  6085. description: 商品名称
  6086. type: string
  6087. marketid:
  6088. description: 市场ID
  6089. type: integer
  6090. offamount:
  6091. description: 优惠金额
  6092. type: number
  6093. payamount:
  6094. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6095. type: number
  6096. payflag:
  6097. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6098. type: integer
  6099. paylimitedtime:
  6100. description: 支付期限
  6101. type: string
  6102. paytime:
  6103. description: 付款时间
  6104. type: string
  6105. picurls:
  6106. description: 商品介绍图片[多张用逗号分隔]
  6107. type: string
  6108. sellaccountid:
  6109. description: 卖方账号ID[报价币种]
  6110. type: integer
  6111. sellorderid:
  6112. description: 卖方委托单号
  6113. type: string
  6114. tradeamount:
  6115. description: 成交金额
  6116. type: number
  6117. tradecharge:
  6118. description: 成交手续费(买方)
  6119. type: number
  6120. tradedate:
  6121. description: 交易日(yyyyMMdd)
  6122. type: string
  6123. tradeid:
  6124. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6125. type: string
  6126. trademode:
  6127. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6128. 21:竞拍-大宗式 22:受托竞价
  6129. type: integer
  6130. tradeprice:
  6131. description: 成交价格
  6132. type: number
  6133. tradeqty:
  6134. description: 成交数量
  6135. type: integer
  6136. required:
  6137. - goodscode
  6138. - goodsname
  6139. - tradeid
  6140. - trademode
  6141. type: object
  6142. models.HsbySellMyDetail:
  6143. properties:
  6144. accountid:
  6145. description: 账户ID[报价币种]
  6146. type: integer
  6147. agreeunit:
  6148. description: 合约单位
  6149. type: number
  6150. buyorsell:
  6151. description: 买卖 - 0:买 1:卖
  6152. type: integer
  6153. currencysign:
  6154. description: 货币符号
  6155. type: string
  6156. decimalplace:
  6157. description: 报价小数位
  6158. type: integer
  6159. goodscode:
  6160. description: 商品代码(内部)
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. marketid:
  6169. description: 市场ID
  6170. type: integer
  6171. orderid:
  6172. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6173. type: string
  6174. ordertype:
  6175. description: 单据类型:0 - 发布中, 1 - 已完成
  6176. type: integer
  6177. picurls:
  6178. description: 介绍图片[多张用逗号分隔]
  6179. type: string
  6180. price:
  6181. description: 价格
  6182. type: number
  6183. qty:
  6184. description: 数量
  6185. type: integer
  6186. time:
  6187. description: 时间
  6188. type: string
  6189. trademode:
  6190. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6191. 21:竞拍-大宗式 22:受托竞价
  6192. type: integer
  6193. vendorname:
  6194. description: 供应商名称
  6195. type: string
  6196. required:
  6197. - accountid
  6198. - buyorsell
  6199. - goodscode
  6200. - goodsid
  6201. - goodsname
  6202. - marketid
  6203. - orderid
  6204. - time
  6205. - trademode
  6206. type: object
  6207. models.HsbyTopGoods:
  6208. properties:
  6209. agreeunit:
  6210. description: 合约单位
  6211. type: number
  6212. currency:
  6213. description: 货币
  6214. type: string
  6215. currencysign:
  6216. description: 货币符号
  6217. type: string
  6218. decimalplace:
  6219. description: 报价小数位
  6220. type: integer
  6221. desccityid:
  6222. description: 目的地(市)
  6223. type: integer
  6224. descprovinceid:
  6225. description: 目的地(省)
  6226. type: integer
  6227. goodscode:
  6228. description: 商品代码(内部)
  6229. type: string
  6230. goodsid:
  6231. description: 商品ID(自增ID SEQ_GOODS)
  6232. type: integer
  6233. goodsname:
  6234. description: 商品名称
  6235. type: string
  6236. hotindex:
  6237. description: 景点热度
  6238. type: integer
  6239. last:
  6240. description: 现价
  6241. type: number
  6242. marketid:
  6243. description: 所属市场ID
  6244. type: integer
  6245. picurls:
  6246. description: 介绍图片[多张用逗号分隔]
  6247. type: string
  6248. quoteminunit:
  6249. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6250. type: integer
  6251. trademode:
  6252. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6253. 21:竞拍-大宗式 22:受托竞价
  6254. type: integer
  6255. videourls:
  6256. description: 介绍视频[多张用逗号分隔]
  6257. type: string
  6258. required:
  6259. - goodscode
  6260. - goodsid
  6261. - goodsname
  6262. - marketid
  6263. - trademode
  6264. type: object
  6265. models.HybsMyBuyOrderDetail:
  6266. properties:
  6267. accountid:
  6268. description: 账户ID[报价币种]
  6269. type: integer
  6270. agreeunit:
  6271. description: 合约单位
  6272. type: number
  6273. buyorsell:
  6274. description: 买卖 - 0:买 1:卖
  6275. type: integer
  6276. cancelqty:
  6277. description: 撤单数量
  6278. type: integer
  6279. currencysign:
  6280. description: 货币符号
  6281. type: string
  6282. decimalplace:
  6283. description: 报价小数位
  6284. type: integer
  6285. goodscode:
  6286. description: 商品代码(内部)
  6287. type: string
  6288. goodsid:
  6289. description: 商品ID
  6290. type: integer
  6291. goodsname:
  6292. description: 商品名称
  6293. type: string
  6294. listingselecttype:
  6295. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6296. type: integer
  6297. marketid:
  6298. description: 市场ID
  6299. type: integer
  6300. mybuystatus:
  6301. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6302. type: integer
  6303. orderamount:
  6304. description: 委托金额
  6305. type: number
  6306. orderid:
  6307. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6308. type: string
  6309. orderprice:
  6310. description: 委托价格
  6311. type: number
  6312. orderqty:
  6313. description: 委托数量
  6314. type: integer
  6315. orderstatus:
  6316. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6317. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6318. 16:成交失败违约(荷兰式竞拍专用)
  6319. type: integer
  6320. ordertime:
  6321. description: 委托时间
  6322. type: string
  6323. picurls1:
  6324. description: 预售商品介绍图片[多张用逗号分隔]
  6325. type: string
  6326. picurls2:
  6327. description: 挂牌商品介绍图片[多张用逗号分隔]
  6328. type: string
  6329. trademode:
  6330. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6331. 21:竞拍-大宗式 22:受托竞价
  6332. type: integer
  6333. tradeqty:
  6334. description: 成交数量
  6335. type: integer
  6336. vendorname1:
  6337. description: 预售商品供应商名称
  6338. type: string
  6339. vendorname2:
  6340. description: 挂牌商品供应商名称
  6341. type: string
  6342. required:
  6343. - accountid
  6344. - buyorsell
  6345. - goodscode
  6346. - goodsid
  6347. - goodsname
  6348. - marketid
  6349. - orderid
  6350. - orderqty
  6351. - ordertime
  6352. - trademode
  6353. type: object
  6354. models.Loginaccount:
  6355. properties:
  6356. canoutin:
  6357. description: 是否可出入金 - 0:不可 1:可
  6358. type: integer
  6359. clientroleid:
  6360. description: 终端角色ID
  6361. type: integer
  6362. haslogined:
  6363. description: 是否已登录 - 0:未登录 1:已登录
  6364. type: integer
  6365. hasupdatedpwd:
  6366. description: 是否已更改密码 - 0:未修改 1:已修改
  6367. type: integer
  6368. lastloginip:
  6369. description: 最新登录地址
  6370. type: string
  6371. lastloginmode:
  6372. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6373. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6374. type: integer
  6375. lastloginremark:
  6376. description: 最新登录描述
  6377. type: string
  6378. lastlogintime:
  6379. description: 最新登录时间
  6380. type: string
  6381. logincode:
  6382. description: 登录代码
  6383. type: string
  6384. loginfailnum:
  6385. description: 连续登录失败次数(登录成功时清零)
  6386. type: integer
  6387. loginid:
  6388. description: 登陆账号
  6389. type: integer
  6390. loginport:
  6391. description: 最新登录端口
  6392. type: integer
  6393. loginstatus:
  6394. description: 登录账号状态 1:正常 2:冻结 3:无效
  6395. type: integer
  6396. loginusertype:
  6397. description: 登录账号类型 - 1:投资者 2:机构交易员
  6398. type: integer
  6399. modifierid:
  6400. description: 修改人
  6401. type: integer
  6402. modifytime:
  6403. description: 修改时间
  6404. type: string
  6405. pwdwrongcount:
  6406. description: 密码错误次数
  6407. type: integer
  6408. taaccountrighttype:
  6409. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6410. type: integer
  6411. unfreezetime:
  6412. description: 账户解冻时间
  6413. type: string
  6414. userid:
  6415. description: 用户ID
  6416. type: integer
  6417. required:
  6418. - loginid
  6419. type: object
  6420. models.Market:
  6421. properties:
  6422. auctionwrtype:
  6423. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6424. type: integer
  6425. canacceptquote:
  6426. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6427. type: integer
  6428. cangoodsexercise:
  6429. description: '[期权]是否可现货行权- 0:否 1:是'
  6430. type: integer
  6431. cangoodsexercisetype:
  6432. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6433. type: integer
  6434. canmanualquotestrike:
  6435. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6436. type: integer
  6437. canmutistage:
  6438. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6439. type: integer
  6440. canpreexercise:
  6441. description: '[期权]是否可预申报- 0:否 1:是'
  6442. type: integer
  6443. clearinterval:
  6444. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6445. type: integer
  6446. contracttmp:
  6447. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6448. type: string
  6449. exchareaid:
  6450. description: 所属交易所,可以没有
  6451. type: integer
  6452. goodstype:
  6453. description: 商品类型 - 1:交易商品 2:仓单商品
  6454. type: integer
  6455. hasrebate:
  6456. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6457. type: integer
  6458. hastradecredit:
  6459. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6460. type: integer
  6461. haswr:
  6462. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6463. type: integer
  6464. isdeductmargin:
  6465. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6466. type: integer
  6467. isrecordsource:
  6468. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6469. type: integer
  6470. isreleasemargin:
  6471. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6472. type: integer
  6473. marginformula:
  6474. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6475. type: integer
  6476. marginformula2:
  6477. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6478. type: integer
  6479. marketid:
  6480. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6481. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6482. type: integer
  6483. marketname:
  6484. description: 市场名称
  6485. type: string
  6486. marketserviceid:
  6487. description: 市场服务ID
  6488. type: integer
  6489. marketstatus:
  6490. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6491. type: integer
  6492. markettype:
  6493. description: 市场类型- 1:非交易服务 2:交易服务
  6494. type: integer
  6495. matchermode:
  6496. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6497. type: integer
  6498. openmethod:
  6499. description: 开盘模式 - 0 自动 1手动
  6500. type: integer
  6501. otcuserid:
  6502. description: 场外期权做市商[场外期权]
  6503. type: integer
  6504. outersynctime:
  6505. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6506. type: string
  6507. pendingflag:
  6508. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6509. type: integer
  6510. pendingtime:
  6511. description: 待开市时间[通道交易-对冲](HH:mm)
  6512. type: string
  6513. performancetempid:
  6514. description: 履约计划模板ID - 作废
  6515. type: integer
  6516. premiumquotemode:
  6517. description: 权利金报价方式 - 1:自动 2:手动
  6518. type: integer
  6519. rebateratio:
  6520. description: 返利比率[竞价式]
  6521. type: number
  6522. reckonorder:
  6523. description: 结算顺序
  6524. type: integer
  6525. reckonpricealgorithm:
  6526. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6527. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6528. type: integer
  6529. reckonpriceparam:
  6530. description: 结算价参数
  6531. type: integer
  6532. reckontime:
  6533. description: 结算时间[通道交易-对冲](HH:mm)
  6534. type: string
  6535. roleprioritytype:
  6536. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6537. type: integer
  6538. selllistingauditflag:
  6539. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6540. type: integer
  6541. trademarkettype:
  6542. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6543. type: integer
  6544. trademode:
  6545. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6546. 21:竞拍-大宗式 22:受托竞价
  6547. type: integer
  6548. tradeproperty:
  6549. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6550. 8:场外期权
  6551. type: integer
  6552. tradetype:
  6553. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6554. type: integer
  6555. required:
  6556. - marketid
  6557. - marketstatus
  6558. - openmethod
  6559. - reckonpricealgorithm
  6560. - trademode
  6561. - tradeproperty
  6562. type: object
  6563. models.Marketrun:
  6564. properties:
  6565. afternexttradedate:
  6566. description: 下下交易日
  6567. type: string
  6568. clearquoteflag:
  6569. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6570. type: integer
  6571. lastreckondate:
  6572. description: 最新交易日(结算成功)
  6573. type: string
  6574. machinedate:
  6575. description: 机器时间
  6576. type: string
  6577. manualflag:
  6578. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6579. type: integer
  6580. marketid:
  6581. description: 市场ID
  6582. type: integer
  6583. nexttradedate:
  6584. description: 下一交易日
  6585. type: string
  6586. pretradedate:
  6587. description: 上一交易日
  6588. type: string
  6589. reckonflag:
  6590. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6591. type: integer
  6592. runstatus:
  6593. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6594. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6595. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6596. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6597. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6598. 62.今日免清算
  6599. type: integer
  6600. sectionid:
  6601. description: 时间段号[多时段时用]
  6602. type: integer
  6603. tradedate:
  6604. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6605. type: string
  6606. tradedate2:
  6607. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6608. type: string
  6609. updatetime:
  6610. description: 更新时间
  6611. type: string
  6612. required:
  6613. - marketid
  6614. - nexttradedate
  6615. - reckonflag
  6616. - runstatus
  6617. - tradedate
  6618. - tradedate2
  6619. type: object
  6620. models.Messageboard:
  6621. properties:
  6622. contactnum:
  6623. description: 联系电话
  6624. type: string
  6625. createtime:
  6626. description: 创建时间
  6627. type: string
  6628. message:
  6629. description: 留言信息
  6630. type: string
  6631. messageboardid:
  6632. description: 留言簿ID(SEQ_MessageBoard)
  6633. type: integer
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. required:
  6638. - messageboardid
  6639. type: object
  6640. models.MyCoupon:
  6641. properties:
  6642. accountid:
  6643. description: 资金账户ID
  6644. type: integer
  6645. areauserid:
  6646. description: 所属机构
  6647. type: integer
  6648. conditionvalue:
  6649. description: 条件阈值(可为0)
  6650. type: number
  6651. couponcategroy:
  6652. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6653. type: integer
  6654. couponname:
  6655. description: 优惠券名称
  6656. type: string
  6657. coupontypeid:
  6658. description: 优惠券类型ID
  6659. type: string
  6660. couponvalue:
  6661. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6662. type: number
  6663. curfreezeqty:
  6664. description: 期末冻结数量
  6665. type: integer
  6666. curqty:
  6667. description: 期末数量
  6668. type: integer
  6669. isgeneral:
  6670. description: 是否通用券 - 0:否 1:是
  6671. type: integer
  6672. isunusable:
  6673. description: 是否不可用
  6674. type: boolean
  6675. limitedflag:
  6676. description: 是否指定商品 - 0:不限 1:限制
  6677. type: integer
  6678. limitedgoodsids:
  6679. description: 指定商品IDs[逗号分隔,前后加逗号]
  6680. type: string
  6681. orifreezeqty:
  6682. description: 期初冻结数量
  6683. type: integer
  6684. oriqty:
  6685. description: 期初数量
  6686. type: integer
  6687. reasontype:
  6688. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6689. type: integer
  6690. todaydecrease:
  6691. description: 今日减少
  6692. type: integer
  6693. todayincrease:
  6694. description: 今日增加
  6695. type: integer
  6696. userid:
  6697. description: 用户ID
  6698. type: integer
  6699. userscope:
  6700. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6701. type: string
  6702. required:
  6703. - accountid
  6704. - coupontypeid
  6705. type: object
  6706. models.MyCouponHold:
  6707. properties:
  6708. accountid:
  6709. description: 资金账户ID
  6710. type: integer
  6711. conditionvalue:
  6712. description: 条件阈值(可为0)
  6713. type: number
  6714. couponcategroy:
  6715. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6716. type: integer
  6717. couponholdid:
  6718. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6719. type: string
  6720. couponname:
  6721. description: 优惠券名称
  6722. type: string
  6723. coupontypeid:
  6724. description: 优惠券类型ID - SEQ_COUPONTYPE
  6725. type: string
  6726. couponvalue:
  6727. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6728. type: number
  6729. createtime:
  6730. description: 创建时间
  6731. type: string
  6732. enddate:
  6733. description: 结束日期
  6734. type: string
  6735. giveapplyid:
  6736. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6737. type: integer
  6738. holdstatus:
  6739. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6740. type: integer
  6741. isgeneral:
  6742. description: 是否通用券 - 0:否 1:是
  6743. type: integer
  6744. limitedflag:
  6745. description: 是否指定商品 - 0:不限 1:限制
  6746. type: integer
  6747. limitedgoodsids:
  6748. description: 指定商品IDs[逗号分隔]
  6749. type: string
  6750. qty:
  6751. description: 数量(按1平铺)
  6752. type: integer
  6753. startdate:
  6754. description: 开始日期
  6755. type: string
  6756. userid:
  6757. description: 用户ID
  6758. type: integer
  6759. userscope:
  6760. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6761. type: string
  6762. required:
  6763. - couponholdid
  6764. type: object
  6765. models.MyUsedCoupon:
  6766. properties:
  6767. accountid:
  6768. description: 资金账户ID(买方)
  6769. type: integer
  6770. conditionvalue:
  6771. description: 条件阈值(可为0)
  6772. type: number
  6773. couponcategroy:
  6774. description: 种类 - 1:现金券 2:折扣券
  6775. type: integer
  6776. couponname:
  6777. description: 优惠券名称
  6778. type: string
  6779. coupontypeid:
  6780. description: 优惠券类型ID(买方)
  6781. type: string
  6782. couponvalue:
  6783. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6784. type: number
  6785. createtime:
  6786. description: 创建时间
  6787. type: string
  6788. goodsid:
  6789. description: 商品ID
  6790. type: integer
  6791. handlestatus:
  6792. description: 处理状态
  6793. type: integer
  6794. marketid:
  6795. description: 市场ID
  6796. type: integer
  6797. offamount:
  6798. description: 优惠金额
  6799. type: number
  6800. orderid:
  6801. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6802. type: string
  6803. sellaccountid:
  6804. description: 资金账户ID(卖方)
  6805. type: integer
  6806. tradeamount:
  6807. description: 成交金额
  6808. type: number
  6809. tradeid:
  6810. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6811. type: string
  6812. usedqty:
  6813. description: 使用数量
  6814. type: integer
  6815. required:
  6816. - coupontypeid
  6817. - orderid
  6818. type: object
  6819. models.OperationPrimaryMenu:
  6820. properties:
  6821. Children:
  6822. description: 二级功能菜单
  6823. items:
  6824. $ref: '#/definitions/models.OperationSecondaryMenu'
  6825. type: array
  6826. Key:
  6827. description: 菜单KEY
  6828. type: string
  6829. Label:
  6830. description: 菜单标题
  6831. type: string
  6832. type: object
  6833. models.OperationSecondaryMenu:
  6834. properties:
  6835. Key:
  6836. description: 菜单KEY
  6837. type: string
  6838. Label:
  6839. description: 菜单标题
  6840. type: string
  6841. TabList:
  6842. description: 三级功能菜单
  6843. items:
  6844. $ref: '#/definitions/models.OperationTabMenu'
  6845. type: array
  6846. type: object
  6847. models.OperationTabMenu:
  6848. properties:
  6849. Key:
  6850. description: 菜单KEY
  6851. type: string
  6852. Label:
  6853. description: 菜单标题
  6854. type: string
  6855. type: object
  6856. models.PendingAuditBizModel:
  6857. properties:
  6858. accountid:
  6859. description: 现货账户
  6860. type: string
  6861. areaname:
  6862. description: 所属部门
  6863. type: string
  6864. bizid:
  6865. description: 业务ID
  6866. type: string
  6867. bizname:
  6868. description: 业务名称
  6869. type: string
  6870. status:
  6871. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  6872. type: integer
  6873. type:
  6874. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  6875. type: integer
  6876. type: object
  6877. models.QueryErrorInfosRsp:
  6878. properties:
  6879. description:
  6880. description: 异常描述
  6881. type: string
  6882. errorcode:
  6883. description: 异常代码
  6884. type: string
  6885. errorid:
  6886. description: 异常ID
  6887. type: integer
  6888. modulecode:
  6889. description: 所属模块
  6890. type: string
  6891. operatecode:
  6892. description: 所属操作
  6893. type: string
  6894. rownumber:
  6895. description: 行号
  6896. type: string
  6897. required:
  6898. - errorid
  6899. type: object
  6900. models.QueryHedgeOrderDetailRsp:
  6901. properties:
  6902. accountid:
  6903. description: 账户ID
  6904. type: integer
  6905. buyorsell:
  6906. description: 买卖 - 0:买 1:卖
  6907. type: integer
  6908. cancellogincode:
  6909. description: 撤单人
  6910. type: string
  6911. channelbuildtype:
  6912. description: 开平标志 - 0:无 1:建仓 2:平仓
  6913. type: integer
  6914. channelinnerorderstatus:
  6915. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6916. 9:全部成交
  6917. type: integer
  6918. channeloperatetype:
  6919. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6920. type: integer
  6921. closetype:
  6922. description: 平仓方式 - 0:无 1:平今 2:平昨
  6923. type: integer
  6924. curexchangerate:
  6925. description: 当前汇率
  6926. type: number
  6927. exchangefullname:
  6928. description: 外部交易所全称
  6929. type: string
  6930. goodscode:
  6931. description: 商品代码(内部)
  6932. type: string
  6933. goodsid:
  6934. description: 商品ID
  6935. type: integer
  6936. goodsname:
  6937. description: 商品名称
  6938. type: string
  6939. marketid:
  6940. description: 市场ID
  6941. type: integer
  6942. openfreezemargin:
  6943. description: 冻结保证金(冻结交易金额)
  6944. type: number
  6945. orderid:
  6946. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6947. type: string
  6948. orderlogincode:
  6949. description: 委托人
  6950. type: string
  6951. orderprice:
  6952. description: 委托价格(账户)
  6953. type: number
  6954. orderqty:
  6955. description: 委托数量
  6956. type: integer
  6957. ordertime:
  6958. description: 委托时间
  6959. type: string
  6960. pricemode:
  6961. description: '取价方式 - 1:市价 2: 限价'
  6962. type: integer
  6963. tradedate:
  6964. description: 交易日(yyyyMMdd)
  6965. type: string
  6966. tradeqty:
  6967. description: 成交数量
  6968. type: integer
  6969. type: object
  6970. models.QueryHedgeTradeDetailRsp:
  6971. properties:
  6972. accountid:
  6973. description: 账号ID
  6974. type: integer
  6975. buyorsell:
  6976. description: 方向 - 0:买 1:卖
  6977. type: integer
  6978. channelbuildtype:
  6979. description: 委托单据类型 0:无 1:建仓 2:平仓
  6980. type: integer
  6981. closecharge:
  6982. description: 平仓手续费(账户)
  6983. type: number
  6984. closecharge2:
  6985. description: 平仓手续费(商品)
  6986. type: number
  6987. closetype:
  6988. description: 平仓方式 - 0:无 1:平今 2:平昨
  6989. type: integer
  6990. curexchangerate:
  6991. description: 当前汇率
  6992. type: number
  6993. exchangefullname:
  6994. description: 外部交易所全称
  6995. type: string
  6996. goodscode:
  6997. description: 商品代码(内部)
  6998. type: string
  6999. goodsid:
  7000. description: 商品ID
  7001. type: integer
  7002. goodsname:
  7003. description: 商品名称
  7004. type: string
  7005. marketid:
  7006. description: 市场ID
  7007. type: integer
  7008. opencharge:
  7009. description: 建仓手续费(账户)
  7010. type: number
  7011. opencharge2:
  7012. description: 建仓手续费(商品)
  7013. type: number
  7014. orderid:
  7015. description: 委托单号
  7016. type: string
  7017. orderlogincode:
  7018. description: 委托人
  7019. type: string
  7020. tradeamount:
  7021. description: 成交金额(账户)
  7022. type: number
  7023. tradedate:
  7024. description: 交易日(yyyyMMdd)
  7025. type: string
  7026. tradeid:
  7027. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7028. type: string
  7029. tradeprice:
  7030. description: 成交价格
  7031. type: number
  7032. tradeqty:
  7033. description: 成交数量
  7034. type: integer
  7035. tradetime:
  7036. description: 成交时间
  7037. type: string
  7038. tradetype:
  7039. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7040. type: integer
  7041. type: object
  7042. models.QuotePrimaryMenu:
  7043. properties:
  7044. Index:
  7045. description: 序号
  7046. type: integer
  7047. Key:
  7048. description: 键名
  7049. type: string
  7050. Name:
  7051. description: 菜单名称
  7052. type: string
  7053. SubMenus:
  7054. description: 子菜单
  7055. items:
  7056. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7057. type: array
  7058. SubTitleType:
  7059. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7060. type: integer
  7061. TradeModes:
  7062. description: 包含市场交易类型
  7063. type: string
  7064. type: object
  7065. models.QuoteSecondaryMenu:
  7066. properties:
  7067. ExExchangeCode:
  7068. description: 外部交易所代码
  7069. type: string
  7070. ExExchangeID:
  7071. description: 外部交易所ID
  7072. type: integer
  7073. GoodsGroupIDs:
  7074. description: 商品组ID列表
  7075. items:
  7076. type: integer
  7077. type: array
  7078. Index:
  7079. description: 序号
  7080. type: integer
  7081. MarketID:
  7082. description: 市场ID
  7083. type: integer
  7084. MenuTitle:
  7085. description: 菜单标题(市场名称或外部交易所名称)
  7086. type: string
  7087. TradeMode:
  7088. description: 交易模式
  7089. type: integer
  7090. type: object
  7091. models.RelatedGoodsEx:
  7092. properties:
  7093. goodscode:
  7094. description: 商品代码
  7095. type: string
  7096. goodsid:
  7097. description: 商品id
  7098. type: integer
  7099. goodsname:
  7100. description: 商品名称
  7101. type: string
  7102. type: object
  7103. models.SearchGoods:
  7104. properties:
  7105. goodscode:
  7106. description: 商品代码(内部)
  7107. type: string
  7108. goodsid:
  7109. description: 商品ID(自增ID SEQ_GOODS)
  7110. type: integer
  7111. goodsname:
  7112. description: 商品名称
  7113. type: string
  7114. marketid:
  7115. description: 所属市场ID
  7116. type: integer
  7117. marketname:
  7118. description: 市场名称
  7119. type: string
  7120. trademode:
  7121. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7122. 21:竞拍-大宗式 22:受托竞价
  7123. type: integer
  7124. required:
  7125. - goodscode
  7126. - goodsid
  7127. - goodsname
  7128. - marketid
  7129. - trademode
  7130. type: object
  7131. models.Systemparam:
  7132. properties:
  7133. loginid:
  7134. description: 更新用户账号,登录账号
  7135. type: string
  7136. modifyflag:
  7137. description: 修改标志0 不允许修改 1 允许修改
  7138. type: integer
  7139. paramcode:
  7140. description: 参数代码
  7141. type: string
  7142. paramname:
  7143. description: 参数名
  7144. type: string
  7145. paramtype:
  7146. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7147. type: integer
  7148. paramvalue:
  7149. description: 参数值
  7150. type: string
  7151. paramvalue2:
  7152. description: 参数值(CLOB)
  7153. type: string
  7154. regexpress:
  7155. description: 正则表达式
  7156. type: string
  7157. remark:
  7158. description: 备注
  7159. type: string
  7160. serverip:
  7161. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7162. type: string
  7163. showflag:
  7164. description: 是否显示0 不显示 1 显示
  7165. type: integer
  7166. updatetime:
  7167. description: 更新时间
  7168. type: string
  7169. userid:
  7170. description: 更新用户ID
  7171. type: integer
  7172. required:
  7173. - paramcode
  7174. type: object
  7175. models.Szdz3convertconfig:
  7176. properties:
  7177. canin:
  7178. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7179. type: integer
  7180. canout:
  7181. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7182. type: integer
  7183. converttype:
  7184. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7185. 6:交易转花生米(不设置)
  7186. type: integer
  7187. createtime:
  7188. description: 创建时间
  7189. type: string
  7190. creatorid:
  7191. description: 创建人
  7192. type: integer
  7193. daymaxvalue:
  7194. description: 当日最大转入限制
  7195. type: number
  7196. freezedays:
  7197. description: 冻结天数 [5:花生米转交易]
  7198. type: integer
  7199. innergoodsid:
  7200. description: 内部商品ID[交易]
  7201. type: integer
  7202. inratio:
  7203. description: 目标值
  7204. type: integer
  7205. modifierid:
  7206. description: 修改人
  7207. type: integer
  7208. modifytime:
  7209. description: 修改时间
  7210. type: string
  7211. outergoodscode:
  7212. description: 外部商品代码[JD\PD]
  7213. type: string
  7214. outratio:
  7215. description: 源值
  7216. type: integer
  7217. pddecimalplace:
  7218. description: PD小数位
  7219. type: integer
  7220. timemaxvalue:
  7221. description: 单次最大转入限制
  7222. type: number
  7223. timeminvalue:
  7224. description: 单次最小转入限制
  7225. type: number
  7226. required:
  7227. - converttype
  7228. - innergoodsid
  7229. - outergoodscode
  7230. type: object
  7231. models.Szdz3searchwhitelist:
  7232. properties:
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. creatorid:
  7237. description: 创建人
  7238. type: integer
  7239. modifierid:
  7240. description: 修改人
  7241. type: integer
  7242. modifytime:
  7243. description: 修改时间
  7244. type: string
  7245. userid:
  7246. description: 用户ID
  7247. type: integer
  7248. required:
  7249. - userid
  7250. type: object
  7251. models.Taaccount:
  7252. properties:
  7253. accountflag:
  7254. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7255. type: integer
  7256. accountid:
  7257. description: 资金账户ID
  7258. type: integer
  7259. accountname:
  7260. description: 账户名称
  7261. type: string
  7262. balance:
  7263. description: 期初余额
  7264. type: number
  7265. capitalbalance:
  7266. description: 本金余额[外部子账户实际出入金余额]
  7267. type: number
  7268. changeflag:
  7269. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7270. type: integer
  7271. changetime:
  7272. description: 账户状态变更时间
  7273. type: string
  7274. closepl:
  7275. description: 今日平仓盈亏
  7276. type: number
  7277. creditdecrease:
  7278. description: 今日授信减少
  7279. type: number
  7280. creditincrease:
  7281. description: 今日授信增加
  7282. type: number
  7283. currencyid:
  7284. description: 货币ID
  7285. type: integer
  7286. currentbalance:
  7287. description: 期末余额
  7288. type: number
  7289. freezecharge:
  7290. description: 手续费冻结
  7291. type: number
  7292. freezemargin:
  7293. description: 冻结保证金
  7294. type: number
  7295. fromaccountid:
  7296. description: 所属上级账户
  7297. type: integer
  7298. inamount:
  7299. description: 今日入金金额(包括三方入金)
  7300. type: number
  7301. ismain:
  7302. description: 是否母账号 0:不是母账户 1:是母账户
  7303. type: integer
  7304. ismarketaccount:
  7305. description: 是否机构接单账号 0:不是 1:是
  7306. type: integer
  7307. isreckonaccount:
  7308. description: 是否机构分润账号 0:不是 1:是
  7309. type: integer
  7310. mortgagecredit:
  7311. description: 授信金额
  7312. type: number
  7313. orifreezecharge:
  7314. description: 期初手续费冻结
  7315. type: number
  7316. orifreezemargin:
  7317. description: 期初冻结保证金
  7318. type: number
  7319. orimortgagecredit:
  7320. description: 期初授信金额
  7321. type: number
  7322. oriothercredit:
  7323. description: 期初其它授信金额
  7324. type: number
  7325. oriotherfreezemargin:
  7326. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7327. type: number
  7328. orioutamountfreeze:
  7329. description: 期初出金冻结
  7330. type: number
  7331. oriusedmargin:
  7332. description: 期初占用保证金
  7333. type: number
  7334. othercredit:
  7335. description: 其它授信金额
  7336. type: number
  7337. othercreditdecrease:
  7338. description: 今日其它授信减少
  7339. type: number
  7340. othercreditincrease:
  7341. description: 今日其它授信增加
  7342. type: number
  7343. otherfreezemargin:
  7344. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7345. type: number
  7346. otherincome:
  7347. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7348. type: number
  7349. otherpay:
  7350. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7351. type: number
  7352. outamount:
  7353. description: 今日出金金额(包括三方出金)
  7354. type: number
  7355. outamountfreeze:
  7356. description: 出金冻结
  7357. type: number
  7358. outthreshold:
  7359. description: 出金阈值
  7360. type: number
  7361. parentaccountid:
  7362. description: 所属根账号
  7363. type: integer
  7364. paycharge:
  7365. description: 今日手续费支出
  7366. type: number
  7367. relatedaccountstatus:
  7368. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7369. type: integer
  7370. relateduserid:
  7371. description: 关联用户
  7372. type: integer
  7373. serivcegroup:
  7374. description: 服务分组
  7375. type: integer
  7376. signstatus:
  7377. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7378. type: integer
  7379. sublevelpath:
  7380. description: 账号层级路径(逗号分隔,首尾加逗号)
  7381. type: string
  7382. taaccounttype:
  7383. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7384. type: integer
  7385. thirdinamount:
  7386. description: 今日三方入金
  7387. type: number
  7388. thirdoutamount:
  7389. description: 今日三方出金
  7390. type: number
  7391. tradestatus:
  7392. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7393. type: integer
  7394. tradestatuschangetime:
  7395. description: 激活时间
  7396. type: string
  7397. transferamount:
  7398. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7399. type: number
  7400. usedmargin:
  7401. description: 占用保证金
  7402. type: number
  7403. userid:
  7404. description: 用户ID
  7405. type: integer
  7406. required:
  7407. - accountid
  7408. - userid
  7409. type: object
  7410. models.Tablecolumnconfig:
  7411. properties:
  7412. aligntype:
  7413. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7414. type: integer
  7415. autoid:
  7416. description: AutoID
  7417. type: integer
  7418. columnfield:
  7419. description: 列字段
  7420. type: string
  7421. columntitle:
  7422. description: 列Title
  7423. type: string
  7424. columnwidth:
  7425. description: 列宽
  7426. type: string
  7427. formatterstring:
  7428. description: 格式化字符
  7429. type: string
  7430. formattertype:
  7431. description: 格式化类型
  7432. type: string
  7433. groupname:
  7434. description: 表头分组名称
  7435. type: string
  7436. isshow:
  7437. description: 是否显示 - 0:不显示 1:显示
  7438. type: integer
  7439. needsummary:
  7440. description: 是否需要汇总 - 0:不需要 1:需要
  7441. type: integer
  7442. orderindex:
  7443. description: 顺序
  7444. type: integer
  7445. remark:
  7446. description: 备注
  7447. type: string
  7448. summarytype:
  7449. description: 汇总类型 - 1:加总 2:最后一个
  7450. type: integer
  7451. tablekey:
  7452. description: 列表Key
  7453. type: string
  7454. required:
  7455. - autoid
  7456. type: object
  7457. models.Useraccount:
  7458. properties:
  7459. accountname:
  7460. description: 账户名称(机构名称)
  7461. type: string
  7462. accountstatus:
  7463. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7464. type: integer
  7465. auditremark:
  7466. description: 审核备注
  7467. type: string
  7468. audittime:
  7469. description: 审核时间
  7470. type: string
  7471. audituserid:
  7472. description: 审核人
  7473. type: integer
  7474. broker:
  7475. description: 所属经纪人ID
  7476. type: integer
  7477. canceltime:
  7478. description: 销户时间
  7479. type: string
  7480. canceluserid:
  7481. description: 销户人
  7482. type: integer
  7483. createtime:
  7484. description: 创建时间
  7485. type: string
  7486. creatorid:
  7487. description: 创建人
  7488. type: integer
  7489. hasauth:
  7490. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7491. type: integer
  7492. isanonymous:
  7493. description: 是否匿名下单 - 0:否 1:是
  7494. type: integer
  7495. maxinvestornum:
  7496. description: 最大用户数(经纪会员下投资者个数)
  7497. type: integer
  7498. memberuserid:
  7499. description: 所属会员ID
  7500. type: integer
  7501. modifierid:
  7502. description: 修改人
  7503. type: integer
  7504. modifyremark:
  7505. description: 变更备注
  7506. type: string
  7507. modifystatus:
  7508. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7509. type: integer
  7510. modifytime:
  7511. description: 修改时间
  7512. type: string
  7513. parentuserid:
  7514. description: 所属机构ID
  7515. type: integer
  7516. reckonaccountid:
  7517. description: 默认结算资金账号ID(机构分润使用) 作废
  7518. type: integer
  7519. refercount:
  7520. description: 推荐总人数
  7521. type: integer
  7522. refereeuserid:
  7523. description: 推荐人ID
  7524. type: integer
  7525. refernum:
  7526. description: 推荐码
  7527. type: string
  7528. subarealevelpath:
  7529. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7530. type: string
  7531. userid:
  7532. description: 用户ID
  7533. type: integer
  7534. usertype:
  7535. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7536. type: integer
  7537. required:
  7538. - userid
  7539. type: object
  7540. models.Userfavoritegoods:
  7541. properties:
  7542. goodsid:
  7543. description: 商品ID
  7544. type: integer
  7545. required:
  7546. - goodsid
  7547. type: object
  7548. models.Userinfo:
  7549. properties:
  7550. address:
  7551. description: 地址
  7552. type: string
  7553. attachment1:
  7554. description: 附件1
  7555. type: string
  7556. attachment2:
  7557. description: 附件2
  7558. type: string
  7559. bankaccount:
  7560. description: 银行帐号 (加密存储)
  7561. type: string
  7562. bankaccountname:
  7563. description: 收款人名称
  7564. type: string
  7565. bankcardfrontphotourl:
  7566. description: 银行卡正面照地址
  7567. type: string
  7568. bankid:
  7569. description: 银行编码
  7570. type: string
  7571. bankname:
  7572. description: 银行名称
  7573. type: string
  7574. biznature:
  7575. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7576. type: integer
  7577. bizscope:
  7578. description: 企业经营范围(企业)
  7579. type: string
  7580. cardbackphotourl:
  7581. description: 证件背面图片地址
  7582. type: string
  7583. cardfrontphotourl:
  7584. description: 证件正面图片地址
  7585. type: string
  7586. cardnum:
  7587. description: 证件号码(加密存储)
  7588. type: string
  7589. cardtypeid:
  7590. description: 证件类型ID
  7591. type: integer
  7592. cityid:
  7593. description: 市
  7594. type: integer
  7595. company:
  7596. description: 公司(个人)
  7597. type: string
  7598. contactname:
  7599. description: 联系人
  7600. type: string
  7601. countryid:
  7602. description: 国家
  7603. type: integer
  7604. createtime:
  7605. description: 创建时间
  7606. type: string
  7607. creatorid:
  7608. description: 创建人
  7609. type: integer
  7610. customername:
  7611. description: 客户名称(企业名称)
  7612. type: string
  7613. districtid:
  7614. description: 地区
  7615. type: integer
  7616. email:
  7617. description: 邮件(加密存储)
  7618. type: string
  7619. fax:
  7620. description: 传真(加密存储)
  7621. type: string
  7622. halfbodyphotourl:
  7623. description: 半身照地址
  7624. type: string
  7625. hasencrypt:
  7626. description: 数据是否已加密 - 0:未加密 1:已加密
  7627. type: integer
  7628. headurl:
  7629. description: 头像地址
  7630. type: string
  7631. legalcardbackphotourl:
  7632. description: 法人身份证背面照地址
  7633. type: string
  7634. legalcardfrontphotourl:
  7635. description: 法人身份证正面照地址
  7636. type: string
  7637. legalpersonname:
  7638. description: 法人姓名(企业)
  7639. type: string
  7640. mobile:
  7641. description: 手机号码(加密存储)
  7642. type: string
  7643. mobile2:
  7644. description: 手机号码[明文-尚志]
  7645. type: string
  7646. modifierid:
  7647. description: 修改人
  7648. type: integer
  7649. modifiertime:
  7650. description: 修改时间
  7651. type: string
  7652. needinvoice:
  7653. description: 是否需要发票 - 0:不需要 1:需要
  7654. type: integer
  7655. nickname:
  7656. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7657. type: string
  7658. openmode:
  7659. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7660. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7661. type: integer
  7662. otherurl:
  7663. description: 其它图片地址[使用分号分隔]
  7664. type: string
  7665. postalcode:
  7666. description: 邮政编码
  7667. type: string
  7668. provinceid:
  7669. description: 省
  7670. type: integer
  7671. qq:
  7672. description: QQ(加密存储
  7673. type: string
  7674. remark:
  7675. description: 备注
  7676. type: string
  7677. sex:
  7678. description: '用户性别 0: 女 1: 男'
  7679. type: integer
  7680. signpdfurl:
  7681. description: 签约pdf文件
  7682. type: string
  7683. telphone:
  7684. description: 联系电话(加密存储)
  7685. type: string
  7686. userid:
  7687. description: 用户ID
  7688. type: integer
  7689. userinfotype:
  7690. description: 用户信息类型 - 1:个人 2:企业
  7691. type: integer
  7692. userstatus:
  7693. description: 用户状态 - 1:正常 2:注销
  7694. type: integer
  7695. usertype:
  7696. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7697. type: integer
  7698. wechat:
  7699. description: 微信(加密存储)
  7700. type: string
  7701. wskhinfo:
  7702. description: 开户申请信息(JSON)
  7703. type: string
  7704. required:
  7705. - userid
  7706. type: object
  7707. models.WRCategoryTree:
  7708. properties:
  7709. areauserid:
  7710. description: 所属机构
  7711. type: integer
  7712. categorydesc:
  7713. description: 类别描述
  7714. type: string
  7715. categoryid:
  7716. description: 类别ID(SEQ_WRCATEGORY)
  7717. type: integer
  7718. categoryname:
  7719. description: 类别名称
  7720. type: string
  7721. iconurl:
  7722. description: 图标地址
  7723. type: string
  7724. orderindex:
  7725. description: 顺序
  7726. type: integer
  7727. parentcategoryid:
  7728. description: 父类别ID
  7729. type: integer
  7730. subcategory:
  7731. description: 子分类
  7732. items:
  7733. $ref: '#/definitions/models.WRCategoryTree'
  7734. type: array
  7735. required:
  7736. - categoryid
  7737. type: object
  7738. models.WRSConverTDetail:
  7739. properties:
  7740. convertratio:
  7741. description: 套保系数
  7742. type: number
  7743. deliverygoodsid:
  7744. description: 现货品种ID
  7745. type: integer
  7746. middlegoodscode:
  7747. description: 套保品种代码
  7748. type: string
  7749. middlegoodsid:
  7750. description: 套保品种ID
  7751. type: integer
  7752. middlegoodsname:
  7753. description: 套保品种名称
  7754. type: string
  7755. modifytime:
  7756. description: 修改时间
  7757. type: string
  7758. wrstandardid:
  7759. description: 现货商品ID
  7760. type: integer
  7761. type: object
  7762. models.WRStandardInfo:
  7763. properties:
  7764. createtime:
  7765. description: 创建时间
  7766. type: string
  7767. creatorid:
  7768. description: 创建人
  7769. type: integer
  7770. deliverygoodsid:
  7771. description: 品种ID
  7772. type: integer
  7773. deliverygoodsname:
  7774. description: 交割商品名称
  7775. type: string
  7776. factoryitemjson:
  7777. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7778. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7779. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7780. 逗号分隔'
  7781. type: string
  7782. isvalid:
  7783. description: 是否有效 - 0:无效 1:有效
  7784. type: integer
  7785. minivalue:
  7786. description: 最小变动值
  7787. type: integer
  7788. minivaluedp:
  7789. description: 最小变动值小数位
  7790. type: integer
  7791. realminivalue:
  7792. description: 实际最小变动值
  7793. type: integer
  7794. realminivaluedp:
  7795. description: 实际最小变动值小数位
  7796. type: integer
  7797. unitid:
  7798. description: 单位ID
  7799. type: integer
  7800. unitname:
  7801. description: 单位
  7802. type: string
  7803. updatetime:
  7804. description: 更新时间
  7805. type: string
  7806. updatorid:
  7807. description: 更新人
  7808. type: integer
  7809. wrsstatus:
  7810. description: 状态 - 作废 - 0:未激活 1:正常
  7811. type: integer
  7812. wrstandardcode:
  7813. description: 仓单标准代码
  7814. type: string
  7815. wrstandardid:
  7816. description: 仓单标准ID(SEQ_WRSTANDARD)
  7817. type: integer
  7818. wrstandardname:
  7819. description: 仓单标准名称
  7820. type: string
  7821. required:
  7822. - wrstandardid
  7823. type: object
  7824. models.Warehouseinfo:
  7825. properties:
  7826. address:
  7827. description: 详细地址
  7828. type: string
  7829. areauserid:
  7830. description: 所属机构
  7831. type: integer
  7832. autoid:
  7833. description: 自增ID
  7834. type: integer
  7835. cityid:
  7836. description: 市
  7837. type: integer
  7838. contactname:
  7839. description: 联系人
  7840. type: string
  7841. contactnum:
  7842. description: 联系电话
  7843. type: string
  7844. countryid:
  7845. description: 国家
  7846. type: integer
  7847. createtime:
  7848. description: 创建时间
  7849. type: string
  7850. districtid:
  7851. description: 区
  7852. type: integer
  7853. hasvideo:
  7854. description: 是否有视频 - 0:无 1:有
  7855. type: integer
  7856. provinceid:
  7857. description: 省
  7858. type: integer
  7859. remark:
  7860. description: 审核备注
  7861. type: string
  7862. videourl:
  7863. description: 视频地址
  7864. type: string
  7865. warehousecode:
  7866. description: 仓库代码
  7867. type: string
  7868. warehousename:
  7869. description: 仓库名称
  7870. type: string
  7871. warehousestatus:
  7872. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7873. type: integer
  7874. warehousetype:
  7875. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7876. type: integer
  7877. required:
  7878. - autoid
  7879. - warehousecode
  7880. type: object
  7881. order.QueryHisTradeDetailRsp:
  7882. properties:
  7883. accountid:
  7884. description: 账户ID[报价币种]
  7885. type: integer
  7886. buildtype:
  7887. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7888. type: integer
  7889. buyorsell:
  7890. description: 方向 - 0:买 1:卖
  7891. type: integer
  7892. charge:
  7893. description: 手续费
  7894. type: number
  7895. closecharge:
  7896. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7897. type: number
  7898. closeexchagechargevalue:
  7899. description: 平仓交易所手续费设置值
  7900. type: number
  7901. closefeealgorithm:
  7902. description: 平仓手续费收取方式 1:比率 2:固定
  7903. type: integer
  7904. closememberchargevalue:
  7905. description: 平仓会员手续费设置值
  7906. type: number
  7907. closepl:
  7908. description: 平仓盈亏
  7909. type: number
  7910. closepl2:
  7911. description: 平仓盈亏[逐笔]
  7912. type: number
  7913. closeqty:
  7914. description: 平仓数量(先建后平操作 需要记录)
  7915. type: integer
  7916. creditamount:
  7917. description: 授信金额
  7918. type: number
  7919. gcaccountid:
  7920. description: 账户ID[合约币种]
  7921. type: integer
  7922. goodscode:
  7923. description: 商品代码
  7924. type: string
  7925. goodsid:
  7926. description: 商品ID
  7927. type: integer
  7928. goodsname:
  7929. description: 商品名称
  7930. type: string
  7931. histradedate:
  7932. description: 历史交易日
  7933. type: string
  7934. intclosepl:
  7935. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7936. type: integer
  7937. isconfirmexercise:
  7938. description: 是否确认行权- 0:否 1:是
  7939. type: integer
  7940. ismain:
  7941. description: 是否主单 - 0:不是 1:是
  7942. type: integer
  7943. ispreexercise:
  7944. description: 是否预申报- 0:否 1:是
  7945. type: integer
  7946. isreckoned:
  7947. description: 是否结算 - 0:未结算 1:已结算
  7948. type: integer
  7949. isvaliddata:
  7950. description: 是否有效 - 0:无效 1:有效
  7951. type: integer
  7952. listingselecttype:
  7953. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7954. type: integer
  7955. marketid:
  7956. description: 市场ID
  7957. type: integer
  7958. marketname:
  7959. description: 市场名称
  7960. type: string
  7961. matchaccountid:
  7962. description: 对手账号id
  7963. type: integer
  7964. memberuserid:
  7965. description: 会员id 个人投资者 需要填写
  7966. type: integer
  7967. opencharge:
  7968. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7969. type: number
  7970. openexchagechargevalue:
  7971. description: 建仓交易所手续费设置值
  7972. type: number
  7973. openfeealgorithm:
  7974. description: 建仓手续费收取方式 1:比率 2:固定
  7975. type: integer
  7976. openmemberchargevalue:
  7977. description: 建仓会员手续费设置值
  7978. type: number
  7979. openqty:
  7980. description: 开仓数量(先建后平操作 需要记录)
  7981. type: integer
  7982. optiontype:
  7983. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7984. type: integer
  7985. orderid:
  7986. description: 委托单号
  7987. type: string
  7988. performanceplanid:
  7989. description: 履约计划ID[期权]
  7990. type: integer
  7991. performancestatus:
  7992. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7993. type: integer
  7994. preexerciseprice:
  7995. description: 预申报价格
  7996. type: number
  7997. premium:
  7998. description: 权利金 - [持仓单的权利金]
  7999. type: number
  8000. relatedouttradeid:
  8001. description: 关联外部成交单ID
  8002. type: integer
  8003. status:
  8004. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8005. type: integer
  8006. tradeamount:
  8007. description: 成交金额[账户币种,用于所有权]
  8008. type: number
  8009. tradedate:
  8010. description: 交易日(yyyyMMdd)
  8011. type: string
  8012. tradeid:
  8013. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8014. type: string
  8015. trademode:
  8016. description: 交易模式
  8017. type: integer
  8018. tradeprice:
  8019. description: 成交价格
  8020. type: number
  8021. tradeproperty:
  8022. description: 交易属性
  8023. type: integer
  8024. tradeqty:
  8025. description: 成交数量
  8026. type: integer
  8027. tradetime:
  8028. description: 成交时间
  8029. type: string
  8030. tradetype:
  8031. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8032. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8033. type: integer
  8034. required:
  8035. - accountid
  8036. - buyorsell
  8037. - goodsid
  8038. - histradedate
  8039. - marketid
  8040. - memberuserid
  8041. - orderid
  8042. - tradeamount
  8043. - tradedate
  8044. - tradeid
  8045. - tradeprice
  8046. - tradeqty
  8047. - tradetime
  8048. type: object
  8049. order.QueryHisTradeOrderDetailRsp:
  8050. properties:
  8051. accountid:
  8052. description: 账户ID[报价币种]
  8053. type: integer
  8054. buildtype:
  8055. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8056. type: integer
  8057. buyorsell:
  8058. description: 买卖 - 0:买 1:卖
  8059. type: integer
  8060. cancelorderid:
  8061. description: 撤单单号(撤单时填写)
  8062. type: string
  8063. cancelqty:
  8064. description: 撤单数量
  8065. type: integer
  8066. clientordertime:
  8067. description: 客户端委托时间
  8068. type: string
  8069. clientticket:
  8070. description: 客户端流水号
  8071. type: string
  8072. clienttype:
  8073. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8074. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8075. type: integer
  8076. closeexchagechargevalue:
  8077. description: 平仓交易所手续费设置值
  8078. type: number
  8079. closefeealgorithm:
  8080. description: 平仓手续费收取方式 1:比率 2:固定
  8081. type: integer
  8082. closefreezecharge:
  8083. description: 平仓冻结手续费(先建后平操作,需要记录)
  8084. type: number
  8085. closememberchargevalue:
  8086. description: 平仓会员手续费设置值
  8087. type: number
  8088. closeqty:
  8089. description: 平仓数量(先建后平操作 需要记录)
  8090. type: integer
  8091. closetradeqty:
  8092. description: 平仓成交数量(先建后平操作,需要记录)
  8093. type: integer
  8094. closeunfreezecharge:
  8095. description: 平仓解冻手续费(先建后平操作,需要记录)
  8096. type: number
  8097. delistingtype:
  8098. description: 摘牌类型 - 1:价格最优 2:点选成交
  8099. type: integer
  8100. freezecharge:
  8101. description: 冻结手续费
  8102. type: number
  8103. freezemargin:
  8104. description: 冻结保证金(冻结交易金额)
  8105. type: number
  8106. gcaccountid:
  8107. description: 账户ID[合约币种]
  8108. type: integer
  8109. goodscode:
  8110. description: 商品代码
  8111. type: string
  8112. goodsid:
  8113. description: 商品ID
  8114. type: integer
  8115. goodsname:
  8116. description: 商品名称
  8117. type: string
  8118. histradedate:
  8119. description: 历史交易日
  8120. type: string
  8121. isconfirmexercise:
  8122. description: 是否确认行权- 0:否 1:是
  8123. type: integer
  8124. ispreexercise:
  8125. description: 是否预申报- 0:否 1:是
  8126. type: integer
  8127. isvaliddata:
  8128. description: 是否有效 - 0:无效 1:有效
  8129. type: integer
  8130. listingselecttype:
  8131. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8132. type: integer
  8133. marginalgorithm:
  8134. description: 保证金收取方式 1:比率 2:固定
  8135. type: integer
  8136. marginvalue:
  8137. description: 即市保证金设置值
  8138. type: number
  8139. marketid:
  8140. description: 市场ID
  8141. type: integer
  8142. marketmaxsub:
  8143. description: 市价最大偏移范围
  8144. type: number
  8145. marketname:
  8146. description: 市场名称
  8147. type: string
  8148. memberuserid:
  8149. description: 所属会员UserID
  8150. type: integer
  8151. openexchagechargevalue:
  8152. description: 建仓交易所手续费设置值
  8153. type: number
  8154. openfeealgorithm:
  8155. description: 建仓手续费收取方式 1:比率 2:固定
  8156. type: integer
  8157. openfreezecharge:
  8158. description: 开仓冻结手续费(先建后平操作,需要记录)
  8159. type: number
  8160. openmemberchargevalue:
  8161. description: 建仓会员手续费设置值
  8162. type: number
  8163. openqty:
  8164. description: 开仓数量(先建后平操作,需要记录)
  8165. type: integer
  8166. opentradeqty:
  8167. description: 开仓成交数量(先建后平操作,需要记录)
  8168. type: integer
  8169. openunfreezecharge:
  8170. description: 开仓解冻手续费(先建后平操作,需要记录)
  8171. type: number
  8172. operatetype:
  8173. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8174. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8175. 15:管理端协议转让
  8176. type: integer
  8177. operatorid:
  8178. description: 登录账号(LoginID)
  8179. type: integer
  8180. optiontype:
  8181. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8182. type: integer
  8183. orderid:
  8184. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8185. type: string
  8186. orderprice:
  8187. description: 委托价格
  8188. type: number
  8189. orderqty:
  8190. description: 委托数量
  8191. type: integer
  8192. ordersrc:
  8193. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8194. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8195. type: integer
  8196. orderstatus:
  8197. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8198. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8199. 16:成交失败违约(荷兰式竞拍专用)
  8200. type: integer
  8201. ordertime:
  8202. description: 委托时间
  8203. type: string
  8204. preexerciseprice:
  8205. description: 预申报价格
  8206. type: number
  8207. premium:
  8208. description: 权利金
  8209. type: number
  8210. preorderid:
  8211. description: 关联预埋单号(止盈止损单时填写)
  8212. type: string
  8213. pricemode:
  8214. description: '取价方式 - 1:市价 2: 限价'
  8215. type: integer
  8216. quoteid:
  8217. description: 报价单ID
  8218. type: integer
  8219. relatedid:
  8220. description: 关联单号(交割单)
  8221. type: string
  8222. retcode:
  8223. description: 错误代码
  8224. type: integer
  8225. sessionid:
  8226. description: 会话ID
  8227. type: integer
  8228. tradedate:
  8229. description: 交易日(yyyyMMdd)
  8230. type: string
  8231. trademode:
  8232. description: 交易模式
  8233. type: integer
  8234. tradeproperty:
  8235. description: 交易属性
  8236. type: integer
  8237. tradeqty:
  8238. description: 成交数量
  8239. type: integer
  8240. unfreezecharge:
  8241. description: 解冻手续费
  8242. type: number
  8243. unfreezemargin:
  8244. description: 解冻保证金
  8245. type: number
  8246. updatetime:
  8247. description: 更新时间
  8248. type: string
  8249. uuid:
  8250. description: 发起端唯一id
  8251. type: string
  8252. validtime:
  8253. description: 有效期限
  8254. type: string
  8255. validtype:
  8256. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8257. type: integer
  8258. volumetype:
  8259. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8260. type: integer
  8261. required:
  8262. - accountid
  8263. - buildtype
  8264. - buyorsell
  8265. - goodsid
  8266. - histradedate
  8267. - marketid
  8268. - memberuserid
  8269. - operatetype
  8270. - orderid
  8271. - orderqty
  8272. - ordertime
  8273. - pricemode
  8274. - tradedate
  8275. - validtype
  8276. type: object
  8277. order.QueryTradeDetailRsp:
  8278. properties:
  8279. accountid:
  8280. description: 账户ID[报价币种]
  8281. type: integer
  8282. buildtype:
  8283. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8284. type: integer
  8285. buyorsell:
  8286. description: 方向 - 0:买 1:卖
  8287. type: integer
  8288. charge:
  8289. description: 手续费
  8290. type: number
  8291. closecharge:
  8292. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8293. type: number
  8294. closeexchagechargevalue:
  8295. description: 平仓交易所手续费设置值
  8296. type: number
  8297. closefeealgorithm:
  8298. description: 平仓手续费收取方式 1:比率 2:固定
  8299. type: integer
  8300. closememberchargevalue:
  8301. description: 平仓会员手续费设置值
  8302. type: number
  8303. closepl:
  8304. description: 平仓盈亏
  8305. type: number
  8306. closepl2:
  8307. description: 平仓盈亏[逐笔]
  8308. type: number
  8309. closeqty:
  8310. description: 平仓数量(先建后平操作 需要记录)
  8311. type: integer
  8312. creditamount:
  8313. description: 授信金额
  8314. type: number
  8315. gcaccountid:
  8316. description: 账户ID[合约币种]
  8317. type: integer
  8318. goodscode:
  8319. description: 商品代码
  8320. type: string
  8321. goodsid:
  8322. description: 商品ID
  8323. type: integer
  8324. goodsname:
  8325. description: 商品名称
  8326. type: string
  8327. intclosepl:
  8328. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8329. type: integer
  8330. isconfirmexercise:
  8331. description: 是否确认行权- 0:否 1:是
  8332. type: integer
  8333. ismain:
  8334. description: 是否主单 - 0:不是 1:是
  8335. type: integer
  8336. ispreexercise:
  8337. description: 是否预申报- 0:否 1:是
  8338. type: integer
  8339. isreckoned:
  8340. description: 是否结算 - 0:未结算 1:已结算
  8341. type: integer
  8342. listingselecttype:
  8343. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8344. type: integer
  8345. marketid:
  8346. description: 市场ID
  8347. type: integer
  8348. marketname:
  8349. description: 市场名称
  8350. type: string
  8351. matchaccountid:
  8352. description: 对手账号id
  8353. type: integer
  8354. memberuserid:
  8355. description: 会员id 个人投资者 需要填写
  8356. type: integer
  8357. opencharge:
  8358. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8359. type: number
  8360. openexchagechargevalue:
  8361. description: 建仓交易所手续费设置值
  8362. type: number
  8363. openfeealgorithm:
  8364. description: 建仓手续费收取方式 1:比率 2:固定
  8365. type: integer
  8366. openmemberchargevalue:
  8367. description: 建仓会员手续费设置值
  8368. type: number
  8369. openqty:
  8370. description: 开仓数量(先建后平操作 需要记录)
  8371. type: integer
  8372. optiontype:
  8373. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8374. type: integer
  8375. orderid:
  8376. description: 委托单号
  8377. type: string
  8378. performanceplanid:
  8379. description: 履约计划ID[期权]
  8380. type: integer
  8381. performancestatus:
  8382. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8383. type: integer
  8384. preexerciseprice:
  8385. description: 预申报价格
  8386. type: number
  8387. premium:
  8388. description: 权利金 - [持仓单的权利金]
  8389. type: number
  8390. relatedouttradeid:
  8391. description: 关联外部成交单ID
  8392. type: integer
  8393. status:
  8394. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8395. type: integer
  8396. tradeamount:
  8397. description: 成交金额[账户币种,用于所有权]
  8398. type: number
  8399. tradedate:
  8400. description: 交易日(yyyyMMdd)
  8401. type: string
  8402. tradeid:
  8403. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8404. type: string
  8405. trademode:
  8406. description: 交易模式
  8407. type: integer
  8408. tradeprice:
  8409. description: 成交价格
  8410. type: number
  8411. tradeproperty:
  8412. description: 交易属性
  8413. type: integer
  8414. tradeqty:
  8415. description: 成交数量
  8416. type: integer
  8417. tradetime:
  8418. description: 成交时间
  8419. type: string
  8420. tradetype:
  8421. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8422. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8423. type: integer
  8424. required:
  8425. - accountid
  8426. - buyorsell
  8427. - goodsid
  8428. - marketid
  8429. - memberuserid
  8430. - orderid
  8431. - tradeamount
  8432. - tradedate
  8433. - tradeid
  8434. - tradeprice
  8435. - tradeqty
  8436. - tradetime
  8437. type: object
  8438. order.QueryTradeOrderDetailRsp:
  8439. properties:
  8440. accountid:
  8441. description: 账户ID[报价币种]
  8442. type: integer
  8443. buildtype:
  8444. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8445. type: integer
  8446. buyorsell:
  8447. description: 买卖 - 0:买 1:卖
  8448. type: integer
  8449. cancelorderid:
  8450. description: 撤单单号(撤单时填写)
  8451. type: string
  8452. cancelqty:
  8453. description: 撤单数量
  8454. type: integer
  8455. clienttype:
  8456. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8457. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8458. type: integer
  8459. closefreezecharge:
  8460. description: 平仓冻结手续费(先建后平操作,需要记录)
  8461. type: number
  8462. closeqty:
  8463. description: 平仓数量(先建后平操作 需要记录)
  8464. type: integer
  8465. closetradeqty:
  8466. description: 平仓成交数量(先建后平操作,需要记录)
  8467. type: integer
  8468. closeunfreezecharge:
  8469. description: 平仓解冻手续费(先建后平操作,需要记录)
  8470. type: number
  8471. delistingtype:
  8472. description: 摘牌类型 - 1:价格最优 2:点选成交
  8473. type: integer
  8474. enableqty:
  8475. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8476. type: integer
  8477. freezecharge:
  8478. description: 冻结手续费
  8479. type: number
  8480. freezemargin:
  8481. description: 冻结保证金(冻结交易金额)
  8482. type: number
  8483. goodscode:
  8484. description: 商品代码
  8485. type: string
  8486. goodsid:
  8487. description: 商品ID
  8488. type: integer
  8489. goodsname:
  8490. description: 商品名称
  8491. type: string
  8492. listingselecttype:
  8493. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8494. type: integer
  8495. marketid:
  8496. description: 市场ID
  8497. type: integer
  8498. marketname:
  8499. description: 市场名称
  8500. type: string
  8501. openfreezecharge:
  8502. description: 开仓冻结手续费(先建后平操作,需要记录)
  8503. type: number
  8504. openqty:
  8505. description: 开仓数量(先建后平操作,需要记录)
  8506. type: integer
  8507. opentradeqty:
  8508. description: 开仓成交数量(先建后平操作,需要记录)
  8509. type: integer
  8510. openunfreezecharge:
  8511. description: 开仓解冻手续费(先建后平操作,需要记录)
  8512. type: number
  8513. operatetype:
  8514. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8515. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8516. 15:管理端协议转让
  8517. type: integer
  8518. operatorid:
  8519. description: 登录账号(LoginID)
  8520. type: integer
  8521. orderid:
  8522. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8523. type: string
  8524. orderprice:
  8525. description: 委托价格
  8526. type: number
  8527. orderqty:
  8528. description: 委托数量
  8529. type: integer
  8530. ordersrc:
  8531. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8532. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8533. type: integer
  8534. orderstatus:
  8535. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8536. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8537. 16:成交失败违约(荷兰式竞拍专用)
  8538. type: integer
  8539. ordertime:
  8540. description: 委托时间
  8541. type: string
  8542. preorderid:
  8543. description: 关联预埋单号(止盈止损单时填写)
  8544. type: string
  8545. pricemode:
  8546. description: '取价方式 - 1:市价 2: 限价'
  8547. type: integer
  8548. relatedid:
  8549. description: 关联单号(交割单)
  8550. type: string
  8551. tradedate:
  8552. description: 交易日(yyyyMMdd)
  8553. type: string
  8554. trademode:
  8555. description: 交易模式
  8556. type: integer
  8557. tradeqty:
  8558. description: 成交数量
  8559. type: integer
  8560. unfreezecharge:
  8561. description: 解冻手续费
  8562. type: number
  8563. unfreezemargin:
  8564. description: 解冻保证金
  8565. type: number
  8566. validtime:
  8567. description: 有效期限
  8568. type: string
  8569. validtype:
  8570. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8571. type: integer
  8572. volumetype:
  8573. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8574. type: integer
  8575. required:
  8576. - accountid
  8577. - buildtype
  8578. - buyorsell
  8579. - goodsid
  8580. - marketid
  8581. - operatetype
  8582. - orderqty
  8583. - ordertime
  8584. - pricemode
  8585. - tradedate
  8586. - validtype
  8587. type: object
  8588. order.QueryTradePositionRsp:
  8589. properties:
  8590. accountid:
  8591. description: 资金账户
  8592. type: integer
  8593. agreeunit:
  8594. description: 合约单位
  8595. type: number
  8596. averageprice:
  8597. description: 持仓均价
  8598. type: number
  8599. buyorsell:
  8600. description: 方向 - 0:买 1:卖
  8601. type: integer
  8602. closetotalqty:
  8603. description: 平仓总数量
  8604. type: integer
  8605. curholderamount:
  8606. description: 当前持仓总金额[商品币种]
  8607. type: number
  8608. curpositionqty:
  8609. description: 当前持仓总数量
  8610. type: integer
  8611. currencyid:
  8612. description: 报价货币ID
  8613. type: integer
  8614. curtdposition:
  8615. description: 期末今日头寸
  8616. type: integer
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. enableqty:
  8621. description: 可用量
  8622. type: integer
  8623. fretdposition:
  8624. description: 冻结今日头寸
  8625. type: integer
  8626. frozenqty:
  8627. description: 持仓冻结数量
  8628. type: integer
  8629. goodscode:
  8630. description: 商品代码
  8631. type: string
  8632. goodsid:
  8633. description: 商品Id
  8634. type: integer
  8635. goodsname:
  8636. description: 商品名称
  8637. type: string
  8638. goodunit:
  8639. description: 报价单位
  8640. type: string
  8641. goodunitid:
  8642. description: 报价单位ID
  8643. type: integer
  8644. holderamount:
  8645. description: 期初持仓总金额[商品币种]
  8646. type: number
  8647. marketid:
  8648. description: 所属市场ID
  8649. type: integer
  8650. openreqqty:
  8651. description: 开仓申请数量(用于比较最大持仓数量)
  8652. type: integer
  8653. opentotalqty:
  8654. description: 开仓总数量
  8655. type: integer
  8656. otherfrozenqty:
  8657. description: 持仓其他冻结数量(交割冻结)
  8658. type: integer
  8659. positionqty:
  8660. description: 期初持仓数量
  8661. type: integer
  8662. tnqty:
  8663. description: T+N冻结总量
  8664. type: integer
  8665. tnusedqty:
  8666. description: T+N使用量(可以使用T+N的冻结数量)
  8667. type: integer
  8668. trademode:
  8669. description: 交易模式
  8670. type: integer
  8671. usedmargin:
  8672. description: 占用保证金[商品币种]
  8673. type: number
  8674. required:
  8675. - goodsid
  8676. type: object
  8677. quote.HistoryData:
  8678. properties:
  8679. c:
  8680. description: 收盘价
  8681. type: number
  8682. f:
  8683. description: 是否补充数据
  8684. type: boolean
  8685. h:
  8686. description: 最高价
  8687. type: number
  8688. hv:
  8689. description: 持仓量
  8690. type: integer
  8691. l:
  8692. description: 最低价
  8693. type: number
  8694. o:
  8695. description: 开盘价
  8696. type: number
  8697. s:
  8698. description: 结算价,日线周期(包括)以上才有
  8699. type: number
  8700. ts:
  8701. description: 时间
  8702. type: string
  8703. tt:
  8704. description: 总金额
  8705. type: number
  8706. tv:
  8707. description: 总量
  8708. type: integer
  8709. type: object
  8710. quote.HistoryTikData:
  8711. properties:
  8712. AV:
  8713. description: 卖量
  8714. type: integer
  8715. Ask:
  8716. description: 卖价
  8717. type: number
  8718. BV:
  8719. description: 买量
  8720. type: integer
  8721. Bid:
  8722. description: 买价
  8723. type: number
  8724. HI:
  8725. description: 单笔持仓
  8726. type: integer
  8727. HV:
  8728. description: 持仓量
  8729. type: integer
  8730. PE:
  8731. description: 现价
  8732. type: number
  8733. TDR:
  8734. description: 交易方向,0:买 1:卖
  8735. type: integer
  8736. TK:
  8737. description: 交易类型
  8738. type: integer
  8739. TS:
  8740. description: 行情时间文本
  8741. type: string
  8742. TT:
  8743. description: 现金额
  8744. type: number
  8745. Vol:
  8746. description: 现量
  8747. type: integer
  8748. type: object
  8749. quote.QueryQuoteDayRsp:
  8750. properties:
  8751. ask:
  8752. description: 卖1
  8753. type: number
  8754. ask2:
  8755. description: 卖2
  8756. type: number
  8757. ask3:
  8758. description: 卖3
  8759. type: number
  8760. ask4:
  8761. description: 卖4
  8762. type: number
  8763. ask5:
  8764. description: 卖5
  8765. type: number
  8766. ask6:
  8767. description: 卖6
  8768. type: number
  8769. ask7:
  8770. description: 卖7
  8771. type: number
  8772. ask8:
  8773. description: 卖8
  8774. type: number
  8775. ask9:
  8776. description: 卖9
  8777. type: number
  8778. ask10:
  8779. description: 卖10
  8780. type: number
  8781. askorderid:
  8782. description: 卖单号1
  8783. type: integer
  8784. askorderid2:
  8785. description: 卖单号2
  8786. type: integer
  8787. askorderid3:
  8788. description: 卖单号3
  8789. type: integer
  8790. askorderid4:
  8791. description: 卖单号4
  8792. type: integer
  8793. askorderid5:
  8794. description: 卖单号5
  8795. type: integer
  8796. askordervolume:
  8797. description: 卖单量1
  8798. type: integer
  8799. askordervolume2:
  8800. description: 卖单量2
  8801. type: integer
  8802. askordervolume3:
  8803. description: 卖单量3
  8804. type: integer
  8805. askordervolume4:
  8806. description: 卖单量4
  8807. type: integer
  8808. askordervolume5:
  8809. description: 卖单量5
  8810. type: integer
  8811. askordervolume6:
  8812. description: 卖单量6
  8813. type: integer
  8814. askordervolume7:
  8815. description: 卖单量7
  8816. type: integer
  8817. askordervolume8:
  8818. description: 卖单量8
  8819. type: integer
  8820. askordervolume9:
  8821. description: 卖单量9
  8822. type: integer
  8823. askordervolume10:
  8824. description: 卖单量10
  8825. type: integer
  8826. askqueueinfo:
  8827. description: 大利市卖港股用
  8828. type: string
  8829. askvolume:
  8830. description: 卖量1
  8831. type: integer
  8832. askvolume2:
  8833. description: 卖量2
  8834. type: integer
  8835. askvolume3:
  8836. description: 卖量3
  8837. type: integer
  8838. askvolume4:
  8839. description: 卖量4
  8840. type: integer
  8841. askvolume5:
  8842. description: 卖量5
  8843. type: integer
  8844. askvolume6:
  8845. description: 卖量6
  8846. type: integer
  8847. askvolume7:
  8848. description: 卖量7
  8849. type: integer
  8850. askvolume8:
  8851. description: 卖量8
  8852. type: integer
  8853. askvolume9:
  8854. description: 卖量9
  8855. type: integer
  8856. askvolume10:
  8857. description: 卖量10
  8858. type: integer
  8859. averageprice:
  8860. description: 均价
  8861. type: number
  8862. bid:
  8863. description: 买1
  8864. type: number
  8865. bid2:
  8866. description: 买2
  8867. type: number
  8868. bid3:
  8869. description: 买3
  8870. type: number
  8871. bid4:
  8872. description: 买4
  8873. type: number
  8874. bid5:
  8875. description: 买5
  8876. type: number
  8877. bid6:
  8878. description: 买6
  8879. type: number
  8880. bid7:
  8881. description: 买7
  8882. type: number
  8883. bid8:
  8884. description: 买8
  8885. type: number
  8886. bid9:
  8887. description: 买9
  8888. type: number
  8889. bid10:
  8890. description: 买10
  8891. type: number
  8892. bidorderid:
  8893. description: 买单号1
  8894. type: integer
  8895. bidorderid2:
  8896. description: 买单号2
  8897. type: integer
  8898. bidorderid3:
  8899. description: 买单号3
  8900. type: integer
  8901. bidorderid4:
  8902. description: 买单号4
  8903. type: integer
  8904. bidorderid5:
  8905. description: 买单号5
  8906. type: integer
  8907. bidordervolume:
  8908. description: 买单量1
  8909. type: integer
  8910. bidordervolume2:
  8911. description: 买单量2
  8912. type: integer
  8913. bidordervolume3:
  8914. description: 买单量3
  8915. type: integer
  8916. bidordervolume4:
  8917. description: 买单量4
  8918. type: integer
  8919. bidordervolume5:
  8920. description: 买单量5
  8921. type: integer
  8922. bidordervolume6:
  8923. description: 买单量6
  8924. type: integer
  8925. bidordervolume7:
  8926. description: 买单量7
  8927. type: integer
  8928. bidordervolume8:
  8929. description: 买单量8
  8930. type: integer
  8931. bidordervolume9:
  8932. description: 买单量9
  8933. type: integer
  8934. bidordervolume10:
  8935. description: 买单量10
  8936. type: integer
  8937. bidqueueinfo:
  8938. description: 大利市买港股用
  8939. type: string
  8940. bidvolume:
  8941. description: 买量1
  8942. type: integer
  8943. bidvolume2:
  8944. description: 买量2
  8945. type: integer
  8946. bidvolume3:
  8947. description: 买量3
  8948. type: integer
  8949. bidvolume4:
  8950. description: 买量4
  8951. type: integer
  8952. bidvolume5:
  8953. description: 买量5
  8954. type: integer
  8955. bidvolume6:
  8956. description: 买量6
  8957. type: integer
  8958. bidvolume7:
  8959. description: 买量7
  8960. type: integer
  8961. bidvolume8:
  8962. description: 买量8
  8963. type: integer
  8964. bidvolume9:
  8965. description: 买量9
  8966. type: integer
  8967. bidvolume10:
  8968. description: 买量10
  8969. type: integer
  8970. calloptionpremiums:
  8971. description: 认购期权1
  8972. type: integer
  8973. calloptionpremiums2:
  8974. description: 认购期权2
  8975. type: integer
  8976. calloptionpremiums3:
  8977. description: 认购期权3
  8978. type: integer
  8979. calloptionpremiums4:
  8980. description: 认购期权4
  8981. type: integer
  8982. calloptionpremiums5:
  8983. description: 认购期权5
  8984. type: integer
  8985. cleartime:
  8986. description: 清盘时间
  8987. type: integer
  8988. exchangecode:
  8989. description: 交易所代码
  8990. type: integer
  8991. exchangedate:
  8992. description: 交易日
  8993. type: integer
  8994. goodscode:
  8995. description: 商品代码
  8996. type: string
  8997. grepmarketprice:
  8998. description: 暗盘价 港股专用
  8999. type: number
  9000. highest:
  9001. description: 最高价
  9002. type: number
  9003. holdincrement:
  9004. description: 单笔持仓
  9005. type: integer
  9006. holdvolume:
  9007. description: 持仓
  9008. type: integer
  9009. iep:
  9010. description: 平衡价 港股专用
  9011. type: number
  9012. iev:
  9013. description: 平衡量 港股专用
  9014. type: number
  9015. inventory:
  9016. description: 库存
  9017. type: integer
  9018. iscleared:
  9019. description: 是否清盘标志
  9020. type: integer
  9021. issettled:
  9022. description: 是否结算标志
  9023. type: integer
  9024. last:
  9025. description: 最新价
  9026. type: number
  9027. lastlot:
  9028. description: 最新成交手数
  9029. type: integer
  9030. lasttime:
  9031. description: 行情时间(只有现价变化行情时间才变化)
  9032. type: string
  9033. lastturnover:
  9034. description: 最新成交金额
  9035. type: number
  9036. lastvolume:
  9037. description: 最新成交量
  9038. type: integer
  9039. limitdown:
  9040. description: 跌停价
  9041. type: number
  9042. limitup:
  9043. description: 涨停价
  9044. type: number
  9045. lowest:
  9046. description: 最低价
  9047. type: number
  9048. nontotalholdervolume:
  9049. description: 非交易持仓量
  9050. type: integer
  9051. nontotallot:
  9052. description: 非交易总手数
  9053. type: integer
  9054. nontotalturnover:
  9055. description: 非交易总金额
  9056. type: integer
  9057. nontotalvolume:
  9058. description: 非交易总量
  9059. type: integer
  9060. opened:
  9061. description: 开盘价
  9062. type: number
  9063. opentime:
  9064. description: 开盘时间
  9065. type: string
  9066. orderid:
  9067. description: 序号
  9068. type: integer
  9069. preclose:
  9070. description: 昨收
  9071. type: number
  9072. preholdvolume:
  9073. description: 昨持仓
  9074. type: integer
  9075. presettle:
  9076. description: 昨结价
  9077. type: number
  9078. publictradetype:
  9079. description: 公共交易标志类型 港股专用
  9080. type: string
  9081. putoptionpremiums:
  9082. description: 认沽期权1
  9083. type: integer
  9084. putoptionpremiums2:
  9085. description: 认沽期权2
  9086. type: integer
  9087. putoptionpremiums3:
  9088. description: 认沽期权3
  9089. type: integer
  9090. putoptionpremiums4:
  9091. description: 认沽期权4
  9092. type: integer
  9093. putoptionpremiums5:
  9094. description: 认沽期权5
  9095. type: integer
  9096. settle:
  9097. description: 结算价
  9098. type: number
  9099. strikeprice:
  9100. description: 发行价
  9101. type: number
  9102. totalaskvolume:
  9103. description: 内盘
  9104. type: integer
  9105. totalbidvolume:
  9106. description: 外盘
  9107. type: integer
  9108. totallot:
  9109. description: 总手数
  9110. type: integer
  9111. totalturnover:
  9112. description: 总金额
  9113. type: number
  9114. totalvolume:
  9115. description: 总量
  9116. type: integer
  9117. utclasttime:
  9118. description: utc的行情时间
  9119. type: string
  9120. type: object
  9121. quote.QueryTSDataRsp:
  9122. properties:
  9123. decimalPlace:
  9124. description: 小数位
  9125. type: integer
  9126. endTime:
  9127. description: 结束时间
  9128. type: string
  9129. goodsCode:
  9130. description: 商品代码
  9131. type: string
  9132. historyDatas:
  9133. description: 历史数据
  9134. items:
  9135. $ref: '#/definitions/quote.HistoryData'
  9136. type: array
  9137. outGoodsCode:
  9138. description: 外部商品代码
  9139. type: string
  9140. preSettle:
  9141. description: 昨结价
  9142. type: number
  9143. startTime:
  9144. description: 开始时间
  9145. type: string
  9146. tradeDate:
  9147. description: 交易日
  9148. type: string
  9149. type: object
  9150. szdz.QueryConvertLogRsp:
  9151. properties:
  9152. accountid:
  9153. description: 资金账户ID
  9154. type: integer
  9155. clientticket:
  9156. description: 客户端流水号
  9157. type: string
  9158. converttype:
  9159. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9160. type: integer
  9161. createtime:
  9162. description: 记账时间
  9163. type: string
  9164. daymaxvalue:
  9165. description: 配置当日最大转入限制
  9166. type: number
  9167. daymaxvalue2:
  9168. description: 配置当日最大转入限制(转入)
  9169. type: number
  9170. goodscode:
  9171. description: 商品代码
  9172. type: string
  9173. goodsname:
  9174. description: 商品名称
  9175. type: string
  9176. handlestatus:
  9177. description: 处理状态
  9178. type: integer
  9179. innergoodsid:
  9180. description: 内部商品ID
  9181. type: integer
  9182. inratio:
  9183. description: 配置转入比值
  9184. type: integer
  9185. invalue:
  9186. description: 目标值
  9187. type: number
  9188. logid:
  9189. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9190. type: integer
  9191. mobile:
  9192. description: 手机号码(加密存储)
  9193. type: string
  9194. outergoodscode:
  9195. description: 外部商品代码[JD\PD]
  9196. type: string
  9197. outratio:
  9198. description: 配置转出比值
  9199. type: integer
  9200. outvalue:
  9201. description: 源值
  9202. type: number
  9203. pddecimalplace:
  9204. description: PD小数位
  9205. type: integer
  9206. qty:
  9207. description: 数量
  9208. type: string
  9209. remark:
  9210. description: 备注
  9211. type: string
  9212. sessionid:
  9213. description: 会话ID
  9214. type: integer
  9215. timemaxvalue:
  9216. description: 配置单次最大转入限制
  9217. type: number
  9218. timemaxvalue2:
  9219. description: 配置单次最大转入限制(转入)
  9220. type: number
  9221. timeminvalue:
  9222. description: 配置单次最小数量限制
  9223. type: number
  9224. timeminvalue2:
  9225. description: 配置单次最小数量限制(转入)
  9226. type: number
  9227. tradedate:
  9228. description: 交易日(yyyyMMdd)
  9229. type: string
  9230. userid:
  9231. description: 用户ID
  9232. type: integer
  9233. required:
  9234. - logid
  9235. type: object
  9236. szdz.QueryGoodsPickupRsp:
  9237. properties:
  9238. accountid:
  9239. description: 账户ID
  9240. type: integer
  9241. address:
  9242. description: 提货人详细地址
  9243. type: string
  9244. auditer:
  9245. description: 审核人
  9246. type: integer
  9247. audittime:
  9248. description: 审核时间
  9249. type: string
  9250. cardnum:
  9251. description: 提货人证件号码
  9252. type: string
  9253. cardtypeid:
  9254. description: 提货人证件类型
  9255. type: integer
  9256. checkremark:
  9257. description: 审核备注
  9258. type: string
  9259. goodscode:
  9260. description: 商品代码
  9261. type: string
  9262. goodsid:
  9263. description: 商品ID
  9264. type: integer
  9265. goodsname:
  9266. description: 商品名称
  9267. type: string
  9268. handlestatus:
  9269. description: 处理状态
  9270. type: integer
  9271. marketid:
  9272. description: 市场ID
  9273. type: integer
  9274. phonenum:
  9275. description: 提货人联系方式
  9276. type: string
  9277. qty:
  9278. description: 提货数量
  9279. type: number
  9280. recivername:
  9281. description: 提货人姓名
  9282. type: string
  9283. reqtime:
  9284. description: 更新时间
  9285. type: string
  9286. takemode:
  9287. description: 提货方式 - 2:自提 3:配送
  9288. type: integer
  9289. takeorderid:
  9290. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9291. type: string
  9292. takeorderstatus:
  9293. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9294. type: integer
  9295. takeremark:
  9296. description: 提货备注
  9297. type: string
  9298. tradedate:
  9299. description: 交易日(yyyyMMdd)
  9300. type: string
  9301. userid:
  9302. description: 用户ID
  9303. type: integer
  9304. required:
  9305. - takeorderid
  9306. type: object
  9307. szdz.QueryRecieptOrderRsp:
  9308. properties:
  9309. accountName:
  9310. description: 所属账号名称(已脱敏)
  9311. type: string
  9312. accountid:
  9313. description: 资金账号
  9314. type: integer
  9315. buyorsell:
  9316. description: 方向 - 0:买 1:卖
  9317. type: integer
  9318. enableqty:
  9319. description: 可摘数量
  9320. type: integer
  9321. goodscode:
  9322. description: 商品代码
  9323. type: string
  9324. goodsid:
  9325. description: 商品ID
  9326. type: integer
  9327. goodsname:
  9328. description: 商品名称
  9329. type: string
  9330. orderid:
  9331. description: 委托单号
  9332. type: string
  9333. orderprice:
  9334. description: 委托价格
  9335. type: number
  9336. ordertime:
  9337. description: 委托时间
  9338. type: string
  9339. tradedate:
  9340. description: 交易日(yyyyMMdd)
  9341. type: string
  9342. required:
  9343. - ordertime
  9344. type: object
  9345. szdz.QuerySZDZTradePositionRsp:
  9346. properties:
  9347. accountid:
  9348. description: 账号Id
  9349. type: integer
  9350. agreeunit:
  9351. description: 合约单位
  9352. type: number
  9353. averageprice:
  9354. description: 持仓均价
  9355. type: number
  9356. buyorsell:
  9357. description: 方向 - 0:买 1:卖
  9358. type: integer
  9359. closetotalqty:
  9360. description: 平仓总数量
  9361. type: integer
  9362. curholderamount:
  9363. description: 当前持仓总金额
  9364. type: number
  9365. curpositionqty:
  9366. description: 当前持仓总数量
  9367. type: integer
  9368. currencyid:
  9369. description: 报价货币ID
  9370. type: integer
  9371. curtdposition:
  9372. description: 期末今日头寸
  9373. type: integer
  9374. decimalplace:
  9375. description: 报价小数位
  9376. type: integer
  9377. enableqty:
  9378. description: 可用量
  9379. type: integer
  9380. fretdposition:
  9381. description: 冻结今日头寸
  9382. type: integer
  9383. frozenqty:
  9384. description: 持仓冻结数量
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品Id
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. goodunit:
  9396. description: 报价单位
  9397. type: string
  9398. goodunitid:
  9399. description: 报价单位ID
  9400. type: integer
  9401. holderamount:
  9402. description: 期初持仓总金额
  9403. type: number
  9404. marketid:
  9405. description: 市场ID
  9406. type: integer
  9407. openreqqty:
  9408. description: 开仓申请数量
  9409. type: integer
  9410. opentotalqty:
  9411. description: 开仓总数量
  9412. type: integer
  9413. otherfrozenqty:
  9414. description: 持仓其他冻结数量(交割冻结)
  9415. type: integer
  9416. positionqty:
  9417. description: 期初持仓数量
  9418. type: integer
  9419. szdz3freezqty:
  9420. description: 尚志大宗转换冻结总数量
  9421. type: integer
  9422. tnqty:
  9423. description: T+N冻结总量
  9424. type: integer
  9425. tnusedqty:
  9426. description: T+N使用量
  9427. type: integer
  9428. trademode:
  9429. description: 交易模式
  9430. type: integer
  9431. usedmargin:
  9432. description: 占用保证金
  9433. type: number
  9434. type: object
  9435. taaccount.QueryAmountLogRsp:
  9436. properties:
  9437. OPERATETYPENAME:
  9438. description: 资金操作类型名称
  9439. type: string
  9440. accountid:
  9441. description: 资金账户ID
  9442. type: integer
  9443. agoodscode:
  9444. description: 竞拍商品代码
  9445. type: string
  9446. agoodsname:
  9447. description: 竞拍商品名称
  9448. type: string
  9449. amount:
  9450. description: 资金金额
  9451. type: number
  9452. amountadjusttype:
  9453. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9454. type: integer
  9455. autoid:
  9456. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9457. type: integer
  9458. balance:
  9459. description: 期初余额
  9460. type: number
  9461. businesscode:
  9462. description: 业务编号
  9463. type: integer
  9464. createtime:
  9465. description: 发生时间
  9466. type: string
  9467. currencyid:
  9468. description: 币种ID
  9469. type: integer
  9470. currentbalance:
  9471. description: 期末余额(变动后金额)
  9472. type: number
  9473. dgoodscode:
  9474. description: 交割商品代码
  9475. type: string
  9476. dgoodsname:
  9477. description: 交割商品名称
  9478. type: string
  9479. goodscode:
  9480. description: 商品代码
  9481. type: string
  9482. goodsid:
  9483. description: 商品ID
  9484. type: integer
  9485. goodsname:
  9486. description: 商品名称
  9487. type: string
  9488. marketid:
  9489. description: 市场ID
  9490. type: integer
  9491. marketname:
  9492. description: 市场名称
  9493. type: string
  9494. moneyticket:
  9495. description: 资金流水号:银行端流水号
  9496. type: integer
  9497. operatetype:
  9498. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9499. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9500. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9501. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9502. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9503. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9504. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9505. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9506. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9507. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9508. type: integer
  9509. relationorderid:
  9510. description: 关联单号
  9511. type: string
  9512. remark:
  9513. description: 备注
  9514. type: string
  9515. trademode:
  9516. description: 交易模式
  9517. type: integer
  9518. required:
  9519. - accountid
  9520. - amount
  9521. - amountadjusttype
  9522. - autoid
  9523. - balance
  9524. - createtime
  9525. - currentbalance
  9526. - operatetype
  9527. type: object
  9528. taaccount.QueryHisAmountLogRsp:
  9529. properties:
  9530. OPERATETYPENAME:
  9531. description: 资金操作类型名称
  9532. type: string
  9533. accountid:
  9534. description: 资金账户ID
  9535. type: integer
  9536. agoodscode:
  9537. description: 竞拍商品代码
  9538. type: string
  9539. agoodsname:
  9540. description: 竞拍商品名称
  9541. type: string
  9542. amount:
  9543. description: 资金金额
  9544. type: number
  9545. amountadjusttype:
  9546. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9547. type: integer
  9548. autoid:
  9549. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9550. type: integer
  9551. balance:
  9552. description: 期初余额
  9553. type: number
  9554. businesscode:
  9555. description: 业务编号
  9556. type: integer
  9557. createtime:
  9558. description: 发生时间
  9559. type: string
  9560. currencyid:
  9561. description: 币种ID
  9562. type: integer
  9563. currentbalance:
  9564. description: 期末余额(变动后金额)
  9565. type: number
  9566. dgoodscode:
  9567. description: 交割商品代码
  9568. type: string
  9569. dgoodsname:
  9570. description: 交割商品名称
  9571. type: string
  9572. goodscode:
  9573. description: 商品代码
  9574. type: string
  9575. goodsid:
  9576. description: 商品ID
  9577. type: integer
  9578. goodsname:
  9579. description: 商品名称
  9580. type: string
  9581. histradedate:
  9582. description: 历史交易日
  9583. type: string
  9584. isvaliddata:
  9585. description: 是否有效 - 0:无效 1:有效
  9586. type: integer
  9587. marketid:
  9588. description: 市场ID
  9589. type: integer
  9590. marketname:
  9591. description: 市场名称
  9592. type: string
  9593. moneyticket:
  9594. description: 资金流水号:银行端流水号
  9595. type: integer
  9596. operatetype:
  9597. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9598. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9599. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9600. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9601. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9602. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9603. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9604. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9605. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9606. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9607. type: integer
  9608. relationorderid:
  9609. description: 关联单号
  9610. type: string
  9611. remark:
  9612. description: 备注
  9613. type: string
  9614. trademode:
  9615. description: 交易模式
  9616. type: integer
  9617. required:
  9618. - accountid
  9619. - amount
  9620. - amountadjusttype
  9621. - autoid
  9622. - balance
  9623. - createtime
  9624. - currentbalance
  9625. - histradedate
  9626. - operatetype
  9627. type: object
  9628. trade.QueryRecieptOrderRsp:
  9629. properties:
  9630. accountName:
  9631. description: 所属账号名称(已脱敏)
  9632. type: string
  9633. accountid:
  9634. description: 资金账号
  9635. type: integer
  9636. buyorsell:
  9637. description: 方向 - 0:买 1:卖
  9638. type: integer
  9639. enableqty:
  9640. description: 可摘数量
  9641. type: integer
  9642. goodscode:
  9643. description: 商品代码
  9644. type: string
  9645. goodsid:
  9646. description: 商品ID
  9647. type: integer
  9648. goodsname:
  9649. description: 商品名称
  9650. type: string
  9651. orderid:
  9652. description: 委托单号
  9653. type: string
  9654. orderprice:
  9655. description: 委托价格
  9656. type: number
  9657. ordertime:
  9658. description: 委托时间
  9659. type: string
  9660. tradedate:
  9661. description: 交易日(yyyyMMdd)
  9662. type: string
  9663. required:
  9664. - ordertime
  9665. type: object
  9666. user.LoginQueryRsp:
  9667. properties:
  9668. externalExchanges:
  9669. description: 外部交易所
  9670. items:
  9671. $ref: '#/definitions/models.Externalexchange'
  9672. type: array
  9673. goodsgroups:
  9674. description: 商品组
  9675. items:
  9676. $ref: '#/definitions/models.Goodsgroup'
  9677. type: array
  9678. loginAccount:
  9679. $ref: '#/definitions/models.Loginaccount'
  9680. description: 登录账号
  9681. type: object
  9682. markets:
  9683. description: 市场
  9684. items:
  9685. $ref: '#/definitions/models.Market'
  9686. type: array
  9687. systemParams:
  9688. description: 系统参数
  9689. items:
  9690. $ref: '#/definitions/models.Systemparam'
  9691. type: array
  9692. userAccount:
  9693. $ref: '#/definitions/models.Useraccount'
  9694. description: 用户账号
  9695. type: object
  9696. userInfo:
  9697. $ref: '#/definitions/models.Userinfo'
  9698. description: 用户信息
  9699. type: object
  9700. username:
  9701. description: 用户姓名
  9702. type: string
  9703. type: object
  9704. info:
  9705. contact: {}
  9706. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9707. license: {}
  9708. termsOfService: http://muchinfo.cn
  9709. title: MTP2.0 查询服务 API
  9710. version: "1.0"
  9711. paths:
  9712. /CPTrade/QueryCPTradeMyBidInfos:
  9713. get:
  9714. parameters:
  9715. - description: 资金账户
  9716. in: query
  9717. name: accountid
  9718. required: true
  9719. type: integer
  9720. - description: 预售市场ID
  9721. in: query
  9722. name: marketid
  9723. type: integer
  9724. - description: 预售商品ID
  9725. in: query
  9726. name: goodsid
  9727. type: integer
  9728. produces:
  9729. - application/json
  9730. responses:
  9731. "200":
  9732. description: OK
  9733. schema:
  9734. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9735. "500":
  9736. description: Internal Server Error
  9737. schema:
  9738. $ref: '#/definitions/app.Response'
  9739. security:
  9740. - ApiKeyAuth: []
  9741. summary: 查询产能预售我的出价信息
  9742. tags:
  9743. - 产能预售
  9744. /CPTrade/QueryCPTradeOrderDetail:
  9745. get:
  9746. parameters:
  9747. - description: 预售商品ID
  9748. in: query
  9749. name: goodsid
  9750. type: integer
  9751. - description: 预售市场ID
  9752. in: query
  9753. name: marketid
  9754. type: integer
  9755. - description: 预售商品ID列表 - 格式:1,2,3
  9756. in: query
  9757. name: goodsids
  9758. type: string
  9759. produces:
  9760. - application/json
  9761. responses:
  9762. "200":
  9763. description: OK
  9764. schema:
  9765. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9766. "500":
  9767. description: Internal Server Error
  9768. schema:
  9769. $ref: '#/definitions/app.Response'
  9770. security:
  9771. - ApiKeyAuth: []
  9772. summary: 查询产能预售委托单信息
  9773. tags:
  9774. - 产能预售
  9775. /CPTrade/QueryMyCPTradeGoods:
  9776. get:
  9777. parameters:
  9778. - description: 资金账户
  9779. in: query
  9780. name: accountid
  9781. required: true
  9782. type: integer
  9783. produces:
  9784. - application/json
  9785. responses:
  9786. "200":
  9787. description: OK
  9788. schema:
  9789. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9790. "500":
  9791. description: Internal Server Error
  9792. schema:
  9793. $ref: '#/definitions/app.Response'
  9794. security:
  9795. - ApiKeyAuth: []
  9796. summary: 查询我的预售信息
  9797. tags:
  9798. - 产能预售
  9799. /CPTrade/QueryPositionCancel:
  9800. get:
  9801. parameters:
  9802. - description: 账户ID
  9803. in: query
  9804. name: userid
  9805. required: true
  9806. type: integer
  9807. - description: 注销ID
  9808. in: query
  9809. name: cancelid
  9810. type: integer
  9811. - description: 资金账户ID
  9812. in: query
  9813. name: accountid
  9814. type: integer
  9815. produces:
  9816. - application/json
  9817. responses:
  9818. "200":
  9819. description: OK
  9820. schema:
  9821. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9822. "500":
  9823. description: Internal Server Error
  9824. schema:
  9825. $ref: '#/definitions/app.Response'
  9826. security:
  9827. - ApiKeyAuth: []
  9828. summary: 查询远期订单注销申请信息
  9829. tags:
  9830. - 产能预售
  9831. /CPTrade/QueryPreasleApply:
  9832. get:
  9833. parameters:
  9834. - description: 账户ID
  9835. in: query
  9836. name: userid
  9837. required: true
  9838. type: integer
  9839. - description: 申请ID
  9840. in: query
  9841. name: applyid
  9842. type: integer
  9843. - description: 资金账户ID
  9844. in: query
  9845. name: accountid
  9846. type: integer
  9847. produces:
  9848. - application/json
  9849. responses:
  9850. "200":
  9851. description: OK
  9852. schema:
  9853. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9854. "500":
  9855. description: Internal Server Error
  9856. schema:
  9857. $ref: '#/definitions/app.Response'
  9858. security:
  9859. - ApiKeyAuth: []
  9860. summary: 查询产能预售申请信息
  9861. tags:
  9862. - 产能预售
  9863. /CPTrade/QueryPresaleGoodsEx:
  9864. get:
  9865. parameters:
  9866. - description: 预售商品ID
  9867. in: query
  9868. name: goodsid
  9869. type: integer
  9870. - description: 预售市场ID
  9871. in: query
  9872. name: marketid
  9873. type: integer
  9874. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9875. in: query
  9876. name: presalemode
  9877. type: integer
  9878. - description: 预售商品ID列表 - 格式:1,2,3
  9879. in: query
  9880. name: goodsids
  9881. type: string
  9882. - description: 预售商品代码
  9883. in: query
  9884. name: goodscode
  9885. type: string
  9886. produces:
  9887. - application/json
  9888. responses:
  9889. "200":
  9890. description: OK
  9891. schema:
  9892. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9893. "500":
  9894. description: Internal Server Error
  9895. schema:
  9896. $ref: '#/definitions/app.Response'
  9897. security:
  9898. - ApiKeyAuth: []
  9899. summary: 查询产能预售商品扩展信息
  9900. tags:
  9901. - 产能预售
  9902. /CPTrade/QueryUserGoodsData:
  9903. get:
  9904. parameters:
  9905. - description: 资金账户ID
  9906. in: query
  9907. name: accountid
  9908. required: true
  9909. type: integer
  9910. produces:
  9911. - application/json
  9912. responses:
  9913. "200":
  9914. description: OK
  9915. schema:
  9916. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9917. "500":
  9918. description: Internal Server Error
  9919. schema:
  9920. $ref: '#/definitions/app.Response'
  9921. security:
  9922. - ApiKeyAuth: []
  9923. summary: 查询远期订单信息
  9924. tags:
  9925. - 产能预售
  9926. /Common/GetAllEnums:
  9927. get:
  9928. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9929. parameters:
  9930. - description: 起始自增ID
  9931. in: query
  9932. name: autoid
  9933. type: integer
  9934. produces:
  9935. - application/json
  9936. responses:
  9937. "200":
  9938. description: OK
  9939. schema:
  9940. $ref: '#/definitions/models.Enumdicitem'
  9941. "500":
  9942. description: Internal Server Error
  9943. schema:
  9944. $ref: '#/definitions/app.Response'
  9945. summary: 获取所有枚举信息
  9946. tags:
  9947. - 通用服务
  9948. /Common/GetDivisions:
  9949. get:
  9950. produces:
  9951. - application/json
  9952. responses:
  9953. "200":
  9954. description: OK
  9955. schema:
  9956. $ref: '#/definitions/models.Division'
  9957. "500":
  9958. description: Internal Server Error
  9959. schema:
  9960. $ref: '#/definitions/app.Response'
  9961. summary: 查询区域信息
  9962. tags:
  9963. - 通用服务
  9964. /Common/GetServerTime:
  9965. get:
  9966. produces:
  9967. - application/json
  9968. responses:
  9969. "200":
  9970. description: OK
  9971. schema:
  9972. $ref: '#/definitions/app.Response'
  9973. "500":
  9974. description: Internal Server Error
  9975. schema:
  9976. $ref: '#/definitions/app.Response'
  9977. summary: 获取服务器时间
  9978. tags:
  9979. - 通用服务
  9980. /Common/NoticeReaded:
  9981. post:
  9982. parameters:
  9983. - description: 登录账号
  9984. in: query
  9985. name: loginID
  9986. required: true
  9987. type: integer
  9988. - description: 通知公告ID
  9989. in: query
  9990. name: noticeID
  9991. required: true
  9992. type: integer
  9993. produces:
  9994. - application/json
  9995. responses:
  9996. "200":
  9997. description: OK
  9998. schema:
  9999. $ref: '#/definitions/app.Response'
  10000. "500":
  10001. description: Internal Server Error
  10002. schema:
  10003. $ref: '#/definitions/app.Response'
  10004. security:
  10005. - ApiKeyAuth: []
  10006. summary: 通知公告设置已读请求
  10007. tags:
  10008. - 通用服务
  10009. /Common/QueryErrorInfos:
  10010. get:
  10011. description: 如果传入rowNumber,则返回此rowNumber后的数据
  10012. parameters:
  10013. - description: 起始行号前索引
  10014. in: query
  10015. name: rowNumber
  10016. type: string
  10017. produces:
  10018. - application/json
  10019. responses:
  10020. "200":
  10021. description: OK
  10022. schema:
  10023. $ref: '#/definitions/models.QueryErrorInfosRsp'
  10024. "500":
  10025. description: Internal Server Error
  10026. schema:
  10027. $ref: '#/definitions/app.Response'
  10028. summary: 获取数据库错误信息
  10029. tags:
  10030. - 通用服务
  10031. /Common/QueryImageConfigs:
  10032. get:
  10033. parameters:
  10034. - description: 类型 - 1:App首页轮播 2:我的
  10035. in: query
  10036. name: imageType
  10037. type: integer
  10038. produces:
  10039. - application/json
  10040. responses:
  10041. "200":
  10042. description: OK
  10043. schema:
  10044. $ref: '#/definitions/common.QueryImageConfigsRsp'
  10045. "500":
  10046. description: Internal Server Error
  10047. schema:
  10048. $ref: '#/definitions/app.Response'
  10049. summary: 查询轮播图配置信息
  10050. tags:
  10051. - 通用服务
  10052. /Common/QueryNotice:
  10053. get:
  10054. parameters:
  10055. - description: 页码
  10056. in: query
  10057. name: page
  10058. type: integer
  10059. - description: 每页条数
  10060. in: query
  10061. name: pagesize
  10062. type: integer
  10063. - description: 登录账号
  10064. in: query
  10065. name: loginID
  10066. required: true
  10067. type: integer
  10068. - description: 消息类型 - 1:公告通知 2:系统消息
  10069. in: query
  10070. name: msgType
  10071. type: integer
  10072. - description: 是否只获取未读信息
  10073. in: query
  10074. name: onlyUnRead
  10075. type: boolean
  10076. - description: 自增ID,传入后会返回这个ID后面的记录
  10077. in: query
  10078. name: lastID
  10079. type: integer
  10080. produces:
  10081. - application/json
  10082. responses:
  10083. "200":
  10084. description: OK
  10085. schema:
  10086. $ref: '#/definitions/common.QueryNoticeRsp'
  10087. "500":
  10088. description: Internal Server Error
  10089. schema:
  10090. $ref: '#/definitions/app.Response'
  10091. security:
  10092. - ApiKeyAuth: []
  10093. summary: 通知公告系统消息查询
  10094. tags:
  10095. - 通用服务
  10096. /Common/QueryProvincesAndCities:
  10097. get:
  10098. parameters:
  10099. - description: 省ID
  10100. in: query
  10101. name: provinceID
  10102. type: integer
  10103. produces:
  10104. - application/json
  10105. responses:
  10106. "200":
  10107. description: OK
  10108. schema:
  10109. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10110. "500":
  10111. description: Internal Server Error
  10112. schema:
  10113. $ref: '#/definitions/app.Response'
  10114. summary: 查询省市信息(不包括区)
  10115. tags:
  10116. - 通用服务
  10117. /Common/QueryTableDefine:
  10118. get:
  10119. parameters:
  10120. - description: 表key
  10121. in: query
  10122. name: tableKey
  10123. type: string
  10124. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10125. in: query
  10126. name: tableType
  10127. type: integer
  10128. produces:
  10129. - application/json
  10130. responses:
  10131. "200":
  10132. description: OK
  10133. schema:
  10134. $ref: '#/definitions/common.QueryTableDefineRsp'
  10135. "500":
  10136. description: Internal Server Error
  10137. schema:
  10138. $ref: '#/definitions/app.Response'
  10139. summary: 查询交易端列表头信息
  10140. tags:
  10141. - 通用服务
  10142. /Common/QueryTraderMenu:
  10143. get:
  10144. parameters:
  10145. - description: 登录账号
  10146. in: query
  10147. name: loginid
  10148. required: true
  10149. type: integer
  10150. produces:
  10151. - application/json
  10152. responses:
  10153. "200":
  10154. description: OK
  10155. schema:
  10156. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10157. "500":
  10158. description: Internal Server Error
  10159. schema:
  10160. $ref: '#/definitions/app.Response'
  10161. summary: 查询交易端菜单
  10162. tags:
  10163. - 通用服务
  10164. /Delivery/QueryDeliveryRelation:
  10165. get:
  10166. parameters:
  10167. - description: 商品ID
  10168. in: query
  10169. name: goodsid
  10170. type: integer
  10171. - description: 品种ID
  10172. in: query
  10173. name: deliverygoodsid
  10174. type: integer
  10175. - description: 市场ID
  10176. in: query
  10177. name: marketid
  10178. type: integer
  10179. produces:
  10180. - application/json
  10181. responses:
  10182. "200":
  10183. description: OK
  10184. schema:
  10185. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10186. "500":
  10187. description: Internal Server Error
  10188. schema:
  10189. $ref: '#/definitions/app.Response'
  10190. security:
  10191. - ApiKeyAuth: []
  10192. summary: 查询商品交割关系表
  10193. tags:
  10194. - 交割服务
  10195. /Ermcp/GetErmcpGoods:
  10196. get:
  10197. parameters:
  10198. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10199. in: query
  10200. name: lastUpdateTime
  10201. type: string
  10202. produces:
  10203. - application/json
  10204. responses:
  10205. "200":
  10206. description: OK
  10207. schema:
  10208. $ref: '#/definitions/models.Goods'
  10209. "500":
  10210. description: Internal Server Error
  10211. schema:
  10212. $ref: '#/definitions/app.Response'
  10213. security:
  10214. - ApiKeyAuth: []
  10215. summary: 查询企业风管期货商品信息
  10216. tags:
  10217. - 企业风险管理(app)
  10218. /Ermcp/GetErmcpGoodsSortByPosition:
  10219. get:
  10220. parameters:
  10221. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  10222. in: query
  10223. name: sortIndex
  10224. type: string
  10225. produces:
  10226. - application/json
  10227. responses:
  10228. "200":
  10229. description: OK
  10230. schema:
  10231. $ref: '#/definitions/models.Goodssortbypreposition'
  10232. "500":
  10233. description: Internal Server Error
  10234. schema:
  10235. $ref: '#/definitions/app.Response'
  10236. security:
  10237. - ApiKeyAuth: []
  10238. summary: 查询企业风管期货主力、次主力商品信息
  10239. tags:
  10240. - 企业风险管理(app)
  10241. /Ermcp/GetErmcpRoleFuncMenuLists:
  10242. get:
  10243. parameters:
  10244. - description: 登录账号
  10245. in: query
  10246. name: loginID
  10247. required: true
  10248. type: integer
  10249. produces:
  10250. - application/json
  10251. responses:
  10252. "200":
  10253. description: OK
  10254. schema:
  10255. $ref: '#/definitions/models.Funcmenulist'
  10256. "500":
  10257. description: Internal Server Error
  10258. schema:
  10259. $ref: '#/definitions/app.Response'
  10260. security:
  10261. - ApiKeyAuth: []
  10262. summary: 获取企业风管终端权限
  10263. tags:
  10264. - 企业风险管理(app)
  10265. /Ermcp/QryReportDayExposure:
  10266. get:
  10267. parameters:
  10268. - description: 用户ID
  10269. in: query
  10270. name: userid
  10271. required: true
  10272. type: integer
  10273. - description: 交易日(格式:yyyyMMdd)
  10274. in: query
  10275. name: tradedate
  10276. required: true
  10277. type: string
  10278. produces:
  10279. - application/json
  10280. responses:
  10281. "200":
  10282. description: OK
  10283. schema:
  10284. items:
  10285. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10286. type: array
  10287. "500":
  10288. description: Internal Server Error
  10289. schema:
  10290. $ref: '#/definitions/app.Response'
  10291. security:
  10292. - ApiKeyAuth: []
  10293. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10294. tags:
  10295. - 企业风险管理(app)
  10296. /Ermcp/QryReportDayFinance:
  10297. get:
  10298. parameters:
  10299. - description: 用户ID
  10300. in: query
  10301. name: userid
  10302. required: true
  10303. type: integer
  10304. - description: 交易日(格式:yyyyMMdd)
  10305. in: query
  10306. name: tradedate
  10307. required: true
  10308. type: string
  10309. produces:
  10310. - application/json
  10311. responses:
  10312. "200":
  10313. description: OK
  10314. schema:
  10315. items:
  10316. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10317. type: array
  10318. "500":
  10319. description: Internal Server Error
  10320. schema:
  10321. $ref: '#/definitions/app.Response'
  10322. security:
  10323. - ApiKeyAuth: []
  10324. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10325. tags:
  10326. - 企业风险管理(app)
  10327. /Ermcp/QryReportDayFinanceFp:
  10328. get:
  10329. parameters:
  10330. - description: 用户ID
  10331. in: query
  10332. name: userid
  10333. required: true
  10334. type: integer
  10335. - description: 交易日(格式:yyyyMMdd)
  10336. in: query
  10337. name: tradedate
  10338. required: true
  10339. type: string
  10340. produces:
  10341. - application/json
  10342. responses:
  10343. "200":
  10344. description: OK
  10345. schema:
  10346. items:
  10347. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10348. type: array
  10349. "500":
  10350. description: Internal Server Error
  10351. schema:
  10352. $ref: '#/definitions/app.Response'
  10353. security:
  10354. - ApiKeyAuth: []
  10355. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10356. tags:
  10357. - 企业风险管理(app)
  10358. /Ermcp/QryReportDayFinanceKx:
  10359. get:
  10360. parameters:
  10361. - description: 用户ID
  10362. in: query
  10363. name: userid
  10364. required: true
  10365. type: integer
  10366. - description: 交易日(格式:yyyyMMdd)
  10367. in: query
  10368. name: tradedate
  10369. required: true
  10370. type: string
  10371. produces:
  10372. - application/json
  10373. responses:
  10374. "200":
  10375. description: OK
  10376. schema:
  10377. items:
  10378. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10379. type: array
  10380. "500":
  10381. description: Internal Server Error
  10382. schema:
  10383. $ref: '#/definitions/app.Response'
  10384. security:
  10385. - ApiKeyAuth: []
  10386. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10387. tags:
  10388. - 企业风险管理(app)
  10389. /Ermcp/QryReportDaySpot:
  10390. get:
  10391. parameters:
  10392. - description: 用户ID
  10393. in: query
  10394. name: userid
  10395. required: true
  10396. type: integer
  10397. - description: 交易日(格式:yyyyMMdd)
  10398. in: query
  10399. name: tradedate
  10400. required: true
  10401. type: string
  10402. produces:
  10403. - application/json
  10404. responses:
  10405. "200":
  10406. description: OK
  10407. schema:
  10408. items:
  10409. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10410. type: array
  10411. "500":
  10412. description: Internal Server Error
  10413. schema:
  10414. $ref: '#/definitions/app.Response'
  10415. security:
  10416. - ApiKeyAuth: []
  10417. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10418. tags:
  10419. - 企业风险管理(app)
  10420. /Ermcp/QryReportDaySpotDetail:
  10421. get:
  10422. parameters:
  10423. - description: 用户ID
  10424. in: query
  10425. name: userid
  10426. required: true
  10427. type: integer
  10428. - description: 现货商品id
  10429. in: query
  10430. name: wrstandardid
  10431. required: true
  10432. type: integer
  10433. - description: 交易日(格式:yyyyMMdd)
  10434. in: query
  10435. name: tradedate
  10436. required: true
  10437. type: string
  10438. produces:
  10439. - application/json
  10440. responses:
  10441. "200":
  10442. description: OK
  10443. schema:
  10444. items:
  10445. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10446. type: array
  10447. "500":
  10448. description: Internal Server Error
  10449. schema:
  10450. $ref: '#/definitions/app.Response'
  10451. security:
  10452. - ApiKeyAuth: []
  10453. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10454. tags:
  10455. - 企业风险管理(app)
  10456. /Ermcp/QryReportMonthFinance:
  10457. get:
  10458. parameters:
  10459. - description: 用户ID
  10460. in: query
  10461. name: userid
  10462. required: true
  10463. type: integer
  10464. - description: 周期时间:月(格式:yyyyMM)
  10465. in: query
  10466. name: cycletime
  10467. required: true
  10468. type: string
  10469. produces:
  10470. - application/json
  10471. responses:
  10472. "200":
  10473. description: OK
  10474. schema:
  10475. items:
  10476. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10477. type: array
  10478. "500":
  10479. description: Internal Server Error
  10480. schema:
  10481. $ref: '#/definitions/app.Response'
  10482. security:
  10483. - ApiKeyAuth: []
  10484. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10485. tags:
  10486. - 企业风险管理(app)
  10487. /Ermcp/QryReportMonthSpot:
  10488. get:
  10489. parameters:
  10490. - description: 用户ID
  10491. in: query
  10492. name: userid
  10493. required: true
  10494. type: integer
  10495. - description: 周期时间:月(格式:yyyyMM)
  10496. in: query
  10497. name: cycletime
  10498. required: true
  10499. type: string
  10500. produces:
  10501. - application/json
  10502. responses:
  10503. "200":
  10504. description: OK
  10505. schema:
  10506. items:
  10507. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10508. type: array
  10509. "500":
  10510. description: Internal Server Error
  10511. schema:
  10512. $ref: '#/definitions/app.Response'
  10513. security:
  10514. - ApiKeyAuth: []
  10515. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10516. tags:
  10517. - 企业风险管理(app)
  10518. /Ermcp/QryReportMonthSpotDetail:
  10519. get:
  10520. parameters:
  10521. - description: 用户ID
  10522. in: query
  10523. name: userid
  10524. required: true
  10525. type: integer
  10526. - description: 现货商品id
  10527. in: query
  10528. name: wrstandardid
  10529. required: true
  10530. type: integer
  10531. - description: 周期时间:月(格式:yyyyMM)
  10532. in: query
  10533. name: cycletime
  10534. required: true
  10535. type: string
  10536. produces:
  10537. - application/json
  10538. responses:
  10539. "200":
  10540. description: OK
  10541. schema:
  10542. items:
  10543. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10544. type: array
  10545. "500":
  10546. description: Internal Server Error
  10547. schema:
  10548. $ref: '#/definitions/app.Response'
  10549. security:
  10550. - ApiKeyAuth: []
  10551. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10552. tags:
  10553. - 企业风险管理(app)
  10554. /Ermcp/QueryAreaStock:
  10555. get:
  10556. parameters:
  10557. - description: 用户ID
  10558. in: query
  10559. name: userid
  10560. required: true
  10561. type: integer
  10562. produces:
  10563. - application/json
  10564. responses:
  10565. "200":
  10566. description: OK
  10567. schema:
  10568. items:
  10569. $ref: '#/definitions/models.ErmcpAreaStock'
  10570. type: array
  10571. "500":
  10572. description: Internal Server Error
  10573. schema:
  10574. $ref: '#/definitions/app.Response'
  10575. security:
  10576. - ApiKeyAuth: []
  10577. summary: 查询机构库存(库存管理/当前库存)
  10578. tags:
  10579. - 企业风险管理(app)
  10580. /Ermcp/QueryAreaStockApply:
  10581. get:
  10582. parameters:
  10583. - description: 用户ID
  10584. in: query
  10585. name: userid
  10586. required: true
  10587. type: integer
  10588. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10589. in: query
  10590. name: inouttype
  10591. type: string
  10592. - description: 合同ID
  10593. in: query
  10594. name: spotcontractid
  10595. type: integer
  10596. - description: 现货商品ID
  10597. in: query
  10598. name: wrstandardid
  10599. type: integer
  10600. - description: 品牌ID
  10601. in: query
  10602. name: spotgoodsbrandid
  10603. type: integer
  10604. - description: 型号ID
  10605. in: query
  10606. name: spotgoodsmodelid
  10607. type: integer
  10608. - description: 仓库ID
  10609. in: query
  10610. name: warehouseinfoid
  10611. type: integer
  10612. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10613. in: query
  10614. name: applystatus
  10615. type: string
  10616. produces:
  10617. - application/json
  10618. responses:
  10619. "200":
  10620. description: OK
  10621. schema:
  10622. items:
  10623. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10624. type: array
  10625. "500":
  10626. description: Internal Server Error
  10627. schema:
  10628. $ref: '#/definitions/app.Response'
  10629. security:
  10630. - ApiKeyAuth: []
  10631. summary: 查询库存申请(出入库记录|库存审核)
  10632. tags:
  10633. - 企业风险管理(app)
  10634. /Ermcp/QueryAreaStockApplySum:
  10635. get:
  10636. parameters:
  10637. - description: 合同ID
  10638. in: query
  10639. name: spotcontractid
  10640. type: integer
  10641. produces:
  10642. - application/json
  10643. responses:
  10644. "200":
  10645. description: OK
  10646. schema:
  10647. items:
  10648. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10649. type: array
  10650. "500":
  10651. description: Internal Server Error
  10652. schema:
  10653. $ref: '#/definitions/app.Response'
  10654. security:
  10655. - ApiKeyAuth: []
  10656. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  10657. tags:
  10658. - 企业风险管理(app)
  10659. /Ermcp/QueryAreaStockReport:
  10660. get:
  10661. parameters:
  10662. - description: 用户ID
  10663. in: query
  10664. name: userid
  10665. required: true
  10666. type: integer
  10667. - description: 查询类型 1-日报表 2-月报表
  10668. in: query
  10669. name: querytype
  10670. required: true
  10671. type: integer
  10672. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10673. in: query
  10674. name: querydate
  10675. required: true
  10676. type: string
  10677. - description: 现货商品ID
  10678. in: query
  10679. name: wrstandardid
  10680. type: integer
  10681. - description: 品牌ID
  10682. in: query
  10683. name: spotgoodsbrandid
  10684. type: integer
  10685. - description: 型号ID
  10686. in: query
  10687. name: spotgoodsmodelid
  10688. type: integer
  10689. - description: 仓库ID
  10690. in: query
  10691. name: warehouseinfoid
  10692. type: integer
  10693. produces:
  10694. - application/json
  10695. responses:
  10696. "200":
  10697. description: OK
  10698. schema:
  10699. items:
  10700. $ref: '#/definitions/models.ErmcpAreaStockReport'
  10701. type: array
  10702. "500":
  10703. description: Internal Server Error
  10704. schema:
  10705. $ref: '#/definitions/app.Response'
  10706. security:
  10707. - ApiKeyAuth: []
  10708. summary: 查询库存报表
  10709. tags:
  10710. - 企业风险管理(app)
  10711. /Ermcp/QueryAreaStockReportDetail:
  10712. get:
  10713. parameters:
  10714. - description: 用户ID
  10715. in: query
  10716. name: userid
  10717. required: true
  10718. type: integer
  10719. - description: 查询类型 1-日报表明细 2-月报表明细
  10720. in: query
  10721. name: querytype
  10722. required: true
  10723. type: integer
  10724. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  10725. in: query
  10726. name: detailtype
  10727. required: true
  10728. type: integer
  10729. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10730. in: query
  10731. name: querydate
  10732. required: true
  10733. type: string
  10734. - description: 现货商品ID
  10735. in: query
  10736. name: wrstandardid
  10737. type: integer
  10738. - description: 品牌ID
  10739. in: query
  10740. name: spotgoodsbrandid
  10741. type: integer
  10742. - description: 型号ID
  10743. in: query
  10744. name: spotgoodsmodelid
  10745. type: integer
  10746. - description: 仓库ID
  10747. in: query
  10748. name: warehouseinfoid
  10749. type: integer
  10750. produces:
  10751. - application/json
  10752. responses:
  10753. "200":
  10754. description: OK
  10755. schema:
  10756. items:
  10757. $ref: '#/definitions/models.ErmcpAreaStockApply'
  10758. type: array
  10759. "500":
  10760. description: Internal Server Error
  10761. schema:
  10762. $ref: '#/definitions/app.Response'
  10763. security:
  10764. - ApiKeyAuth: []
  10765. summary: 查询库存报表明细
  10766. tags:
  10767. - 企业风险管理(app)
  10768. /Ermcp/QueryAvaildGoodsGroup:
  10769. get:
  10770. parameters:
  10771. - description: 所属机构ID
  10772. in: query
  10773. name: userid
  10774. required: true
  10775. type: integer
  10776. produces:
  10777. - application/json
  10778. responses:
  10779. "200":
  10780. description: OK
  10781. schema:
  10782. items:
  10783. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10784. type: array
  10785. "500":
  10786. description: Internal Server Error
  10787. schema:
  10788. $ref: '#/definitions/app.Response'
  10789. security:
  10790. - ApiKeyAuth: []
  10791. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10792. tags:
  10793. - 企业风险管理(app)
  10794. /Ermcp/QueryBusinessDj:
  10795. get:
  10796. parameters:
  10797. - description: 用户ID
  10798. in: query
  10799. name: UserId
  10800. required: true
  10801. type: integer
  10802. - description: 现货合同ID, 不填则查所有
  10803. in: query
  10804. name: relatedid
  10805. type: string
  10806. produces:
  10807. - application/json
  10808. responses:
  10809. "200":
  10810. description: OK
  10811. schema:
  10812. items:
  10813. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10814. type: array
  10815. "500":
  10816. description: Internal Server Error
  10817. schema:
  10818. $ref: '#/definitions/app.Response'
  10819. security:
  10820. - ApiKeyAuth: []
  10821. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10822. tags:
  10823. - 企业风险管理(app)
  10824. /Ermcp/QueryBusinessFp:
  10825. get:
  10826. parameters:
  10827. - description: 用户ID
  10828. in: query
  10829. name: UserId
  10830. required: true
  10831. type: integer
  10832. - description: 现货合同ID, 不填则查所有
  10833. in: query
  10834. name: relatedid
  10835. type: string
  10836. produces:
  10837. - application/json
  10838. responses:
  10839. "200":
  10840. description: OK
  10841. schema:
  10842. items:
  10843. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10844. type: array
  10845. "500":
  10846. description: Internal Server Error
  10847. schema:
  10848. $ref: '#/definitions/app.Response'
  10849. security:
  10850. - ApiKeyAuth: []
  10851. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10852. tags:
  10853. - 企业风险管理(app)
  10854. /Ermcp/QueryBusinessJs:
  10855. get:
  10856. parameters:
  10857. - description: 用户ID
  10858. in: query
  10859. name: UserId
  10860. required: true
  10861. type: integer
  10862. - description: 现货合同ID, 不填则查所有
  10863. in: query
  10864. name: relatedid
  10865. type: string
  10866. - description: 操作申请id
  10867. in: query
  10868. name: operateapplyid
  10869. type: string
  10870. produces:
  10871. - application/json
  10872. responses:
  10873. "200":
  10874. description: OK
  10875. schema:
  10876. items:
  10877. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10878. type: array
  10879. "500":
  10880. description: Internal Server Error
  10881. schema:
  10882. $ref: '#/definitions/app.Response'
  10883. security:
  10884. - ApiKeyAuth: []
  10885. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10886. tags:
  10887. - 企业风险管理(app)
  10888. /Ermcp/QueryBusinessJsEx:
  10889. get:
  10890. parameters:
  10891. - description: 用户ID
  10892. in: query
  10893. name: UserId
  10894. required: true
  10895. type: integer
  10896. - description: 现货合同ID, 不填则查所有
  10897. in: query
  10898. name: relatedid
  10899. type: string
  10900. produces:
  10901. - application/json
  10902. responses:
  10903. "200":
  10904. description: OK
  10905. schema:
  10906. items:
  10907. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  10908. type: array
  10909. "500":
  10910. description: Internal Server Error
  10911. schema:
  10912. $ref: '#/definitions/app.Response'
  10913. security:
  10914. - ApiKeyAuth: []
  10915. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  10916. tags:
  10917. - 企业风险管理(app)
  10918. /Ermcp/QueryBusinessKx:
  10919. get:
  10920. parameters:
  10921. - description: 用户ID
  10922. in: query
  10923. name: UserId
  10924. required: true
  10925. type: integer
  10926. - description: 现货合同ID, 不填则查所有
  10927. in: query
  10928. name: relatedid
  10929. type: string
  10930. produces:
  10931. - application/json
  10932. responses:
  10933. "200":
  10934. description: OK
  10935. schema:
  10936. items:
  10937. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  10938. type: array
  10939. "500":
  10940. description: Internal Server Error
  10941. schema:
  10942. $ref: '#/definitions/app.Response'
  10943. security:
  10944. - ApiKeyAuth: []
  10945. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  10946. tags:
  10947. - 企业风险管理(app)
  10948. /Ermcp/QueryChangeLog:
  10949. get:
  10950. parameters:
  10951. - description: 合同ID
  10952. in: query
  10953. name: RelatedId
  10954. required: true
  10955. type: string
  10956. produces:
  10957. - application/json
  10958. responses:
  10959. "200":
  10960. description: OK
  10961. schema:
  10962. items:
  10963. $ref: '#/definitions/ermcp.QryOPLogRsp'
  10964. type: array
  10965. "500":
  10966. description: Internal Server Error
  10967. schema:
  10968. $ref: '#/definitions/app.Response'
  10969. security:
  10970. - ApiKeyAuth: []
  10971. summary: 查询变更记录
  10972. tags:
  10973. - 企业风险管理(app)
  10974. /Ermcp/QueryContract:
  10975. get:
  10976. parameters:
  10977. - description: 用户ID
  10978. in: query
  10979. name: userId
  10980. required: true
  10981. type: integer
  10982. - description: 合同类型 1-采购, -1-销售
  10983. in: query
  10984. name: contracttype
  10985. required: true
  10986. type: integer
  10987. - description: 查询类型 1-全部 2-待点价 3-履约结算
  10988. in: query
  10989. name: querytype
  10990. required: true
  10991. type: integer
  10992. - description: 合同ID(SpotContractId)
  10993. in: query
  10994. name: contractid
  10995. type: string
  10996. produces:
  10997. - application/json
  10998. responses:
  10999. "200":
  11000. description: OK
  11001. schema:
  11002. items:
  11003. $ref: '#/definitions/ermcp.QryErmcpRsp'
  11004. type: array
  11005. "500":
  11006. description: Internal Server Error
  11007. schema:
  11008. $ref: '#/definitions/app.Response'
  11009. security:
  11010. - ApiKeyAuth: []
  11011. summary: 查询合同(采购和销售)
  11012. tags:
  11013. - 企业风险管理(app)
  11014. /Ermcp/QueryErmcpHisOrderDetails:
  11015. get:
  11016. parameters:
  11017. - description: 资金账户ID
  11018. in: query
  11019. name: accountID
  11020. required: true
  11021. type: integer
  11022. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11023. in: query
  11024. name: startDate
  11025. type: string
  11026. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11027. in: query
  11028. name: endDate
  11029. type: string
  11030. produces:
  11031. - application/json
  11032. responses:
  11033. "200":
  11034. description: OK
  11035. schema:
  11036. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11037. "500":
  11038. description: Internal Server Error
  11039. schema:
  11040. $ref: '#/definitions/app.Response'
  11041. security:
  11042. - ApiKeyAuth: []
  11043. summary: 获取企业风管期货历史委托单信息
  11044. tags:
  11045. - 企业风险管理(app)
  11046. /Ermcp/QueryErmcpHisTradeDetails:
  11047. get:
  11048. parameters:
  11049. - description: 资金账户ID
  11050. in: query
  11051. name: accountID
  11052. required: true
  11053. type: integer
  11054. - description: 商品ID
  11055. in: query
  11056. name: goodsID
  11057. type: integer
  11058. - description: 买卖方向,0:买 1:卖
  11059. in: query
  11060. name: buyOrSell
  11061. type: integer
  11062. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11063. in: query
  11064. name: startDate
  11065. type: string
  11066. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11067. in: query
  11068. name: endDate
  11069. type: string
  11070. produces:
  11071. - application/json
  11072. responses:
  11073. "200":
  11074. description: OK
  11075. schema:
  11076. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11077. "500":
  11078. description: Internal Server Error
  11079. schema:
  11080. $ref: '#/definitions/app.Response'
  11081. security:
  11082. - ApiKeyAuth: []
  11083. summary: 获取企业风管期货历史成交单信息
  11084. tags:
  11085. - 企业风险管理(app)
  11086. /Ermcp/QueryErmcpOrderDetails:
  11087. get:
  11088. parameters:
  11089. - description: 资金账户ID
  11090. in: query
  11091. name: accountID
  11092. required: true
  11093. type: integer
  11094. produces:
  11095. - application/json
  11096. responses:
  11097. "200":
  11098. description: OK
  11099. schema:
  11100. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11101. "500":
  11102. description: Internal Server Error
  11103. schema:
  11104. $ref: '#/definitions/app.Response'
  11105. security:
  11106. - ApiKeyAuth: []
  11107. summary: 获取企业风管期货委托单信息
  11108. tags:
  11109. - 企业风险管理(app)
  11110. /Ermcp/QueryErmcpTradeDetails:
  11111. get:
  11112. parameters:
  11113. - description: 资金账户ID
  11114. in: query
  11115. name: accountID
  11116. required: true
  11117. type: integer
  11118. - description: 商品ID
  11119. in: query
  11120. name: goodsID
  11121. type: integer
  11122. - description: 买卖方向,0:买 1:卖
  11123. in: query
  11124. name: buyOrSell
  11125. type: integer
  11126. produces:
  11127. - application/json
  11128. responses:
  11129. "200":
  11130. description: OK
  11131. schema:
  11132. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11133. "500":
  11134. description: Internal Server Error
  11135. schema:
  11136. $ref: '#/definitions/app.Response'
  11137. security:
  11138. - ApiKeyAuth: []
  11139. summary: 获取企业风管期货成交单信息
  11140. tags:
  11141. - 企业风险管理(app)
  11142. /Ermcp/QueryErmcpTradePosition:
  11143. get:
  11144. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  11145. parameters:
  11146. - description: 资金账户ID
  11147. in: query
  11148. name: accountID
  11149. required: true
  11150. type: integer
  11151. - description: 所属市场ID
  11152. in: query
  11153. name: marketID
  11154. type: integer
  11155. produces:
  11156. - application/json
  11157. responses:
  11158. "200":
  11159. description: OK
  11160. schema:
  11161. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  11162. "500":
  11163. description: Internal Server Error
  11164. schema:
  11165. $ref: '#/definitions/app.Response'
  11166. security:
  11167. - ApiKeyAuth: []
  11168. summary: 获取企业风管期货持仓头寸信息
  11169. tags:
  11170. - 企业风险管理(app)
  11171. /Ermcp/QueryExposureDetail:
  11172. get:
  11173. parameters:
  11174. - description: 所属机构ID
  11175. in: query
  11176. name: areaUserId
  11177. required: true
  11178. type: integer
  11179. - description: 套保商品
  11180. in: query
  11181. name: middleGoodsId
  11182. required: true
  11183. type: integer
  11184. produces:
  11185. - application/json
  11186. responses:
  11187. "200":
  11188. description: OK
  11189. schema:
  11190. items:
  11191. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  11192. type: array
  11193. "500":
  11194. description: Internal Server Error
  11195. schema:
  11196. $ref: '#/definitions/app.Response'
  11197. security:
  11198. - ApiKeyAuth: []
  11199. summary: 查询敞口现货明细
  11200. tags:
  11201. - 企业风险管理(app)
  11202. /Ermcp/QueryExposureHedgePosition:
  11203. get:
  11204. parameters:
  11205. - description: 所属机构ID
  11206. in: query
  11207. name: areaUserId
  11208. required: true
  11209. type: integer
  11210. produces:
  11211. - application/json
  11212. responses:
  11213. "200":
  11214. description: OK
  11215. schema:
  11216. items:
  11217. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  11218. type: array
  11219. "500":
  11220. description: Internal Server Error
  11221. schema:
  11222. $ref: '#/definitions/app.Response'
  11223. security:
  11224. - ApiKeyAuth: []
  11225. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  11226. tags:
  11227. - 企业风险管理(app)
  11228. /Ermcp/QueryExposureHedgePositionDetail:
  11229. get:
  11230. parameters:
  11231. - description: 所属机构ID
  11232. in: query
  11233. name: areaUserId
  11234. required: true
  11235. type: integer
  11236. - description: 商品id
  11237. in: query
  11238. name: goodsId
  11239. required: true
  11240. type: integer
  11241. produces:
  11242. - application/json
  11243. responses:
  11244. "200":
  11245. description: OK
  11246. schema:
  11247. items:
  11248. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11249. type: array
  11250. "500":
  11251. description: Internal Server Error
  11252. schema:
  11253. $ref: '#/definitions/app.Response'
  11254. security:
  11255. - ApiKeyAuth: []
  11256. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11257. tags:
  11258. - 企业风险管理(app)
  11259. /Ermcp/QueryExposureSpot:
  11260. get:
  11261. parameters:
  11262. - description: 所属机构ID
  11263. in: query
  11264. name: areaUserId
  11265. required: true
  11266. type: integer
  11267. produces:
  11268. - application/json
  11269. responses:
  11270. "200":
  11271. description: OK
  11272. schema:
  11273. items:
  11274. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11275. type: array
  11276. "500":
  11277. description: Internal Server Error
  11278. schema:
  11279. $ref: '#/definitions/app.Response'
  11280. security:
  11281. - ApiKeyAuth: []
  11282. summary: 查询敞口现货头寸(敞口/现货头寸)
  11283. tags:
  11284. - 企业风险管理(app)
  11285. /Ermcp/QueryExposureSpotDetail:
  11286. get:
  11287. parameters:
  11288. - description: 所属机构ID
  11289. in: query
  11290. name: areaUserId
  11291. required: true
  11292. type: integer
  11293. - description: 现货品种ID
  11294. in: query
  11295. name: wrstandardId
  11296. required: true
  11297. type: integer
  11298. produces:
  11299. - application/json
  11300. responses:
  11301. "200":
  11302. description: OK
  11303. schema:
  11304. items:
  11305. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11306. type: array
  11307. "500":
  11308. description: Internal Server Error
  11309. schema:
  11310. $ref: '#/definitions/app.Response'
  11311. security:
  11312. - ApiKeyAuth: []
  11313. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11314. tags:
  11315. - 企业风险管理(app)
  11316. /Ermcp/QueryGGConvertConfig:
  11317. get:
  11318. parameters:
  11319. - description: 品种id(不填则查所有)
  11320. in: query
  11321. name: goodsgroupid
  11322. type: integer
  11323. produces:
  11324. - application/json
  11325. responses:
  11326. "200":
  11327. description: OK
  11328. schema:
  11329. items:
  11330. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11331. type: array
  11332. "500":
  11333. description: Internal Server Error
  11334. schema:
  11335. $ref: '#/definitions/app.Response'
  11336. security:
  11337. - ApiKeyAuth: []
  11338. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11339. tags:
  11340. - 企业风险管理(app)
  11341. /Ermcp/QueryGoodsBrand:
  11342. get:
  11343. parameters:
  11344. - description: 用户ID
  11345. in: query
  11346. name: userid
  11347. required: true
  11348. type: integer
  11349. - description: 现货商品ID
  11350. in: query
  11351. name: wrstandardid
  11352. type: integer
  11353. produces:
  11354. - application/json
  11355. responses:
  11356. "200":
  11357. description: OK
  11358. schema:
  11359. items:
  11360. $ref: '#/definitions/models.ErmcpGoodsBrand'
  11361. type: array
  11362. "500":
  11363. description: Internal Server Error
  11364. schema:
  11365. $ref: '#/definitions/app.Response'
  11366. security:
  11367. - ApiKeyAuth: []
  11368. summary: 查询商品品牌
  11369. tags:
  11370. - 企业风险管理(app)
  11371. /Ermcp/QueryGoodsModel:
  11372. get:
  11373. parameters:
  11374. - description: 用户ID
  11375. in: query
  11376. name: userid
  11377. required: true
  11378. type: integer
  11379. produces:
  11380. - application/json
  11381. responses:
  11382. "200":
  11383. description: OK
  11384. schema:
  11385. items:
  11386. $ref: '#/definitions/models.ErmcpGoodsModel'
  11387. type: array
  11388. "500":
  11389. description: Internal Server Error
  11390. schema:
  11391. $ref: '#/definitions/app.Response'
  11392. security:
  11393. - ApiKeyAuth: []
  11394. summary: 查询商品型号
  11395. tags:
  11396. - 企业风险管理(app)
  11397. /Ermcp/QueryHedgePlan:
  11398. get:
  11399. parameters:
  11400. - description: 用户ID
  11401. in: query
  11402. name: userId
  11403. required: true
  11404. type: integer
  11405. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11406. in: query
  11407. name: HedgePlanStatus
  11408. required: true
  11409. type: string
  11410. produces:
  11411. - application/json
  11412. responses:
  11413. "200":
  11414. description: OK
  11415. schema:
  11416. items:
  11417. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11418. type: array
  11419. "500":
  11420. description: Internal Server Error
  11421. schema:
  11422. $ref: '#/definitions/app.Response'
  11423. security:
  11424. - ApiKeyAuth: []
  11425. summary: 查询套保计划
  11426. tags:
  11427. - 企业风险管理(app)
  11428. /Ermcp/QueryHisExposure:
  11429. get:
  11430. parameters:
  11431. - description: 所属机构ID
  11432. in: query
  11433. name: areaUserId
  11434. required: true
  11435. type: integer
  11436. - description: 每个品种记录数
  11437. in: query
  11438. name: lastNum
  11439. required: true
  11440. type: integer
  11441. produces:
  11442. - application/json
  11443. responses:
  11444. "200":
  11445. description: OK
  11446. schema:
  11447. items:
  11448. $ref: '#/definitions/ermcp.HisExposureRsp'
  11449. type: array
  11450. "500":
  11451. description: Internal Server Error
  11452. schema:
  11453. $ref: '#/definitions/app.Response'
  11454. security:
  11455. - ApiKeyAuth: []
  11456. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11457. tags:
  11458. - 企业风险管理(app)
  11459. /Ermcp/QueryMiddleGoods:
  11460. get:
  11461. parameters:
  11462. - description: 所属机构ID
  11463. in: query
  11464. name: userid
  11465. required: true
  11466. type: integer
  11467. - description: 状态 0-停用 1-正常
  11468. in: query
  11469. name: status
  11470. required: true
  11471. type: integer
  11472. produces:
  11473. - application/json
  11474. responses:
  11475. "200":
  11476. description: OK
  11477. schema:
  11478. items:
  11479. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11480. type: array
  11481. "500":
  11482. description: Internal Server Error
  11483. schema:
  11484. $ref: '#/definitions/app.Response'
  11485. security:
  11486. - ApiKeyAuth: []
  11487. summary: 查询套保品种(菜单:套保品种)
  11488. tags:
  11489. - 企业风险管理(app)
  11490. /Ermcp/QueryMiddleGoodsChangeLog:
  11491. get:
  11492. parameters:
  11493. - description: 所属机构ID
  11494. in: query
  11495. name: userid
  11496. required: true
  11497. type: integer
  11498. - description: 套保品种id
  11499. in: query
  11500. name: middlegoodsid
  11501. required: true
  11502. type: integer
  11503. produces:
  11504. - application/json
  11505. responses:
  11506. "200":
  11507. description: OK
  11508. schema:
  11509. items:
  11510. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11511. type: array
  11512. "500":
  11513. description: Internal Server Error
  11514. schema:
  11515. $ref: '#/definitions/app.Response'
  11516. security:
  11517. - ApiKeyAuth: []
  11518. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11519. tags:
  11520. - 企业风险管理(app)
  11521. /Ermcp/QueryMiddleGoodsDetail:
  11522. get:
  11523. parameters:
  11524. - description: 所属机构ID
  11525. in: query
  11526. name: userid
  11527. required: true
  11528. type: integer
  11529. - description: 套保品种id
  11530. in: query
  11531. name: middlegoodsid
  11532. required: true
  11533. type: integer
  11534. produces:
  11535. - application/json
  11536. responses:
  11537. "200":
  11538. description: OK
  11539. schema:
  11540. items:
  11541. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11542. type: array
  11543. "500":
  11544. description: Internal Server Error
  11545. schema:
  11546. $ref: '#/definitions/app.Response'
  11547. security:
  11548. - ApiKeyAuth: []
  11549. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11550. tags:
  11551. - 企业风险管理(app)
  11552. /Ermcp/QueryPendingAuditInfo:
  11553. get:
  11554. parameters:
  11555. - description: 用户ID
  11556. in: query
  11557. name: UserId
  11558. required: true
  11559. type: integer
  11560. produces:
  11561. - application/json
  11562. responses:
  11563. "200":
  11564. description: OK
  11565. schema:
  11566. items:
  11567. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11568. type: array
  11569. "500":
  11570. description: Internal Server Error
  11571. schema:
  11572. $ref: '#/definitions/app.Response'
  11573. security:
  11574. - ApiKeyAuth: []
  11575. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11576. tags:
  11577. - 企业风险管理(app)
  11578. /Ermcp/QueryRealtimeExposure:
  11579. get:
  11580. parameters:
  11581. - description: 所属机构ID
  11582. in: query
  11583. name: AreaUserID
  11584. required: true
  11585. type: integer
  11586. produces:
  11587. - application/json
  11588. responses:
  11589. "200":
  11590. description: OK
  11591. schema:
  11592. items:
  11593. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11594. type: array
  11595. "500":
  11596. description: Internal Server Error
  11597. schema:
  11598. $ref: '#/definitions/app.Response'
  11599. security:
  11600. - ApiKeyAuth: []
  11601. summary: 查询实时敞口
  11602. tags:
  11603. - 企业风险管理(app)
  11604. /Ermcp/QueryRealtimeExposurePosition:
  11605. get:
  11606. parameters:
  11607. - description: 所属机构ID
  11608. in: query
  11609. name: areaUserId
  11610. required: true
  11611. type: integer
  11612. - description: 套保商品ID
  11613. in: query
  11614. name: middleGoodsId
  11615. required: true
  11616. type: integer
  11617. produces:
  11618. - application/json
  11619. responses:
  11620. "200":
  11621. description: OK
  11622. schema:
  11623. items:
  11624. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11625. type: array
  11626. "500":
  11627. description: Internal Server Error
  11628. schema:
  11629. $ref: '#/definitions/app.Response'
  11630. security:
  11631. - ApiKeyAuth: []
  11632. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11633. tags:
  11634. - 企业风险管理(app)
  11635. /Ermcp/QuerySpotContract:
  11636. get:
  11637. parameters:
  11638. - description: 用户ID
  11639. in: query
  11640. name: userId
  11641. required: true
  11642. type: integer
  11643. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11644. in: query
  11645. name: QueryType
  11646. required: true
  11647. type: integer
  11648. produces:
  11649. - application/json
  11650. responses:
  11651. "200":
  11652. description: OK
  11653. schema:
  11654. items:
  11655. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11656. type: array
  11657. "500":
  11658. description: Internal Server Error
  11659. schema:
  11660. $ref: '#/definitions/app.Response'
  11661. security:
  11662. - ApiKeyAuth: []
  11663. summary: 查询现货合同(对应现货合同菜单)
  11664. tags:
  11665. - 企业风险管理(app)
  11666. /Ermcp/QueryUserInfo:
  11667. get:
  11668. parameters:
  11669. - description: 所属机构用户ID
  11670. in: query
  11671. name: MemberUserID
  11672. required: true
  11673. type: integer
  11674. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  11675. in: query
  11676. name: queryType
  11677. required: true
  11678. type: integer
  11679. produces:
  11680. - application/json
  11681. responses:
  11682. "200":
  11683. description: OK
  11684. schema:
  11685. items:
  11686. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  11687. type: array
  11688. "500":
  11689. description: Internal Server Error
  11690. schema:
  11691. $ref: '#/definitions/app.Response'
  11692. security:
  11693. - ApiKeyAuth: []
  11694. summary: 查询客户资料
  11695. tags:
  11696. - 企业风险管理(app)
  11697. /Ermcp/QueryWarehouseInfo:
  11698. get:
  11699. parameters:
  11700. - description: 用户ID
  11701. in: query
  11702. name: userid
  11703. required: true
  11704. type: integer
  11705. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  11706. in: query
  11707. name: status
  11708. type: string
  11709. produces:
  11710. - application/json
  11711. responses:
  11712. "200":
  11713. description: OK
  11714. schema:
  11715. items:
  11716. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  11717. type: array
  11718. "500":
  11719. description: Internal Server Error
  11720. schema:
  11721. $ref: '#/definitions/app.Response'
  11722. security:
  11723. - ApiKeyAuth: []
  11724. summary: 查询仓库信息
  11725. tags:
  11726. - 企业风险管理(app)
  11727. /Ermcp/QueryWrStandard:
  11728. get:
  11729. parameters:
  11730. - description: 所属机构ID
  11731. in: query
  11732. name: userid
  11733. required: true
  11734. type: integer
  11735. - description: 状态 0-停用 1-正常
  11736. in: query
  11737. name: status
  11738. required: true
  11739. type: integer
  11740. produces:
  11741. - application/json
  11742. responses:
  11743. "200":
  11744. description: OK
  11745. schema:
  11746. items:
  11747. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  11748. type: array
  11749. "500":
  11750. description: Internal Server Error
  11751. schema:
  11752. $ref: '#/definitions/app.Response'
  11753. security:
  11754. - ApiKeyAuth: []
  11755. summary: 查询现货商品
  11756. tags:
  11757. - 企业风险管理(app)
  11758. /Ermcp/QueryWrStandardDetail:
  11759. get:
  11760. parameters:
  11761. - description: 所属机构ID
  11762. in: query
  11763. name: userid
  11764. required: true
  11765. type: integer
  11766. - description: 现货商品ID
  11767. in: query
  11768. name: wrstandardid
  11769. required: true
  11770. type: integer
  11771. - description: 可不填, 1-查询关联交易商品
  11772. in: query
  11773. name: goods
  11774. type: integer
  11775. produces:
  11776. - application/json
  11777. responses:
  11778. "200":
  11779. description: OK
  11780. schema:
  11781. items:
  11782. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  11783. type: array
  11784. "500":
  11785. description: Internal Server Error
  11786. schema:
  11787. $ref: '#/definitions/app.Response'
  11788. security:
  11789. - ApiKeyAuth: []
  11790. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  11791. tags:
  11792. - 企业风险管理(app)
  11793. /Erms2/QueryArbitrageStrategy:
  11794. get:
  11795. parameters:
  11796. - description: 账户ID
  11797. in: query
  11798. name: userid
  11799. required: true
  11800. type: integer
  11801. - description: 商品组ID(品种ID)
  11802. in: query
  11803. name: goodsgroupid
  11804. type: string
  11805. produces:
  11806. - application/json
  11807. responses:
  11808. "200":
  11809. description: OK
  11810. schema:
  11811. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  11812. "500":
  11813. description: Internal Server Error
  11814. schema:
  11815. $ref: '#/definitions/app.Response'
  11816. security:
  11817. - ApiKeyAuth: []
  11818. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  11819. tags:
  11820. - 风险管理
  11821. /Erms2/QueryInnerTradeDetail:
  11822. get:
  11823. parameters:
  11824. - description: 资金账户
  11825. in: query
  11826. name: accountid
  11827. required: true
  11828. type: integer
  11829. produces:
  11830. - application/json
  11831. responses:
  11832. "200":
  11833. description: OK
  11834. schema:
  11835. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11836. "500":
  11837. description: Internal Server Error
  11838. schema:
  11839. $ref: '#/definitions/app.Response'
  11840. security:
  11841. - ApiKeyAuth: []
  11842. summary: 查询内部成交单信息
  11843. tags:
  11844. - 风险管理
  11845. /Erms2/QuerySpotContract:
  11846. get:
  11847. parameters:
  11848. - description: 策略申请ID
  11849. in: query
  11850. name: asapplyid
  11851. required: true
  11852. type: integer
  11853. - description: 现货合同ID
  11854. in: query
  11855. name: spotcontractid
  11856. type: integer
  11857. produces:
  11858. - application/json
  11859. responses:
  11860. "200":
  11861. description: OK
  11862. schema:
  11863. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11864. "500":
  11865. description: Internal Server Error
  11866. schema:
  11867. $ref: '#/definitions/app.Response'
  11868. security:
  11869. - ApiKeyAuth: []
  11870. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11871. tags:
  11872. - 风险管理
  11873. /Erms3/AddErms2ASApply:
  11874. post:
  11875. parameters:
  11876. - description: 申请参数
  11877. in: body
  11878. name: jsonBody
  11879. required: true
  11880. schema:
  11881. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11882. produces:
  11883. - application/json
  11884. responses:
  11885. "200":
  11886. description: OK
  11887. schema:
  11888. $ref: '#/definitions/app.Response'
  11889. "500":
  11890. description: Internal Server Error
  11891. schema:
  11892. $ref: '#/definitions/app.Response'
  11893. security:
  11894. - ApiKeyAuth: []
  11895. summary: 新增期现套利业务申请
  11896. tags:
  11897. - 风险管理v3
  11898. /Erms3/AddErms2SpotTradeApply:
  11899. post:
  11900. parameters:
  11901. - description: 申请参数
  11902. in: body
  11903. name: jsonBody
  11904. required: true
  11905. schema:
  11906. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  11907. produces:
  11908. - application/json
  11909. responses:
  11910. "200":
  11911. description: OK
  11912. schema:
  11913. $ref: '#/definitions/app.Response'
  11914. "500":
  11915. description: Internal Server Error
  11916. schema:
  11917. $ref: '#/definitions/app.Response'
  11918. security:
  11919. - ApiKeyAuth: []
  11920. summary: 新增现货贸易业务申请
  11921. tags:
  11922. - 风险管理v3
  11923. /Erms3/AddSpotContractApply:
  11924. post:
  11925. parameters:
  11926. - description: 申请参数
  11927. in: body
  11928. name: jsonBody
  11929. required: true
  11930. schema:
  11931. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  11932. produces:
  11933. - application/json
  11934. responses:
  11935. "200":
  11936. description: OK
  11937. schema:
  11938. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  11939. "500":
  11940. description: Internal Server Error
  11941. schema:
  11942. $ref: '#/definitions/app.Response'
  11943. security:
  11944. - ApiKeyAuth: []
  11945. summary: 新增现货合同申请
  11946. tags:
  11947. - 风险管理v3
  11948. /Erms3/AddUserInfoApply:
  11949. post:
  11950. parameters:
  11951. - description: 用户信息
  11952. in: body
  11953. name: jsonBody
  11954. required: true
  11955. schema:
  11956. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  11957. produces:
  11958. - application/json
  11959. responses:
  11960. "200":
  11961. description: OK
  11962. schema:
  11963. $ref: '#/definitions/app.Response'
  11964. "500":
  11965. description: Internal Server Error
  11966. schema:
  11967. $ref: '#/definitions/app.Response'
  11968. security:
  11969. - ApiKeyAuth: []
  11970. summary: 新增客户申请
  11971. tags:
  11972. - 风险管理v3
  11973. /Erms3/ModifyUserInfoApply:
  11974. post:
  11975. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  11976. int, "userstate": 2 }'
  11977. parameters:
  11978. - description: 用户信息
  11979. in: body
  11980. name: jsonBody
  11981. required: true
  11982. schema:
  11983. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  11984. produces:
  11985. - application/json
  11986. responses:
  11987. "200":
  11988. description: OK
  11989. schema:
  11990. $ref: '#/definitions/app.Response'
  11991. "500":
  11992. description: Internal Server Error
  11993. schema:
  11994. $ref: '#/definitions/app.Response'
  11995. security:
  11996. - ApiKeyAuth: []
  11997. summary: 修改客户申请
  11998. tags:
  11999. - 风险管理v3
  12000. /Erms3/QueryBusinessInfo:
  12001. get:
  12002. parameters:
  12003. - description: 资金账号ID列表,用逗号分隔
  12004. in: query
  12005. name: accountids
  12006. required: true
  12007. type: string
  12008. - description: 状态,0为未结束 1为已结束
  12009. in: query
  12010. name: status
  12011. required: true
  12012. type: integer
  12013. produces:
  12014. - application/json
  12015. responses:
  12016. "200":
  12017. description: OK
  12018. schema:
  12019. items:
  12020. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  12021. type: array
  12022. "500":
  12023. description: Internal Server Error
  12024. schema:
  12025. $ref: '#/definitions/app.Response'
  12026. security:
  12027. - ApiKeyAuth: []
  12028. summary: 查询业务表单数据
  12029. tags:
  12030. - 风险管理v3
  12031. /Erms3/QueryPendingAuditContract:
  12032. get:
  12033. parameters:
  12034. - description: 资金账号ID列表,逗号隔开
  12035. in: query
  12036. name: accountids
  12037. required: true
  12038. type: string
  12039. - description: 合同类型 1-采购 -1-销售
  12040. in: query
  12041. name: contracttype
  12042. required: true
  12043. type: integer
  12044. - description: 合同模式 1-普通 2-回购
  12045. in: query
  12046. name: contractmode
  12047. required: true
  12048. type: integer
  12049. produces:
  12050. - application/json
  12051. responses:
  12052. "200":
  12053. description: OK
  12054. schema:
  12055. items:
  12056. $ref: '#/definitions/erms3.QryAuditContractRsp'
  12057. type: array
  12058. "500":
  12059. description: Internal Server Error
  12060. schema:
  12061. $ref: '#/definitions/app.Response'
  12062. security:
  12063. - ApiKeyAuth: []
  12064. summary: 查询待审核合同
  12065. tags:
  12066. - 风险管理v3
  12067. /Erms3/QueryPendingBusiness:
  12068. get:
  12069. parameters:
  12070. - description: 资金账号ID列表,逗号隔开
  12071. in: query
  12072. name: accountids
  12073. required: true
  12074. type: string
  12075. produces:
  12076. - application/json
  12077. responses:
  12078. "200":
  12079. description: OK
  12080. schema:
  12081. items:
  12082. $ref: '#/definitions/erms3.QryPendingBizRsp'
  12083. type: array
  12084. "500":
  12085. description: Internal Server Error
  12086. schema:
  12087. $ref: '#/definitions/app.Response'
  12088. security:
  12089. - ApiKeyAuth: []
  12090. summary: 查询待审核基差贸易业务
  12091. tags:
  12092. - 风险管理v3
  12093. /Erms3/QuerySpotContractAppleForm:
  12094. get:
  12095. parameters:
  12096. - description: 登录账号
  12097. in: query
  12098. name: loginID
  12099. required: true
  12100. type: integer
  12101. produces:
  12102. - application/json
  12103. responses:
  12104. "200":
  12105. description: OK
  12106. schema:
  12107. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  12108. "500":
  12109. description: Internal Server Error
  12110. schema:
  12111. $ref: '#/definitions/app.Response'
  12112. security:
  12113. - ApiKeyAuth: []
  12114. summary: 查询合同申请表单数据
  12115. tags:
  12116. - 风险管理v3
  12117. /Erms3/QuerySpotContractDetail:
  12118. get:
  12119. parameters:
  12120. - description: 资金账号ID列表,用逗号分隔
  12121. in: query
  12122. name: accountids
  12123. required: true
  12124. type: string
  12125. - description: 合同类型,1为采购合同 -1为销售合同
  12126. in: query
  12127. name: contracttype
  12128. required: true
  12129. type: integer
  12130. - description: 合同模式,1为普通合同 2为回购销售合同
  12131. in: query
  12132. name: contractmode
  12133. required: true
  12134. type: integer
  12135. - description: 状态,0为履约中 1为已完成
  12136. in: query
  12137. name: status
  12138. required: true
  12139. type: integer
  12140. produces:
  12141. - application/json
  12142. responses:
  12143. "200":
  12144. description: OK
  12145. schema:
  12146. items:
  12147. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  12148. type: array
  12149. "500":
  12150. description: Internal Server Error
  12151. schema:
  12152. $ref: '#/definitions/app.Response'
  12153. security:
  12154. - ApiKeyAuth: []
  12155. summary: 查询合同详细信息
  12156. tags:
  12157. - 风险管理v3
  12158. /Erms3/QueryUserInfoApplies:
  12159. get:
  12160. parameters:
  12161. - description: 页码
  12162. in: query
  12163. name: page
  12164. type: integer
  12165. - description: 每页条数
  12166. in: query
  12167. name: pagesize
  12168. type: integer
  12169. - description: 客户名称,支持模糊查询
  12170. in: query
  12171. name: userName
  12172. type: string
  12173. produces:
  12174. - application/json
  12175. responses:
  12176. "200":
  12177. description: OK
  12178. schema:
  12179. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  12180. "500":
  12181. description: Internal Server Error
  12182. schema:
  12183. $ref: '#/definitions/app.Response'
  12184. security:
  12185. - ApiKeyAuth: []
  12186. summary: 客户申请信息查询
  12187. tags:
  12188. - 风险管理v3
  12189. /Erms3/QueryUserInfos:
  12190. get:
  12191. parameters:
  12192. - description: 页码
  12193. in: query
  12194. name: page
  12195. type: integer
  12196. - description: 每页条数
  12197. in: query
  12198. name: pagesize
  12199. type: integer
  12200. - description: 客户名称,支持模糊查询
  12201. in: query
  12202. name: userName
  12203. type: string
  12204. produces:
  12205. - application/json
  12206. responses:
  12207. "200":
  12208. description: OK
  12209. schema:
  12210. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  12211. "500":
  12212. description: Internal Server Error
  12213. schema:
  12214. $ref: '#/definitions/app.Response'
  12215. security:
  12216. - ApiKeyAuth: []
  12217. summary: 客户信息查询
  12218. tags:
  12219. - 风险管理v3
  12220. /HSBY/GetHsbyMyCount:
  12221. get:
  12222. description: 说明: 不包括已完成的数量。
  12223. parameters:
  12224. - description: 资金账户列表,格式:1,2,3
  12225. in: query
  12226. name: accountIDs
  12227. required: true
  12228. type: string
  12229. produces:
  12230. - application/json
  12231. responses:
  12232. "200":
  12233. description: OK
  12234. schema:
  12235. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  12236. "500":
  12237. description: Internal Server Error
  12238. schema:
  12239. $ref: '#/definitions/app.Response'
  12240. security:
  12241. - ApiKeyAuth: []
  12242. summary: 获取我的订单与包裹数量
  12243. tags:
  12244. - 定制【海商报业】
  12245. /HSBY/QueryClientFixedADConfigs:
  12246. get:
  12247. produces:
  12248. - application/json
  12249. responses:
  12250. "200":
  12251. description: OK
  12252. schema:
  12253. $ref: '#/definitions/models.Clientfixedadconfig'
  12254. "500":
  12255. description: Internal Server Error
  12256. schema:
  12257. $ref: '#/definitions/app.Response'
  12258. security:
  12259. - ApiKeyAuth: []
  12260. summary: 获取终端固定广告配置
  12261. tags:
  12262. - 定制【海商报业】
  12263. /HSBY/QueryHsbyBuyMyTradeDetail:
  12264. get:
  12265. parameters:
  12266. - description: 页码
  12267. in: query
  12268. name: page
  12269. type: integer
  12270. - description: 每页条数
  12271. in: query
  12272. name: pagesize
  12273. type: integer
  12274. - description: 资金账户列表,格式:1,2,3
  12275. in: query
  12276. name: accountIDs
  12277. required: true
  12278. type: string
  12279. produces:
  12280. - application/json
  12281. responses:
  12282. "200":
  12283. description: OK
  12284. schema:
  12285. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  12286. "500":
  12287. description: Internal Server Error
  12288. schema:
  12289. $ref: '#/definitions/app.Response'
  12290. security:
  12291. - ApiKeyAuth: []
  12292. summary: 查询"我的订单 - 已完成"单据信息
  12293. tags:
  12294. - 定制【海商报业】
  12295. /HSBY/QueryHsbyGoodsOrderDetails:
  12296. get:
  12297. description: 说明:查询结果已按委托价格和委托时间排序
  12298. parameters:
  12299. - description: 商品ID
  12300. in: query
  12301. name: goodsID
  12302. required: true
  12303. type: integer
  12304. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12305. in: query
  12306. name: accountIDs
  12307. type: string
  12308. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12309. in: query
  12310. name: buyOrSell
  12311. type: integer
  12312. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12313. in: query
  12314. name: price
  12315. type: number
  12316. - description: 档位,不传则默认为3档
  12317. in: query
  12318. name: speed
  12319. type: integer
  12320. produces:
  12321. - application/json
  12322. responses:
  12323. "200":
  12324. description: OK
  12325. schema:
  12326. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12327. "500":
  12328. description: Internal Server Error
  12329. schema:
  12330. $ref: '#/definitions/app.Response'
  12331. security:
  12332. - ApiKeyAuth: []
  12333. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12334. tags:
  12335. - 定制【海商报业】
  12336. /HSBY/QueryHsbyListingGoodsDetail:
  12337. get:
  12338. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12339. parameters:
  12340. - description: 商品ID
  12341. in: query
  12342. name: goodsID
  12343. required: true
  12344. type: integer
  12345. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12346. in: query
  12347. name: accountID
  12348. type: integer
  12349. produces:
  12350. - application/json
  12351. responses:
  12352. "200":
  12353. description: OK
  12354. schema:
  12355. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12356. "500":
  12357. description: Internal Server Error
  12358. schema:
  12359. $ref: '#/definitions/app.Response'
  12360. security:
  12361. - ApiKeyAuth: []
  12362. summary: 查询二级市场(挂牌点选)商品信息详情
  12363. tags:
  12364. - 定制【海商报业】
  12365. /HSBY/QueryHsbyMarketGoodsDetail:
  12366. get:
  12367. parameters:
  12368. - description: 委托单号
  12369. in: query
  12370. name: orderID
  12371. required: true
  12372. type: integer
  12373. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12374. in: query
  12375. name: accountID
  12376. type: integer
  12377. produces:
  12378. - application/json
  12379. responses:
  12380. "200":
  12381. description: OK
  12382. schema:
  12383. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12384. "500":
  12385. description: Internal Server Error
  12386. schema:
  12387. $ref: '#/definitions/app.Response'
  12388. security:
  12389. - ApiKeyAuth: []
  12390. summary: 查询三级市场(商城)商品信息详情
  12391. tags:
  12392. - 定制【海商报业】
  12393. /HSBY/QueryHsbyMarketGoodses:
  12394. get:
  12395. parameters:
  12396. - description: 页码
  12397. in: query
  12398. name: page
  12399. type: integer
  12400. - description: 每页条数
  12401. in: query
  12402. name: pagesize
  12403. type: integer
  12404. - description: 市场ID列表,格式:1,2,3
  12405. in: query
  12406. name: marketIDs
  12407. required: true
  12408. type: string
  12409. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12410. in: query
  12411. name: accountID
  12412. required: true
  12413. type: integer
  12414. - description: 类别ID
  12415. in: query
  12416. name: categoryID
  12417. type: integer
  12418. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12419. in: query
  12420. name: goodsIDs
  12421. type: string
  12422. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12423. in: query
  12424. name: couponTypeID
  12425. type: integer
  12426. produces:
  12427. - application/json
  12428. responses:
  12429. "200":
  12430. description: OK
  12431. schema:
  12432. $ref: '#/definitions/models.HsbyMarketGoods'
  12433. "500":
  12434. description: Internal Server Error
  12435. schema:
  12436. $ref: '#/definitions/app.Response'
  12437. security:
  12438. - ApiKeyAuth: []
  12439. summary: 查询特卖商品列表(三级商城)
  12440. tags:
  12441. - 定制【海商报业】
  12442. /HSBY/QueryHsbyMarkets:
  12443. get:
  12444. produces:
  12445. - application/json
  12446. responses:
  12447. "200":
  12448. description: OK
  12449. schema:
  12450. $ref: '#/definitions/models.HsbyMarketInfo'
  12451. "500":
  12452. description: Internal Server Error
  12453. schema:
  12454. $ref: '#/definitions/app.Response'
  12455. security:
  12456. - ApiKeyAuth: []
  12457. summary: 查询海商报业相关市场信息
  12458. tags:
  12459. - 定制【海商报业】
  12460. /HSBY/QueryHsbyMyBuyOrderDetails:
  12461. get:
  12462. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12463. parameters:
  12464. - description: 资金账户列表,格式:1,2,3
  12465. in: query
  12466. name: accountIDs
  12467. required: true
  12468. type: string
  12469. produces:
  12470. - application/json
  12471. responses:
  12472. "200":
  12473. description: OK
  12474. schema:
  12475. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12476. "500":
  12477. description: Internal Server Error
  12478. schema:
  12479. $ref: '#/definitions/app.Response'
  12480. security:
  12481. - ApiKeyAuth: []
  12482. summary: 查询“我的订单”信息
  12483. tags:
  12484. - 定制【海商报业】
  12485. /HSBY/QueryHsbyMyGoods:
  12486. get:
  12487. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12488. parameters:
  12489. - description: 资金账户列表,格式:1,2,3
  12490. in: query
  12491. name: accountIDs
  12492. required: true
  12493. type: string
  12494. produces:
  12495. - application/json
  12496. responses:
  12497. "200":
  12498. description: OK
  12499. schema:
  12500. $ref: '#/definitions/models.HsbyMyGoods'
  12501. "500":
  12502. description: Internal Server Error
  12503. schema:
  12504. $ref: '#/definitions/app.Response'
  12505. security:
  12506. - ApiKeyAuth: []
  12507. summary: 查询“我的商品”信息
  12508. tags:
  12509. - 定制【海商报业】
  12510. /HSBY/QueryHsbyMyPackages:
  12511. get:
  12512. parameters:
  12513. - description: 资金账户列表,格式:1,2,3
  12514. in: query
  12515. name: accountIDs
  12516. required: true
  12517. type: string
  12518. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12519. in: query
  12520. name: takeOrderStatus
  12521. type: integer
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. $ref: '#/definitions/models.HsbyMyPackage'
  12529. "500":
  12530. description: Internal Server Error
  12531. schema:
  12532. $ref: '#/definitions/app.Response'
  12533. security:
  12534. - ApiKeyAuth: []
  12535. summary: 查询我的包裹信息
  12536. tags:
  12537. - 定制【海商报业】
  12538. /HSBY/QueryHsbyPreGoodsDetail:
  12539. get:
  12540. parameters:
  12541. - description: 商品ID
  12542. in: query
  12543. name: goodsID
  12544. required: true
  12545. type: integer
  12546. - description: 资金账户,主要用于获取预售商品购买上限
  12547. in: query
  12548. name: accountID
  12549. type: integer
  12550. produces:
  12551. - application/json
  12552. responses:
  12553. "200":
  12554. description: OK
  12555. schema:
  12556. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12557. "500":
  12558. description: Internal Server Error
  12559. schema:
  12560. $ref: '#/definitions/app.Response'
  12561. security:
  12562. - ApiKeyAuth: []
  12563. summary: 查询一级市场(预售)商品信息详情
  12564. tags:
  12565. - 定制【海商报业】
  12566. /HSBY/QueryHsbyPreGoodses:
  12567. get:
  12568. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12569. parameters:
  12570. - description: 页码
  12571. in: query
  12572. name: page
  12573. type: integer
  12574. - description: 每页条数
  12575. in: query
  12576. name: pagesize
  12577. type: integer
  12578. - description: 市场ID列表,格式:1,2,3
  12579. in: query
  12580. name: marketIDs
  12581. required: true
  12582. type: string
  12583. - description: 目的地(省)ID
  12584. in: query
  12585. name: descProvinceID
  12586. type: integer
  12587. - description: 目的地(市)ID
  12588. in: query
  12589. name: descCityID
  12590. type: integer
  12591. produces:
  12592. - application/json
  12593. responses:
  12594. "200":
  12595. description: OK
  12596. schema:
  12597. $ref: '#/definitions/models.HsbyPreGoods'
  12598. "500":
  12599. description: Internal Server Error
  12600. schema:
  12601. $ref: '#/definitions/app.Response'
  12602. security:
  12603. - ApiKeyAuth: []
  12604. summary: 查询新品上市商品列表(一级市场预售)
  12605. tags:
  12606. - 定制【海商报业】
  12607. /HSBY/QueryHsbySellMyDetails:
  12608. get:
  12609. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12610. parameters:
  12611. - description: 页码
  12612. in: query
  12613. name: page
  12614. type: integer
  12615. - description: 每页条数
  12616. in: query
  12617. name: pagesize
  12618. type: integer
  12619. - description: 资金账户列表,格式:1,2,3
  12620. in: query
  12621. name: accountIDs
  12622. required: true
  12623. type: string
  12624. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12625. in: query
  12626. name: orderType
  12627. type: integer
  12628. produces:
  12629. - application/json
  12630. responses:
  12631. "200":
  12632. description: OK
  12633. schema:
  12634. $ref: '#/definitions/models.HsbySellMyDetail'
  12635. "500":
  12636. description: Internal Server Error
  12637. schema:
  12638. $ref: '#/definitions/app.Response'
  12639. security:
  12640. - ApiKeyAuth: []
  12641. summary: 查询"我的闲置"单据信息
  12642. tags:
  12643. - 定制【海商报业】
  12644. /HSBY/QueryHsbyTopGoodses:
  12645. get:
  12646. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12647. parameters:
  12648. - description: 页码
  12649. in: query
  12650. name: page
  12651. type: integer
  12652. - description: 每页条数
  12653. in: query
  12654. name: pagesize
  12655. type: integer
  12656. - description: 市场ID列表,格式:1,2,3
  12657. in: query
  12658. name: marketIDs
  12659. required: true
  12660. type: string
  12661. - description: 目的地(省)ID
  12662. in: query
  12663. name: descProvinceID
  12664. type: integer
  12665. - description: 目的地(市)ID
  12666. in: query
  12667. name: descCityID
  12668. type: integer
  12669. produces:
  12670. - application/json
  12671. responses:
  12672. "200":
  12673. description: OK
  12674. schema:
  12675. $ref: '#/definitions/models.HsbyTopGoods'
  12676. "500":
  12677. description: Internal Server Error
  12678. schema:
  12679. $ref: '#/definitions/app.Response'
  12680. security:
  12681. - ApiKeyAuth: []
  12682. summary: 查询热卖商品列表(二级市场挂牌点选)
  12683. tags:
  12684. - 定制【海商报业】
  12685. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  12686. get:
  12687. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  12688. parameters:
  12689. - description: 商品ID
  12690. in: query
  12691. name: goodsID
  12692. required: true
  12693. type: integer
  12694. produces:
  12695. - application/json
  12696. responses:
  12697. "200":
  12698. description: OK
  12699. schema:
  12700. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12701. "500":
  12702. description: Internal Server Error
  12703. schema:
  12704. $ref: '#/definitions/app.Response'
  12705. security:
  12706. - ApiKeyAuth: []
  12707. summary: 查询游客三级市场(商城)商品信息详情
  12708. tags:
  12709. - 定制【海商报业】
  12710. /HSBY/QueryHsbyVisitorMarketGoodses:
  12711. get:
  12712. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  12713. parameters:
  12714. - description: 页码
  12715. in: query
  12716. name: page
  12717. type: integer
  12718. - description: 每页条数
  12719. in: query
  12720. name: pagesize
  12721. type: integer
  12722. - description: 市场ID列表,格式:1,2,3
  12723. in: query
  12724. name: marketIDs
  12725. required: true
  12726. type: string
  12727. - description: 类别ID
  12728. in: query
  12729. name: categoryID
  12730. type: integer
  12731. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12732. in: query
  12733. name: goodsIDs
  12734. type: string
  12735. produces:
  12736. - application/json
  12737. responses:
  12738. "200":
  12739. description: OK
  12740. schema:
  12741. $ref: '#/definitions/models.HsbyMarketGoods'
  12742. "500":
  12743. description: Internal Server Error
  12744. schema:
  12745. $ref: '#/definitions/app.Response'
  12746. security:
  12747. - ApiKeyAuth: []
  12748. summary: 查询游客特卖商品列表(三级商城)
  12749. tags:
  12750. - 定制【海商报业】
  12751. /HSBY/QueryMyCollectionOrders:
  12752. get:
  12753. parameters:
  12754. - description: 页码
  12755. in: query
  12756. name: page
  12757. type: integer
  12758. - description: 每页条数
  12759. in: query
  12760. name: pagesize
  12761. type: integer
  12762. - description: 资金账户,格式:1,2,3
  12763. in: query
  12764. name: accountIDs
  12765. required: true
  12766. type: string
  12767. produces:
  12768. - application/json
  12769. responses:
  12770. "200":
  12771. description: OK
  12772. schema:
  12773. $ref: '#/definitions/models.HsbySellCollectionOrder'
  12774. "500":
  12775. description: Internal Server Error
  12776. schema:
  12777. $ref: '#/definitions/app.Response'
  12778. security:
  12779. - ApiKeyAuth: []
  12780. summary: 我的闲置中收款信息查询
  12781. tags:
  12782. - 定制【海商报业】
  12783. /HSBY/QueryMyCouponHolds:
  12784. get:
  12785. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  12786. parameters:
  12787. - description: 资金账户列表,格式:1,2,3
  12788. in: query
  12789. name: accountIDs
  12790. required: true
  12791. type: string
  12792. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  12793. in: query
  12794. name: holdStatus
  12795. type: string
  12796. produces:
  12797. - application/json
  12798. responses:
  12799. "200":
  12800. description: OK
  12801. schema:
  12802. $ref: '#/definitions/models.MyCouponHold'
  12803. "500":
  12804. description: Internal Server Error
  12805. schema:
  12806. $ref: '#/definitions/app.Response'
  12807. security:
  12808. - ApiKeyAuth: []
  12809. summary: 我的优惠卷持仓查询
  12810. tags:
  12811. - 定制【海商报业】
  12812. /HSBY/QueryMyCoupons:
  12813. get:
  12814. parameters:
  12815. - description: 资金账户列表,格式:1,2,3
  12816. in: query
  12817. name: accountIDs
  12818. required: true
  12819. type: string
  12820. - description: 商品ID, 一般与sellUserID配套传入
  12821. in: query
  12822. name: goodsID
  12823. type: integer
  12824. - description: 卖方UserID
  12825. in: query
  12826. name: sellUserID
  12827. type: integer
  12828. produces:
  12829. - application/json
  12830. responses:
  12831. "200":
  12832. description: OK
  12833. schema:
  12834. $ref: '#/definitions/models.MyCoupon'
  12835. "500":
  12836. description: Internal Server Error
  12837. schema:
  12838. $ref: '#/definitions/app.Response'
  12839. security:
  12840. - ApiKeyAuth: []
  12841. summary: 我的优惠卷查询
  12842. tags:
  12843. - 定制【海商报业】
  12844. /HSBY/QueryMyPayOrders:
  12845. get:
  12846. parameters:
  12847. - description: 页码
  12848. in: query
  12849. name: page
  12850. type: integer
  12851. - description: 每页条数
  12852. in: query
  12853. name: pagesize
  12854. type: integer
  12855. - description: 资金账户列表,格式:1,2,3
  12856. in: query
  12857. name: accountIDs
  12858. required: true
  12859. type: string
  12860. - description: 买方委托单号
  12861. in: query
  12862. name: buyOrderID
  12863. type: integer
  12864. - description: 卖方委托单号
  12865. in: query
  12866. name: sellOrderID
  12867. type: integer
  12868. produces:
  12869. - application/json
  12870. responses:
  12871. "200":
  12872. description: OK
  12873. schema:
  12874. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12875. "500":
  12876. description: Internal Server Error
  12877. schema:
  12878. $ref: '#/definitions/app.Response'
  12879. security:
  12880. - ApiKeyAuth: []
  12881. summary: 获取我的订单中待付款信息
  12882. tags:
  12883. - 定制【海商报业】
  12884. /HSBY/QueryMyUsedCoupon:
  12885. get:
  12886. parameters:
  12887. - description: 资金账户列表,格式:1,2,3
  12888. in: query
  12889. name: accountIDs
  12890. required: true
  12891. type: string
  12892. produces:
  12893. - application/json
  12894. responses:
  12895. "200":
  12896. description: OK
  12897. schema:
  12898. $ref: '#/definitions/models.MyUsedCoupon'
  12899. "500":
  12900. description: Internal Server Error
  12901. schema:
  12902. $ref: '#/definitions/app.Response'
  12903. security:
  12904. - ApiKeyAuth: []
  12905. summary: 已使用优惠卷查询
  12906. tags:
  12907. - 定制【海商报业】
  12908. /HSBY/QueryProvincesAndCities:
  12909. get:
  12910. description: 查询结果只包括二级市场商品已关连的省市信息。
  12911. parameters:
  12912. - description: 省ID
  12913. in: query
  12914. name: provinceID
  12915. type: integer
  12916. produces:
  12917. - application/json
  12918. responses:
  12919. "200":
  12920. description: OK
  12921. schema:
  12922. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  12923. "500":
  12924. description: Internal Server Error
  12925. schema:
  12926. $ref: '#/definitions/app.Response'
  12927. security:
  12928. - ApiKeyAuth: []
  12929. summary: 查询省市信息(不包括区)
  12930. tags:
  12931. - 定制【海商报业】
  12932. /HSBY/SetHsbyMyPackagesStatus:
  12933. post:
  12934. parameters:
  12935. - description: 提货单号
  12936. in: query
  12937. name: takeOrderID
  12938. required: true
  12939. type: string
  12940. - description: 资金账号
  12941. in: query
  12942. name: accountID
  12943. required: true
  12944. type: integer
  12945. produces:
  12946. - application/json
  12947. responses:
  12948. "200":
  12949. description: OK
  12950. schema:
  12951. $ref: '#/definitions/app.Response'
  12952. "500":
  12953. description: Internal Server Error
  12954. schema:
  12955. $ref: '#/definitions/app.Response'
  12956. security:
  12957. - ApiKeyAuth: []
  12958. summary: 设置我的包裹已收货状态
  12959. tags:
  12960. - 定制【海商报业】
  12961. /Market/QueryGoodsesByLoginID:
  12962. get:
  12963. parameters:
  12964. - description: 登录账号
  12965. in: query
  12966. name: loginID
  12967. required: true
  12968. type: integer
  12969. - description: 市场ID列表,格式:1,2,3
  12970. in: query
  12971. name: marketIDs
  12972. type: string
  12973. produces:
  12974. - application/json
  12975. responses:
  12976. "200":
  12977. description: OK
  12978. schema:
  12979. $ref: '#/definitions/models.Goods'
  12980. "500":
  12981. description: Internal Server Error
  12982. schema:
  12983. $ref: '#/definitions/app.Response'
  12984. security:
  12985. - ApiKeyAuth: []
  12986. summary: 获取登录账号有权限的商品信息
  12987. tags:
  12988. - 通用市场
  12989. /Market/QueryMarketRun:
  12990. get:
  12991. parameters:
  12992. - description: 市场ID,不传返回所有
  12993. in: query
  12994. name: marketID
  12995. type: integer
  12996. produces:
  12997. - application/json
  12998. responses:
  12999. "200":
  13000. description: OK
  13001. schema:
  13002. $ref: '#/definitions/models.Marketrun'
  13003. "500":
  13004. description: Internal Server Error
  13005. schema:
  13006. $ref: '#/definitions/app.Response'
  13007. security:
  13008. - ApiKeyAuth: []
  13009. summary: 查询市场运行信息
  13010. tags:
  13011. - 通用市场
  13012. /Market/QueryMarketsByLoginID:
  13013. get:
  13014. parameters:
  13015. - description: 登录账号
  13016. in: query
  13017. name: loginID
  13018. required: true
  13019. type: integer
  13020. produces:
  13021. - application/json
  13022. responses:
  13023. "200":
  13024. description: OK
  13025. schema:
  13026. $ref: '#/definitions/models.Market'
  13027. "500":
  13028. description: Internal Server Error
  13029. schema:
  13030. $ref: '#/definitions/app.Response'
  13031. security:
  13032. - ApiKeyAuth: []
  13033. summary: 获取登录账号有权限的市场信息
  13034. tags:
  13035. - 通用市场
  13036. /Order/QueryHisTradeDetail:
  13037. get:
  13038. parameters:
  13039. - description: 资金账户 - 格式:1,2,3
  13040. in: query
  13041. name: accountID
  13042. required: true
  13043. type: string
  13044. - description: 成交单号
  13045. in: query
  13046. name: tradeID
  13047. type: integer
  13048. - description: 委托单号
  13049. in: query
  13050. name: orderID
  13051. type: integer
  13052. - description: 交易模式 - 格式:1,2,3
  13053. in: query
  13054. name: tradeMode
  13055. type: string
  13056. - description: 委托单据类型
  13057. in: query
  13058. name: buildType
  13059. type: integer
  13060. - description: 成交类别 - 格式:1,2,3
  13061. in: query
  13062. name: tradeType
  13063. type: string
  13064. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13065. in: query
  13066. name: startDate
  13067. type: string
  13068. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13069. in: query
  13070. name: endDate
  13071. type: string
  13072. produces:
  13073. - application/json
  13074. responses:
  13075. "200":
  13076. description: OK
  13077. schema:
  13078. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  13079. "500":
  13080. description: Internal Server Error
  13081. schema:
  13082. $ref: '#/definitions/app.Response'
  13083. security:
  13084. - ApiKeyAuth: []
  13085. summary: 历史成交单查询(合约市场)
  13086. tags:
  13087. - 通用单据
  13088. /Order/QueryHisTradeOrderDetail:
  13089. get:
  13090. parameters:
  13091. - description: 资金账户 - 格式:1,2,3
  13092. in: query
  13093. name: accountID
  13094. required: true
  13095. type: string
  13096. - description: 交易模式 - 格式:1,2,3
  13097. in: query
  13098. name: tradeMode
  13099. type: string
  13100. - description: 委托状态 - 格式:1,2,3
  13101. in: query
  13102. name: orderStatus
  13103. type: string
  13104. - description: 委托单号
  13105. in: query
  13106. name: orderID
  13107. type: integer
  13108. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13109. in: query
  13110. name: startDate
  13111. type: string
  13112. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13113. in: query
  13114. name: endDate
  13115. type: string
  13116. produces:
  13117. - application/json
  13118. responses:
  13119. "200":
  13120. description: OK
  13121. schema:
  13122. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  13123. "500":
  13124. description: Internal Server Error
  13125. schema:
  13126. $ref: '#/definitions/app.Response'
  13127. security:
  13128. - ApiKeyAuth: []
  13129. summary: 历史委托单查询请求(合约市场)
  13130. tags:
  13131. - 通用单据
  13132. /Order/QueryTradeDetail:
  13133. get:
  13134. parameters:
  13135. - description: 资金账户 - 格式:1,2,3
  13136. in: query
  13137. name: accountID
  13138. required: true
  13139. type: string
  13140. - description: 成交单号
  13141. in: query
  13142. name: tradeID
  13143. type: integer
  13144. - description: 委托单号
  13145. in: query
  13146. name: orderID
  13147. type: integer
  13148. - description: 交易模式 - 格式:1,2,3
  13149. in: query
  13150. name: tradeMode
  13151. type: string
  13152. - description: 委托单据类型
  13153. in: query
  13154. name: buildType
  13155. type: integer
  13156. - description: 成交类别 - 格式:1,2,3
  13157. in: query
  13158. name: tradeType
  13159. type: string
  13160. produces:
  13161. - application/json
  13162. responses:
  13163. "200":
  13164. description: OK
  13165. schema:
  13166. $ref: '#/definitions/order.QueryTradeDetailRsp'
  13167. "500":
  13168. description: Internal Server Error
  13169. schema:
  13170. $ref: '#/definitions/app.Response'
  13171. security:
  13172. - ApiKeyAuth: []
  13173. summary: 成交单查询(合约市场)
  13174. tags:
  13175. - 通用单据
  13176. /Order/QueryTradeOrderDetail:
  13177. get:
  13178. parameters:
  13179. - description: 资金账户 - 格式:1,2,3
  13180. in: query
  13181. name: accountID
  13182. required: true
  13183. type: string
  13184. - description: 交易模式 - 格式:1,2,3
  13185. in: query
  13186. name: tradeMode
  13187. type: string
  13188. - description: 委托状态 - 格式:1,2,3
  13189. in: query
  13190. name: orderStatus
  13191. type: string
  13192. - description: 委托单号
  13193. in: query
  13194. name: orderID
  13195. type: integer
  13196. produces:
  13197. - application/json
  13198. responses:
  13199. "200":
  13200. description: OK
  13201. schema:
  13202. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  13203. "500":
  13204. description: Internal Server Error
  13205. schema:
  13206. $ref: '#/definitions/app.Response'
  13207. security:
  13208. - ApiKeyAuth: []
  13209. summary: 委托单查询请求(合约市场)
  13210. tags:
  13211. - 通用单据
  13212. /Order/QueryTradePosition:
  13213. get:
  13214. parameters:
  13215. - description: 资金账户 - 格式:1,2,3
  13216. in: query
  13217. name: accountID
  13218. required: true
  13219. type: string
  13220. - description: 交易模式 - 格式:1,2,3
  13221. in: query
  13222. name: tradeMode
  13223. type: string
  13224. produces:
  13225. - application/json
  13226. responses:
  13227. "200":
  13228. description: OK
  13229. schema:
  13230. $ref: '#/definitions/order.QueryTradePositionRsp'
  13231. "500":
  13232. description: Internal Server Error
  13233. schema:
  13234. $ref: '#/definitions/app.Response'
  13235. security:
  13236. - ApiKeyAuth: []
  13237. summary: 持仓汇总查询(合约市场)
  13238. tags:
  13239. - 通用单据
  13240. /Quote/QueryHistoryDatas:
  13241. get:
  13242. parameters:
  13243. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  13244. 日线'
  13245. in: query
  13246. name: cycleType
  13247. required: true
  13248. type: integer
  13249. - description: 商品代码
  13250. in: query
  13251. name: goodsCode
  13252. required: true
  13253. type: string
  13254. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13255. in: query
  13256. name: startTime
  13257. type: string
  13258. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13259. in: query
  13260. name: endTime
  13261. type: string
  13262. - description: 条数
  13263. in: query
  13264. name: count
  13265. type: integer
  13266. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13267. in: query
  13268. name: isAsc
  13269. type: boolean
  13270. produces:
  13271. - application/json
  13272. responses:
  13273. "200":
  13274. description: OK
  13275. schema:
  13276. $ref: '#/definitions/quote.HistoryData'
  13277. "500":
  13278. description: Internal Server Error
  13279. schema:
  13280. $ref: '#/definitions/app.Response'
  13281. security:
  13282. - ApiKeyAuth: []
  13283. summary: 查询行情历史数据
  13284. tags:
  13285. - 行情服务
  13286. /Quote/QueryHistoryTikDatas:
  13287. get:
  13288. parameters:
  13289. - description: 商品代码
  13290. in: query
  13291. name: goodsCode
  13292. required: true
  13293. type: string
  13294. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13295. in: query
  13296. name: startTime
  13297. type: string
  13298. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13299. in: query
  13300. name: endTime
  13301. type: string
  13302. - description: 条数
  13303. in: query
  13304. name: count
  13305. type: integer
  13306. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13307. in: query
  13308. name: isAsc
  13309. type: boolean
  13310. produces:
  13311. - application/json
  13312. responses:
  13313. "200":
  13314. description: OK
  13315. schema:
  13316. $ref: '#/definitions/quote.HistoryTikData'
  13317. "500":
  13318. description: Internal Server Error
  13319. schema:
  13320. $ref: '#/definitions/app.Response'
  13321. security:
  13322. - ApiKeyAuth: []
  13323. summary: 查询行情Tik数据
  13324. tags:
  13325. - 行情服务
  13326. /Quote/QueryQuoteDay:
  13327. get:
  13328. parameters:
  13329. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13330. in: query
  13331. name: goodsCodes
  13332. required: true
  13333. type: string
  13334. produces:
  13335. - application/json
  13336. responses:
  13337. "200":
  13338. description: OK
  13339. schema:
  13340. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13341. "500":
  13342. description: Internal Server Error
  13343. schema:
  13344. $ref: '#/definitions/app.Response'
  13345. security:
  13346. - ApiKeyAuth: []
  13347. summary: 获取商品盘面信息
  13348. tags:
  13349. - 行情服务
  13350. /Quote/QueryTSData:
  13351. get:
  13352. parameters:
  13353. - description: 商品代码
  13354. in: query
  13355. name: goodsCode
  13356. required: true
  13357. type: string
  13358. produces:
  13359. - application/json
  13360. responses:
  13361. "200":
  13362. description: OK
  13363. schema:
  13364. $ref: '#/definitions/quote.QueryTSDataRsp'
  13365. "500":
  13366. description: Internal Server Error
  13367. schema:
  13368. $ref: '#/definitions/app.Response'
  13369. security:
  13370. - ApiKeyAuth: []
  13371. summary: 分时图数据查询
  13372. tags:
  13373. - 行情服务
  13374. /SZDZ/QueryConvertConfig:
  13375. get:
  13376. parameters:
  13377. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13378. 6:交易转花生米(不设置)
  13379. in: query
  13380. name: convertType
  13381. type: integer
  13382. - description: 外部商品代码[JD\PD]
  13383. in: query
  13384. name: outerGoodsCode
  13385. type: string
  13386. - description: 内部商品ID列表[交易],格式:1,2,3
  13387. in: query
  13388. name: innerGoodsIDs
  13389. type: string
  13390. produces:
  13391. - application/json
  13392. responses:
  13393. "200":
  13394. description: OK
  13395. schema:
  13396. $ref: '#/definitions/models.Szdz3convertconfig'
  13397. "500":
  13398. description: Internal Server Error
  13399. schema:
  13400. $ref: '#/definitions/app.Response'
  13401. security:
  13402. - ApiKeyAuth: []
  13403. summary: 查询交易系统转换设置
  13404. tags:
  13405. - 定制【尚志大宗】
  13406. /SZDZ/QueryConvertLog:
  13407. get:
  13408. parameters:
  13409. - description: 资金账户 - 格式:1,2,3
  13410. in: query
  13411. name: accountID
  13412. required: true
  13413. type: string
  13414. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13415. in: query
  13416. name: startDate
  13417. type: string
  13418. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13419. in: query
  13420. name: endDate
  13421. type: string
  13422. produces:
  13423. - application/json
  13424. responses:
  13425. "200":
  13426. description: OK
  13427. schema:
  13428. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13429. "500":
  13430. description: Internal Server Error
  13431. schema:
  13432. $ref: '#/definitions/app.Response'
  13433. security:
  13434. - ApiKeyAuth: []
  13435. summary: 交易系统转换流水查询
  13436. tags:
  13437. - 定制【尚志大宗】
  13438. /SZDZ/QueryGoodsPickup:
  13439. get:
  13440. parameters:
  13441. - description: 资金账户 - 格式:1,2,3
  13442. in: query
  13443. name: accountID
  13444. required: true
  13445. type: string
  13446. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13447. in: query
  13448. name: takeOrderStatus
  13449. type: integer
  13450. produces:
  13451. - application/json
  13452. responses:
  13453. "200":
  13454. description: OK
  13455. schema:
  13456. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13457. "500":
  13458. description: Internal Server Error
  13459. schema:
  13460. $ref: '#/definitions/app.Response'
  13461. security:
  13462. - ApiKeyAuth: []
  13463. summary: 商品提货单查询
  13464. tags:
  13465. - 定制【尚志大宗】
  13466. /SZDZ/QueryRecieptOrder:
  13467. get:
  13468. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13469. parameters:
  13470. - description: 页码
  13471. in: query
  13472. name: page
  13473. type: integer
  13474. - description: 每页条数
  13475. in: query
  13476. name: pagesize
  13477. type: integer
  13478. - description: 商品ID
  13479. in: query
  13480. name: goodsID
  13481. required: true
  13482. type: integer
  13483. - description: 所属账户名称
  13484. in: query
  13485. name: accountName
  13486. type: string
  13487. - description: 市场ID
  13488. in: query
  13489. name: marketID
  13490. type: integer
  13491. - description: 方向 - 0:买 1:卖
  13492. in: query
  13493. name: buyorsell
  13494. required: true
  13495. type: integer
  13496. produces:
  13497. - application/json
  13498. responses:
  13499. "200":
  13500. description: OK
  13501. schema:
  13502. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13503. "500":
  13504. description: Internal Server Error
  13505. schema:
  13506. $ref: '#/definitions/app.Response'
  13507. security:
  13508. - ApiKeyAuth: []
  13509. summary: 点选挂牌委托单据查询(摘牌大厅)
  13510. tags:
  13511. - 定制【尚志大宗】
  13512. /SZDZ/QuerySZDZTradePosition:
  13513. get:
  13514. parameters:
  13515. - description: 资金账户
  13516. in: query
  13517. name: accountID
  13518. required: true
  13519. type: integer
  13520. produces:
  13521. - application/json
  13522. responses:
  13523. "200":
  13524. description: OK
  13525. schema:
  13526. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13527. "500":
  13528. description: Internal Server Error
  13529. schema:
  13530. $ref: '#/definitions/app.Response'
  13531. security:
  13532. - ApiKeyAuth: []
  13533. summary: 持仓汇总查询(尚志大宗)
  13534. tags:
  13535. - 定制【尚志大宗】
  13536. /SZDZ/SearchWhite:
  13537. get:
  13538. parameters:
  13539. - description: 用户ID
  13540. in: query
  13541. name: userID
  13542. required: true
  13543. type: integer
  13544. produces:
  13545. - application/json
  13546. responses:
  13547. "200":
  13548. description: OK
  13549. schema:
  13550. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13551. "500":
  13552. description: Internal Server Error
  13553. schema:
  13554. $ref: '#/definitions/app.Response'
  13555. security:
  13556. - ApiKeyAuth: []
  13557. summary: 搜索白名单
  13558. tags:
  13559. - 定制【尚志大宗】
  13560. /Search/SearchGoodses:
  13561. get:
  13562. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13563. parameters:
  13564. - description: 检索内容
  13565. in: query
  13566. name: content
  13567. required: true
  13568. type: string
  13569. - description: 交易模式,格式:1,2,3
  13570. in: query
  13571. name: tradeModes
  13572. type: string
  13573. produces:
  13574. - application/json
  13575. responses:
  13576. "200":
  13577. description: OK
  13578. schema:
  13579. $ref: '#/definitions/models.SearchGoods'
  13580. "500":
  13581. description: Internal Server Error
  13582. schema:
  13583. $ref: '#/definitions/app.Response'
  13584. summary: 检索商品信息
  13585. tags:
  13586. - 检索服务
  13587. /TaAccount/GetTaAccounts:
  13588. get:
  13589. parameters:
  13590. - description: 登录账户
  13591. in: query
  13592. name: loginID
  13593. required: true
  13594. type: integer
  13595. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13596. in: query
  13597. name: taAccountType
  13598. type: integer
  13599. produces:
  13600. - application/json
  13601. responses:
  13602. "200":
  13603. description: OK
  13604. schema:
  13605. $ref: '#/definitions/models.Taaccount'
  13606. "500":
  13607. description: Internal Server Error
  13608. schema:
  13609. $ref: '#/definitions/app.Response'
  13610. security:
  13611. - ApiKeyAuth: []
  13612. summary: 获取资金账户信息
  13613. tags:
  13614. - 资金账户
  13615. /TaAccount/QueryAmountLog:
  13616. get:
  13617. parameters:
  13618. - description: 页码
  13619. in: query
  13620. name: page
  13621. type: integer
  13622. - description: 每页条数
  13623. in: query
  13624. name: pagesize
  13625. type: integer
  13626. - description: 资金账户 - 格式:1,2,3
  13627. in: query
  13628. name: accountID
  13629. required: true
  13630. type: string
  13631. - description: 资金操作类型 - 格式:1,2,3
  13632. in: query
  13633. name: OperateType
  13634. type: string
  13635. produces:
  13636. - application/json
  13637. responses:
  13638. "200":
  13639. description: OK
  13640. schema:
  13641. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13642. "500":
  13643. description: Internal Server Error
  13644. schema:
  13645. $ref: '#/definitions/app.Response'
  13646. security:
  13647. - ApiKeyAuth: []
  13648. summary: 资金流水查询(当前)
  13649. tags:
  13650. - 资金账户
  13651. /TaAccount/QueryHisAmountLog:
  13652. get:
  13653. parameters:
  13654. - description: 页码
  13655. in: query
  13656. name: page
  13657. type: integer
  13658. - description: 每页条数
  13659. in: query
  13660. name: pagesize
  13661. type: integer
  13662. - description: 资金账户 - 格式:1,2,3
  13663. in: query
  13664. name: accountID
  13665. required: true
  13666. type: string
  13667. - description: 资金操作类型 - 格式:1,2,3
  13668. in: query
  13669. name: OperateType
  13670. type: string
  13671. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13672. in: query
  13673. name: startDate
  13674. type: string
  13675. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13676. in: query
  13677. name: endDate
  13678. type: string
  13679. produces:
  13680. - application/json
  13681. responses:
  13682. "200":
  13683. description: OK
  13684. schema:
  13685. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  13686. "500":
  13687. description: Internal Server Error
  13688. schema:
  13689. $ref: '#/definitions/app.Response'
  13690. security:
  13691. - ApiKeyAuth: []
  13692. summary: 资金流水查询(历史)
  13693. tags:
  13694. - 资金账户
  13695. /Trade/QueryRecieptOrder:
  13696. get:
  13697. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13698. parameters:
  13699. - description: 页码
  13700. in: query
  13701. name: page
  13702. type: integer
  13703. - description: 每页条数
  13704. in: query
  13705. name: pagesize
  13706. type: integer
  13707. - description: 商品ID
  13708. in: query
  13709. name: goodsID
  13710. required: true
  13711. type: integer
  13712. - description: 所属账户名称
  13713. in: query
  13714. name: accountName
  13715. type: string
  13716. - description: 市场ID
  13717. in: query
  13718. name: marketID
  13719. type: integer
  13720. - description: 方向 - 0:买 1:卖
  13721. in: query
  13722. name: buyorsell
  13723. required: true
  13724. type: integer
  13725. produces:
  13726. - application/json
  13727. responses:
  13728. "200":
  13729. description: OK
  13730. schema:
  13731. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  13732. "500":
  13733. description: Internal Server Error
  13734. schema:
  13735. $ref: '#/definitions/app.Response'
  13736. security:
  13737. - ApiKeyAuth: []
  13738. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  13739. tags:
  13740. - 通用交易
  13741. /User/AddMessageBoard:
  13742. post:
  13743. parameters:
  13744. - description: 用户ID
  13745. in: query
  13746. name: userID
  13747. required: true
  13748. type: integer
  13749. - description: 留言信息
  13750. in: query
  13751. name: message
  13752. required: true
  13753. type: string
  13754. - description: 联系电话
  13755. in: query
  13756. name: contactNum
  13757. required: true
  13758. type: string
  13759. produces:
  13760. - application/json
  13761. responses:
  13762. "200":
  13763. description: OK
  13764. schema:
  13765. $ref: '#/definitions/app.Response'
  13766. "500":
  13767. description: Internal Server Error
  13768. schema:
  13769. $ref: '#/definitions/app.Response'
  13770. security:
  13771. - ApiKeyAuth: []
  13772. summary: 添加用户留言板信息
  13773. tags:
  13774. - 用户信息
  13775. /User/AddUserFavoriteGoods:
  13776. post:
  13777. parameters:
  13778. - description: 用户ID
  13779. in: query
  13780. name: userID
  13781. required: true
  13782. type: integer
  13783. - description: 商品ID
  13784. in: query
  13785. name: goodsID
  13786. required: true
  13787. type: integer
  13788. produces:
  13789. - application/json
  13790. responses:
  13791. "200":
  13792. description: OK
  13793. schema:
  13794. $ref: '#/definitions/app.Response'
  13795. "500":
  13796. description: Internal Server Error
  13797. schema:
  13798. $ref: '#/definitions/app.Response'
  13799. security:
  13800. - ApiKeyAuth: []
  13801. summary: 添加用户商品收藏信息
  13802. tags:
  13803. - 用户信息
  13804. /User/GetLoginID:
  13805. get:
  13806. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  13807. parameters:
  13808. - description: 登录代码
  13809. in: query
  13810. name: username
  13811. required: true
  13812. type: string
  13813. produces:
  13814. - application/json
  13815. responses:
  13816. "200":
  13817. description: OK
  13818. schema:
  13819. $ref: '#/definitions/app.Response'
  13820. "500":
  13821. description: Internal Server Error
  13822. schema:
  13823. $ref: '#/definitions/app.Response'
  13824. summary: 获取登录ID
  13825. tags:
  13826. - 用户信息
  13827. /User/GetUserAccount:
  13828. get:
  13829. parameters:
  13830. - description: 用户ID
  13831. in: query
  13832. name: userID
  13833. required: true
  13834. type: integer
  13835. produces:
  13836. - application/json
  13837. responses:
  13838. "200":
  13839. description: OK
  13840. schema:
  13841. $ref: '#/definitions/models.Useraccount'
  13842. "500":
  13843. description: Internal Server Error
  13844. schema:
  13845. $ref: '#/definitions/app.Response'
  13846. security:
  13847. - ApiKeyAuth: []
  13848. summary: 获取用户账号信息
  13849. tags:
  13850. - 用户信息
  13851. /User/GetUserAuthStatus:
  13852. get:
  13853. parameters:
  13854. - description: 用户ID
  13855. in: query
  13856. name: userID
  13857. required: true
  13858. type: integer
  13859. produces:
  13860. - application/json
  13861. responses:
  13862. "200":
  13863. description: OK
  13864. schema:
  13865. $ref: '#/definitions/app.Response'
  13866. "500":
  13867. description: Internal Server Error
  13868. schema:
  13869. $ref: '#/definitions/app.Response'
  13870. security:
  13871. - ApiKeyAuth: []
  13872. summary: 获取用户实名认证状态
  13873. tags:
  13874. - 用户信息
  13875. /User/LoginQuery:
  13876. get:
  13877. parameters:
  13878. - description: 登录账号
  13879. in: query
  13880. name: loginID
  13881. required: true
  13882. type: integer
  13883. produces:
  13884. - application/json
  13885. responses:
  13886. "200":
  13887. description: OK
  13888. schema:
  13889. $ref: '#/definitions/user.LoginQueryRsp'
  13890. "500":
  13891. description: Internal Server Error
  13892. schema:
  13893. $ref: '#/definitions/app.Response'
  13894. security:
  13895. - ApiKeyAuth: []
  13896. summary: 账户登录后信息查询
  13897. tags:
  13898. - 用户信息
  13899. /User/QueryMessageBoard:
  13900. get:
  13901. parameters:
  13902. - description: 用户ID
  13903. in: query
  13904. name: userID
  13905. required: true
  13906. type: integer
  13907. produces:
  13908. - application/json
  13909. responses:
  13910. "200":
  13911. description: OK
  13912. schema:
  13913. $ref: '#/definitions/models.Messageboard'
  13914. "500":
  13915. description: Internal Server Error
  13916. schema:
  13917. $ref: '#/definitions/app.Response'
  13918. security:
  13919. - ApiKeyAuth: []
  13920. summary: 获取用户留言板信息
  13921. tags:
  13922. - 用户信息
  13923. /User/QueryUserFavoriteGoodses:
  13924. get:
  13925. parameters:
  13926. - description: 用户ID
  13927. in: query
  13928. name: userID
  13929. required: true
  13930. type: integer
  13931. produces:
  13932. - application/json
  13933. responses:
  13934. "200":
  13935. description: OK
  13936. schema:
  13937. $ref: '#/definitions/models.Userfavoritegoods'
  13938. "500":
  13939. description: Internal Server Error
  13940. schema:
  13941. $ref: '#/definitions/app.Response'
  13942. security:
  13943. - ApiKeyAuth: []
  13944. summary: 获取用户商品收藏信息
  13945. tags:
  13946. - 用户信息
  13947. /User/QueryUserInfo:
  13948. get:
  13949. parameters:
  13950. - description: 用户ID
  13951. in: query
  13952. name: userID
  13953. required: true
  13954. type: integer
  13955. - description: 是否解密
  13956. in: query
  13957. name: isDecrypt
  13958. type: boolean
  13959. produces:
  13960. - application/json
  13961. responses:
  13962. "200":
  13963. description: OK
  13964. schema:
  13965. $ref: '#/definitions/models.Userinfo'
  13966. "500":
  13967. description: Internal Server Error
  13968. schema:
  13969. $ref: '#/definitions/app.Response'
  13970. security:
  13971. - ApiKeyAuth: []
  13972. summary: 获取用户信息
  13973. tags:
  13974. - 用户信息
  13975. /User/QueryUserReferNum:
  13976. get:
  13977. parameters:
  13978. - description: 用户ID
  13979. in: query
  13980. name: userID
  13981. required: true
  13982. type: integer
  13983. produces:
  13984. - application/json
  13985. responses:
  13986. "200":
  13987. description: OK
  13988. schema:
  13989. $ref: '#/definitions/app.Response'
  13990. "500":
  13991. description: Internal Server Error
  13992. schema:
  13993. $ref: '#/definitions/app.Response'
  13994. summary: 获取用户邀请码
  13995. tags:
  13996. - 用户信息
  13997. /User/RemoveUserFavoriteGoods:
  13998. post:
  13999. parameters:
  14000. - description: 用户ID
  14001. in: query
  14002. name: userID
  14003. required: true
  14004. type: integer
  14005. - description: 商品ID
  14006. in: query
  14007. name: goodsID
  14008. required: true
  14009. type: integer
  14010. produces:
  14011. - application/json
  14012. responses:
  14013. "200":
  14014. description: OK
  14015. schema:
  14016. $ref: '#/definitions/app.Response'
  14017. "500":
  14018. description: Internal Server Error
  14019. schema:
  14020. $ref: '#/definitions/app.Response'
  14021. security:
  14022. - ApiKeyAuth: []
  14023. summary: 移除用户商品收藏信息
  14024. tags:
  14025. - 用户信息
  14026. /User/UpdateUserAccountStatus:
  14027. post:
  14028. parameters:
  14029. - description: 用户ID
  14030. in: query
  14031. name: userID
  14032. required: true
  14033. type: integer
  14034. - description: 账户状态 - 4:正常 6:注销(停用)
  14035. in: query
  14036. name: accountStatus
  14037. required: true
  14038. type: integer
  14039. produces:
  14040. - application/json
  14041. responses:
  14042. "200":
  14043. description: OK
  14044. schema:
  14045. $ref: '#/definitions/app.Response'
  14046. "500":
  14047. description: Internal Server Error
  14048. schema:
  14049. $ref: '#/definitions/app.Response'
  14050. security:
  14051. - ApiKeyAuth: []
  14052. summary: 更新用户状态
  14053. tags:
  14054. - 用户信息
  14055. /WR/GetWRCategoryInfo:
  14056. get:
  14057. produces:
  14058. - application/json
  14059. responses:
  14060. "200":
  14061. description: OK
  14062. schema:
  14063. $ref: '#/definitions/models.WRCategoryTree'
  14064. "500":
  14065. description: Internal Server Error
  14066. schema:
  14067. $ref: '#/definitions/app.Response'
  14068. summary: 获取现货分类信息
  14069. tags:
  14070. - 仓单服务
  14071. /WRTrade/GetAllDeliveryGoods:
  14072. get:
  14073. produces:
  14074. - application/json
  14075. - application/json
  14076. responses:
  14077. "200":
  14078. description: OK
  14079. schema:
  14080. $ref: '#/definitions/app.Response'
  14081. "500":
  14082. description: Internal Server Error
  14083. schema:
  14084. $ref: '#/definitions/app.Response'
  14085. security:
  14086. - ApiKeyAuth: []
  14087. - ApiKeyAuth: []
  14088. summary: 获取带仓单分类的种类信息
  14089. tags:
  14090. - 仓单贸易
  14091. - 仓单贸易
  14092. securityDefinitions:
  14093. ApiKeyAuth:
  14094. in: header
  14095. name: Authorization
  14096. type: apiKey
  14097. swagger: "2.0"