swagger.yaml 352 KB

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