swagger.yaml 250 KB

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