swagger.yaml 313 KB

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