swagger.yaml 346 KB

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