swagger.yaml 321 KB

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