swagger.yaml 237 KB

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