swagger.yaml 351 KB

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