swagger.yaml 353 KB

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