swagger.yaml 362 KB

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