swagger.yaml 184 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696
  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. erms2.QueryArbitrageStrategyRsp:
  845. properties:
  846. applybasis:
  847. description: 申请基差
  848. type: number
  849. asapplyid:
  850. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  851. type: string
  852. asname:
  853. description: 策略名称
  854. type: string
  855. asno:
  856. description: 策略编号
  857. type: string
  858. basischangepl:
  859. description: 基差变动损益[结算更新]
  860. type: number
  861. biztype:
  862. description: 业务类型 - 1:正向套利 -1:反向套利
  863. type: integer
  864. closetradedate:
  865. description: 完结交易日(yyyyMMdd)
  866. type: string
  867. curbasis:
  868. description: 当前基差[结算更新]
  869. type: number
  870. deliverygoodsid:
  871. description: 现货品种ID
  872. type: integer
  873. futureavgprice:
  874. description: 期货建仓均价
  875. type: number
  876. futurecloseamount:
  877. description: 期货平仓金额
  878. type: number
  879. futurecloseqty:
  880. description: 期货平仓数量
  881. type: number
  882. futureopenamount:
  883. description: 期货开仓金额
  884. type: number
  885. futureopenqty:
  886. description: 期货开仓数量
  887. type: number
  888. futurepl:
  889. description: 期货总盈亏[结算更新]
  890. type: number
  891. futureqty:
  892. description: 期货持仓数量
  893. type: number
  894. futurequote:
  895. description: 期货额度
  896. type: number
  897. goodsgroupid:
  898. description: 期货品种ID
  899. type: integer
  900. marketid:
  901. description: 市场ID
  902. type: integer
  903. netexposure:
  904. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  905. type: number
  906. netexposurepl:
  907. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  908. type: number
  909. netexposurerate:
  910. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  911. type: number
  912. openbasis:
  913. description: 建仓基差
  914. type: number
  915. pricedspotqty:
  916. description: 已定价现货数量
  917. type: number
  918. pricedspotqtynotax:
  919. description: 已定价现货不含税数量
  920. type: number
  921. remark:
  922. description: 备注
  923. type: string
  924. spotavgprice:
  925. description: 现货均价
  926. type: number
  927. spotbuyamount:
  928. description: 现货采购金额
  929. type: number
  930. spotbuyqty:
  931. description: 现货采购数量
  932. type: number
  933. spotpl:
  934. description: 现货总盈亏[结算更新]
  935. type: number
  936. spotquota:
  937. description: 现货额度
  938. type: number
  939. spotsellamount:
  940. description: 现货销售金额
  941. type: number
  942. spotsellqty:
  943. description: 现货销售数量
  944. type: number
  945. spotusedquota:
  946. description: 现货占用资金
  947. type: number
  948. strategystatus:
  949. description: 策略状态 - 0:未结束 1:已结束
  950. type: integer
  951. totalpl:
  952. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  953. type: number
  954. tradedate:
  955. description: 交易日(yyyyMMdd)
  956. type: string
  957. updatetime:
  958. description: 更新时间
  959. type: string
  960. usedquota:
  961. description: 已占用资金
  962. type: number
  963. userid:
  964. description: 所属机构
  965. type: integer
  966. required:
  967. - asapplyid
  968. type: object
  969. erms2.QueryInnerTradeDetailRsp:
  970. properties:
  971. accountid:
  972. description: 账号ID
  973. type: integer
  974. agreeunit:
  975. description: 合约单位
  976. type: number
  977. asapplyid:
  978. description: 策略申请ID
  979. type: integer
  980. asname:
  981. description: 策略名称
  982. type: string
  983. asno:
  984. description: 策略编号
  985. type: string
  986. buyorsell:
  987. description: 方向 - 0:买 1:卖
  988. type: integer
  989. channelbuildtype:
  990. description: 委托单据类型 0:无 1:建仓 2:平仓
  991. type: integer
  992. closetype:
  993. description: 平仓方式 - 0:无 1:平今 2:平昨
  994. type: integer
  995. decimalplace:
  996. description: 报价小数位
  997. type: integer
  998. detailtype:
  999. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1000. type: integer
  1001. exexchangecode:
  1002. description: 外部交易所代码
  1003. type: string
  1004. exexchangename:
  1005. description: 外部交易所名称
  1006. type: string
  1007. goodscode:
  1008. description: 商品代码(合约)
  1009. type: string
  1010. goodsgroupid:
  1011. description: 商品组ID(品种ID)
  1012. type: integer
  1013. goodsgroupname:
  1014. description: 商品组名称(品种)
  1015. type: string
  1016. goodsid:
  1017. description: 商品ID
  1018. type: integer
  1019. goodsname:
  1020. description: 商品名称(合约)
  1021. type: string
  1022. goodunit:
  1023. description: 报价单位
  1024. type: string
  1025. marketid:
  1026. description: 市场ID
  1027. type: integer
  1028. orderid:
  1029. description: 委托单号
  1030. type: string
  1031. outgoodscode:
  1032. description: 商品代码(外部)
  1033. type: string
  1034. relatedouttradeid:
  1035. description: 关联外部成交单ID
  1036. type: string
  1037. remark:
  1038. description: 备注
  1039. type: string
  1040. spotcontractid:
  1041. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1042. type: integer
  1043. spotcontractno:
  1044. description: 现货合同编号
  1045. type: string
  1046. tradeid:
  1047. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1048. type: string
  1049. tradeprice:
  1050. description: 成交价格
  1051. type: number
  1052. tradeqty:
  1053. description: 成交数量
  1054. type: integer
  1055. tradetime:
  1056. description: 成交时间
  1057. type: string
  1058. updatetime:
  1059. description: 更新时间
  1060. type: string
  1061. required:
  1062. - asapplyid
  1063. - buyorsell
  1064. - goodscode
  1065. - goodsgroupid
  1066. - goodsgroupname
  1067. - goodsname
  1068. - tradeid
  1069. type: object
  1070. erms2.QuerySpotContractRsp:
  1071. properties:
  1072. accountid:
  1073. description: 资金账户ID
  1074. type: integer
  1075. areauserid:
  1076. description: 所属机构
  1077. type: integer
  1078. closedate:
  1079. description: 终止日期
  1080. type: string
  1081. closeremark:
  1082. description: 结束备注
  1083. type: string
  1084. closetradedate:
  1085. description: 完结交易日(yyyyMMdd)
  1086. type: string
  1087. closetype:
  1088. description: 终止类型 - 1:违约 2:提前终止
  1089. type: integer
  1090. contractamount:
  1091. description: 合同金额
  1092. type: number
  1093. contractattachment:
  1094. description: 合同附件
  1095. type: string
  1096. contractno:
  1097. description: 现货合同编号
  1098. type: string
  1099. contractqty:
  1100. description: 合同数量(数值) (用于计算)
  1101. type: number
  1102. contractqtychar:
  1103. description: 合同数量\已订价数量 (用于显示)
  1104. type: string
  1105. contractstatus:
  1106. description: 合同状态 - 0:未结束 1:已结束
  1107. type: integer
  1108. contracttype:
  1109. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1110. type: integer
  1111. customeraccountid:
  1112. description: 客户资金账户ID
  1113. type: integer
  1114. customeruserid:
  1115. description: 客户ID
  1116. type: integer
  1117. deliverygoodsdesc:
  1118. description: 品种说明
  1119. type: string
  1120. deliverygoodsid:
  1121. description: 现货品种ID
  1122. type: integer
  1123. handlestatus:
  1124. description: 处理状态
  1125. type: integer
  1126. invoiceatt:
  1127. description: 发票附件
  1128. type: string
  1129. invoicedatetime:
  1130. description: 开收票更新时间
  1131. type: string
  1132. invoiceopentime:
  1133. description: 开票时间
  1134. type: string
  1135. invoiceremark:
  1136. description: 发票备注
  1137. type: string
  1138. invoicestatus:
  1139. description: 开收票状态 - 0:未开票 1:已开票
  1140. type: integer
  1141. lastdate:
  1142. description: 交货时间
  1143. type: string
  1144. marketid:
  1145. description: 市场ID
  1146. type: integer
  1147. paydatetime:
  1148. description: 收付款更新时间
  1149. type: string
  1150. payremark:
  1151. description: 收付款备注
  1152. type: string
  1153. paystatus:
  1154. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1155. type: integer
  1156. positionqty:
  1157. description: 头寸数量 - 合同数量去小数部分
  1158. type: integer
  1159. producttype:
  1160. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1161. type: integer
  1162. relatedqty:
  1163. description: 已关联数量
  1164. type: number
  1165. relatedstatus:
  1166. description: 关联完结状态 - 0:未结束 1:已结束
  1167. type: integer
  1168. remark:
  1169. description: 备注
  1170. type: string
  1171. signdate:
  1172. description: 签订日期
  1173. type: string
  1174. spotcontractid:
  1175. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1176. type: string
  1177. spotdatetime:
  1178. description: 收发货更新时间
  1179. type: string
  1180. spotprice:
  1181. description: 价格
  1182. type: number
  1183. spotremark:
  1184. description: 收发货备注
  1185. type: string
  1186. spotstatus:
  1187. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1188. type: integer
  1189. tradedate:
  1190. description: 交易日(yyyyMMdd)
  1191. type: string
  1192. userid:
  1193. description: 业务员用户ID
  1194. type: integer
  1195. warehouseid:
  1196. description: 仓库ID
  1197. type: integer
  1198. wrfactortypeid:
  1199. description: 仓单要素类型ID
  1200. type: integer
  1201. wrstandardid:
  1202. description: 仓单标准ID(SEQ_WRSTANDARD)
  1203. type: integer
  1204. required:
  1205. - spotcontractid
  1206. type: object
  1207. erms3.AddSpotContractApplyReq:
  1208. properties:
  1209. accountid:
  1210. description: 资金账户ID
  1211. type: integer
  1212. areauserid:
  1213. description: 所属机构
  1214. type: integer
  1215. contractattachment:
  1216. description: 合同附件
  1217. type: string
  1218. contractno:
  1219. description: 现货合同编号
  1220. type: string
  1221. contracttype:
  1222. description: 现货合同类型 - 1:采购 -1:销售
  1223. type: integer
  1224. creatorid:
  1225. description: 申请人
  1226. type: integer
  1227. customeraccountid:
  1228. description: 客户资金账户ID
  1229. type: integer
  1230. customeruserid:
  1231. description: 客户ID
  1232. type: integer
  1233. details:
  1234. description: 明细
  1235. items:
  1236. $ref: '#/definitions/erms3.SoptContractDetail'
  1237. type: array
  1238. orimargin:
  1239. description: 初始保证金
  1240. type: number
  1241. remark:
  1242. description: 备注
  1243. type: string
  1244. signdate:
  1245. description: 签订日期
  1246. type: string
  1247. required:
  1248. - accountid
  1249. - areauserid
  1250. - contractno
  1251. - contracttype
  1252. - customeraccountid
  1253. - customeruserid
  1254. - details
  1255. - orimargin
  1256. - signdate
  1257. type: object
  1258. erms3.AddSpotContractApplyRsp:
  1259. properties:
  1260. contractno:
  1261. description: 现货合同编号
  1262. type: string
  1263. spotcontractid:
  1264. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1265. type: integer
  1266. required:
  1267. - contractno
  1268. type: object
  1269. erms3.AddUserInfoApplyReq:
  1270. properties:
  1271. accountid:
  1272. description: 交易系统帐号Id (加密存储)
  1273. type: integer
  1274. areacode:
  1275. description: 机构代码
  1276. type: string
  1277. areaid:
  1278. description: 机构Id
  1279. type: integer
  1280. attachment1:
  1281. description: 附件1
  1282. type: string
  1283. attachment2:
  1284. description: 附件2
  1285. type: string
  1286. attachment3:
  1287. description: 附件3
  1288. type: string
  1289. attachment4:
  1290. description: 附件4
  1291. type: string
  1292. attachment5:
  1293. description: 附件5
  1294. type: string
  1295. auditedby:
  1296. description: 审核人
  1297. type: string
  1298. auditime:
  1299. description: 审核时间
  1300. type: string
  1301. bankaccount:
  1302. description: 银行帐号 (加密存储)
  1303. type: string
  1304. bankaccountname:
  1305. description: 收款人名称
  1306. type: string
  1307. bankcardbackphotourl:
  1308. description: 银行卡背面照地址
  1309. type: string
  1310. bankcardfrontphotourl:
  1311. description: 银行卡正面照地址
  1312. type: string
  1313. bankid:
  1314. description: 银行编码
  1315. type: string
  1316. bankname:
  1317. description: 银行名称
  1318. type: string
  1319. bankpictureurl:
  1320. description: 银行卡正面地址
  1321. type: string
  1322. biznature:
  1323. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1324. type: integer
  1325. bizscope:
  1326. description: 企业经营范围(企业)
  1327. type: string
  1328. biztype:
  1329. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1330. type: integer
  1331. brokerid:
  1332. description: 经纪人ID(加密存储)
  1333. type: string
  1334. cardaddress:
  1335. description: 证件地址 (加密存储)
  1336. type: string
  1337. cardbackphotourl:
  1338. description: 背面证件照地址
  1339. type: string
  1340. cardfrontphotourl:
  1341. description: 正面证件照地址
  1342. type: string
  1343. cardnum:
  1344. description: 证件号码 (加密存储)
  1345. type: string
  1346. cardtype:
  1347. description: 证件类型
  1348. type: integer
  1349. cityid:
  1350. description: 市
  1351. type: integer
  1352. company:
  1353. description: 公司(个人)
  1354. type: string
  1355. contactcardbackphotourl:
  1356. description: 联系人证件背面图片地址
  1357. type: string
  1358. contactcardfrontphotourl:
  1359. description: 联系人证件正面图片地址
  1360. type: string
  1361. contactname:
  1362. description: 联系人
  1363. type: string
  1364. countryid:
  1365. description: 国家
  1366. type: integer
  1367. createtime:
  1368. description: 开户申请时间
  1369. type: string
  1370. cusbankid:
  1371. description: 签约类型
  1372. type: string
  1373. cusbankname:
  1374. description: 签约类型名称
  1375. type: string
  1376. customername:
  1377. description: 客户名称(企业名称)
  1378. type: string
  1379. districtid:
  1380. description: 地区
  1381. type: integer
  1382. email:
  1383. description: Email地址(加密存储)
  1384. type: string
  1385. halfbodyphotourl:
  1386. description: 半身照地址
  1387. type: string
  1388. headurl:
  1389. description: 头像地址
  1390. type: string
  1391. ipaddress:
  1392. description: IP地址
  1393. type: string
  1394. isvalidate:
  1395. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1396. type: string
  1397. legalcardbackphotourl:
  1398. description: 法人身份证背面照地址
  1399. type: string
  1400. legalcardfrontphotourl:
  1401. description: 法人身份证正面照地址
  1402. type: string
  1403. legalpersonname:
  1404. description: 法人姓名(企业)
  1405. type: string
  1406. logincode:
  1407. description: 登录帐号 (加密存储)
  1408. type: string
  1409. memberareaid:
  1410. description: 所属会员ID
  1411. type: integer
  1412. mobile2:
  1413. description: 手机号码[明文-尚志]
  1414. type: string
  1415. mobilephone:
  1416. description: 手机号码 (加密存储)
  1417. type: string
  1418. modifiedby:
  1419. description: 修改人帐号
  1420. type: integer
  1421. modifiedtime:
  1422. description: 修改时间
  1423. type: string
  1424. nickname:
  1425. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1426. type: string
  1427. openmode:
  1428. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1429. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1430. type: integer
  1431. otherurl:
  1432. description: 其它图片地址[使用分号分隔]
  1433. type: string
  1434. postalcode:
  1435. description: 邮政编码
  1436. type: string
  1437. provinceid:
  1438. description: 省
  1439. type: integer
  1440. proxystatementurl:
  1441. description: 授权委托书
  1442. type: string
  1443. qq:
  1444. description: QQ(加密存储
  1445. type: string
  1446. referral:
  1447. description: 推荐人编码
  1448. type: string
  1449. remark:
  1450. description: 备注
  1451. type: string
  1452. removebeforestatus:
  1453. description: REMOVEBEFORESTATUS
  1454. type: integer
  1455. sex:
  1456. description: 性别 - 0:女 1:男
  1457. type: integer
  1458. signedstatus:
  1459. description: 账户一号签签约状态
  1460. type: integer
  1461. signpdfurl:
  1462. description: 签约pdf文件
  1463. type: string
  1464. subbranch:
  1465. description: 开户支行
  1466. type: string
  1467. telphone:
  1468. description: 联系电话(加密存储)
  1469. type: string
  1470. userid:
  1471. description: 用户ID(自增ID)
  1472. type: integer
  1473. userinfotype:
  1474. description: 用户信息类型 - 1:个人 2:企业
  1475. type: integer
  1476. username:
  1477. description: 用户姓名
  1478. type: string
  1479. userstate:
  1480. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1481. type: integer
  1482. usertype:
  1483. description: 用户类型 - 1:投资者 2:机构
  1484. type: integer
  1485. videourl:
  1486. description: 视频地址
  1487. type: string
  1488. wechat:
  1489. description: 微信号 (加密存储)
  1490. type: string
  1491. required:
  1492. - userid
  1493. type: object
  1494. erms3.CustomerInfo:
  1495. properties:
  1496. accountids:
  1497. description: 资金账户ID列表
  1498. items:
  1499. type: integer
  1500. type: array
  1501. customername:
  1502. description: 名称(企业名称)
  1503. type: string
  1504. mobile:
  1505. description: 手机号码
  1506. type: string
  1507. userid:
  1508. description: 用户ID
  1509. type: integer
  1510. required:
  1511. - userid
  1512. type: object
  1513. erms3.QryAuditContractRsp:
  1514. properties:
  1515. accountid:
  1516. description: 交易员ID
  1517. type: string
  1518. applystatus:
  1519. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1520. type: integer
  1521. curdeliveryqty:
  1522. description: 未交收量
  1523. type: integer
  1524. customername:
  1525. description: 采购方ID
  1526. type: string
  1527. deliverygoodsid:
  1528. description: 品种ID
  1529. type: string
  1530. deliveryqty:
  1531. description: 交收量
  1532. type: integer
  1533. enumdicname:
  1534. description: 单位名称
  1535. type: string
  1536. matchaccountid:
  1537. description: 业务员ID
  1538. type: string
  1539. matchcustomername:
  1540. description: 销售方ID
  1541. type: string
  1542. pricedqty:
  1543. description: 定价量
  1544. type: number
  1545. signdate:
  1546. description: 签订日期
  1547. type: string
  1548. spotcontractid:
  1549. description: 合同ID
  1550. type: string
  1551. totaldqty:
  1552. description: 合同量
  1553. type: number
  1554. unpricedqty:
  1555. description: 未定价量
  1556. type: number
  1557. wrstandardname:
  1558. description: 商品名称
  1559. type: string
  1560. required:
  1561. - matchcustomername
  1562. - spotcontractid
  1563. type: object
  1564. erms3.QryPendingBizRsp:
  1565. $ref: '#/definitions/models.PendingAuditBizModel'
  1566. erms3.QueryBusinessInfoRsp:
  1567. properties:
  1568. businessid:
  1569. description: 业务ID.
  1570. type: integer
  1571. buyamount:
  1572. description: 采购额.
  1573. type: number
  1574. buyqty:
  1575. description: 采购量.
  1576. type: string
  1577. futurepl:
  1578. description: 期货盈亏.
  1579. type: number
  1580. futureqty:
  1581. description: 期货敞口.
  1582. type: string
  1583. goodsid:
  1584. description: 商品名称/商品代码.
  1585. type: string
  1586. hedgingqty:
  1587. description: 套保量.
  1588. type: string
  1589. sellamount:
  1590. description: 销售额.
  1591. type: number
  1592. sellqty:
  1593. description: 销售量.
  1594. type: string
  1595. spotmarketvalue:
  1596. description: 现货市值.
  1597. type: number
  1598. spotpl:
  1599. description: 浮动权益.
  1600. type: number
  1601. spotqty:
  1602. description: 现货量.
  1603. type: string
  1604. statu:
  1605. description: 状态,0-未结束 1-已结束.
  1606. type: integer
  1607. totalpl:
  1608. description: 总盈亏.
  1609. type: number
  1610. totalqty:
  1611. description: 总敞口.
  1612. type: string
  1613. type:
  1614. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1615. type: integer
  1616. type: object
  1617. erms3.QuerySpotContractAppleFormRsp:
  1618. properties:
  1619. goodses:
  1620. description: 合约列表
  1621. items:
  1622. $ref: '#/definitions/models.GoodsIDAndName'
  1623. type: array
  1624. oppositeusers:
  1625. description: 对方账号列表
  1626. items:
  1627. $ref: '#/definitions/erms3.CustomerInfo'
  1628. type: array
  1629. ouruser:
  1630. $ref: '#/definitions/erms3.CustomerInfo'
  1631. description: 我方账号
  1632. type: object
  1633. warehouseinfos:
  1634. description: 仓库信息列表
  1635. items:
  1636. $ref: '#/definitions/models.Warehouseinfo'
  1637. type: array
  1638. wrstandards:
  1639. description: 仓单标准列表
  1640. items:
  1641. $ref: '#/definitions/models.WRStandardInfo'
  1642. type: array
  1643. type: object
  1644. erms3.QuerySpotContractInfoRsp:
  1645. properties:
  1646. accountid:
  1647. description: 表示交易员ID.
  1648. type: integer
  1649. curdeliveryqty:
  1650. description: 表示未交收量.
  1651. type: number
  1652. customername:
  1653. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1654. type: string
  1655. deliverygoodsid:
  1656. description: 表示品种ID.
  1657. type: string
  1658. deliveryqty:
  1659. description: 表示交收量.
  1660. type: number
  1661. matchaccountid:
  1662. description: 表示业务员ID.
  1663. type: integer
  1664. matchcustomername:
  1665. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1666. type: string
  1667. priceqty:
  1668. description: 表示定价量.
  1669. type: number
  1670. relatedbizid:
  1671. description: 表示业务ID.
  1672. type: string
  1673. signdate:
  1674. description: 表示签订日期.
  1675. type: string
  1676. spotcontractid:
  1677. description: 合同ID
  1678. type: string
  1679. status:
  1680. description: 表示状态,0-履约中 1-已完成.
  1681. type: integer
  1682. totalqty:
  1683. description: 表示合同量.
  1684. type: number
  1685. unpricedqty:
  1686. description: 表示未定价量.
  1687. type: number
  1688. wrstandardname:
  1689. description: 表示商品ID.
  1690. type: string
  1691. type: object
  1692. erms3.QueryUserInfoAppliesRsp:
  1693. properties:
  1694. biznature:
  1695. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1696. type: integer
  1697. contactname:
  1698. description: 联系人
  1699. type: string
  1700. createtime:
  1701. description: 开户申请时间
  1702. type: string
  1703. userid:
  1704. description: 用户ID(自增ID)
  1705. type: integer
  1706. userinfotype:
  1707. description: 用户信息类型 - 1:个人 2:企业
  1708. type: integer
  1709. username:
  1710. description: 用户姓名
  1711. type: string
  1712. userstate:
  1713. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1714. type: integer
  1715. required:
  1716. - userid
  1717. type: object
  1718. erms3.QueryUserInfosRsp:
  1719. properties:
  1720. biznature:
  1721. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1722. type: integer
  1723. contactname:
  1724. description: 联系人
  1725. type: string
  1726. customername:
  1727. description: 客户名称(企业名称)
  1728. type: string
  1729. userid:
  1730. description: 用户ID
  1731. type: integer
  1732. userinfotype:
  1733. description: 用户信息类型 - 1:个人 2:企业
  1734. type: integer
  1735. userstatus:
  1736. description: 用户状态 - 1:正常 2:注销
  1737. type: integer
  1738. required:
  1739. - userid
  1740. type: object
  1741. erms3.SoptContractDetail:
  1742. properties:
  1743. deliverygoodsdesc:
  1744. description: 现货品种说明
  1745. type: string
  1746. deliverygoodsid:
  1747. description: 现货品种ID
  1748. type: integer
  1749. deliverygoodsname:
  1750. description: 现货品种名称
  1751. type: string
  1752. pointdesc:
  1753. description: 点价描述
  1754. type: string
  1755. producttype:
  1756. description: 产品类型 1:标准仓单 2:等标 3:非标
  1757. type: integer
  1758. producttypename:
  1759. description: 产品类型名称
  1760. type: string
  1761. spotPointOrderVoList:
  1762. description: 点价列表
  1763. items:
  1764. $ref: '#/definitions/erms3.SpotPointOrder'
  1765. type: array
  1766. spotPriceOrderList:
  1767. description: 定价列表
  1768. items:
  1769. $ref: '#/definitions/erms3.SpotPriceOrder'
  1770. type: array
  1771. unitname:
  1772. description: 单位名称
  1773. type: string
  1774. warehouseid:
  1775. description: 仓库ID
  1776. type: integer
  1777. warehousename:
  1778. description: 仓库名称
  1779. type: string
  1780. wrstandardid:
  1781. description: 交易标的ID
  1782. type: integer
  1783. wrstandardname:
  1784. description: 交易标的名称
  1785. type: string
  1786. required:
  1787. - deliverygoodsid
  1788. - producttype
  1789. - unitname
  1790. - warehouseid
  1791. - wrstandardid
  1792. - wrstandardname
  1793. type: object
  1794. erms3.SpotPointOrder:
  1795. properties:
  1796. basic:
  1797. description: 基差
  1798. type: number
  1799. deliveryendtdate:
  1800. description: 交收结束日期
  1801. type: string
  1802. deliverystartdate:
  1803. description: 交收开始日期
  1804. type: string
  1805. enddate:
  1806. description: 点价结束日期
  1807. type: string
  1808. goodsid:
  1809. description: 商品ID
  1810. type: integer
  1811. goodsname:
  1812. description: 商品名称
  1813. type: string
  1814. qty:
  1815. description: 数量
  1816. type: number
  1817. startdate:
  1818. description: 点价开始日期
  1819. type: string
  1820. required:
  1821. - basic
  1822. - goodsid
  1823. - qty
  1824. type: object
  1825. erms3.SpotPriceOrder:
  1826. properties:
  1827. amount:
  1828. description: 金额
  1829. type: number
  1830. deliveryendtdate:
  1831. description: 交收结束日期
  1832. type: string
  1833. deliverystartdate:
  1834. description: 交收开始日期
  1835. type: string
  1836. price:
  1837. description: 价格
  1838. type: number
  1839. qty:
  1840. description: 数量
  1841. type: number
  1842. required:
  1843. - amount
  1844. - price
  1845. - qty
  1846. type: object
  1847. hsby.GetHsbyMyCountRsp:
  1848. properties:
  1849. myOrderDetailListingCount:
  1850. description: 我的订单求购中数量
  1851. type: integer
  1852. myOrderDetailPreCount:
  1853. description: 我的订单抢购中数量
  1854. type: integer
  1855. myPackageUnReceiveCount:
  1856. description: 我的包裹待收货数量
  1857. type: integer
  1858. myPackageUnSendCount:
  1859. description: 我的包裹待发货数量
  1860. type: integer
  1861. type: object
  1862. hsby.QueryProvincesAndCitiesRsp:
  1863. properties:
  1864. cities:
  1865. description: 市
  1866. items:
  1867. $ref: '#/definitions/models.Division'
  1868. type: array
  1869. province:
  1870. $ref: '#/definitions/models.Division'
  1871. description: 省
  1872. type: object
  1873. type: object
  1874. models.Division:
  1875. properties:
  1876. autoid:
  1877. description: 自增ID
  1878. type: integer
  1879. divisioncode:
  1880. description: 行政代码
  1881. type: string
  1882. divisionlevel:
  1883. description: 行政级别
  1884. type: string
  1885. divisionname:
  1886. description: 行政名称
  1887. type: string
  1888. modifierid:
  1889. description: 修改人
  1890. type: integer
  1891. modifytime:
  1892. description: 修改时间
  1893. type: string
  1894. parentcode:
  1895. description: 上级行政代码
  1896. type: string
  1897. pathname:
  1898. description: 路径名称
  1899. type: string
  1900. postcode:
  1901. description: 邮政编码
  1902. type: string
  1903. separablename:
  1904. description: 可拆分的全称
  1905. type: string
  1906. shortcode:
  1907. description: 地区简码
  1908. type: string
  1909. required:
  1910. - autoid
  1911. - divisioncode
  1912. type: object
  1913. models.Enumdicitem:
  1914. properties:
  1915. autoid:
  1916. description: 自增ID
  1917. type: integer
  1918. bankmappedvalue:
  1919. description: 银行服务对应值
  1920. type: string
  1921. enumdiccode:
  1922. description: 所属枚举代码
  1923. type: string
  1924. enumdicid:
  1925. description: 所属枚举ID
  1926. type: integer
  1927. enumdicname:
  1928. description: 枚举项名称
  1929. type: string
  1930. enumitemname:
  1931. description: 枚举项值
  1932. type: integer
  1933. enumitemstatus:
  1934. description: 枚举项状态 - 1.启用 2.不启用
  1935. type: integer
  1936. enumitemvalue:
  1937. description: 通用值 - [币种通用简写]
  1938. type: string
  1939. param1:
  1940. description: 参数1[币种:币种小数位]
  1941. type: string
  1942. param2:
  1943. description: 参数1[币种:币种显示单位]
  1944. type: string
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. required:
  1949. - autoid
  1950. - enumdiccode
  1951. - enumdicid
  1952. - enumitemname
  1953. type: object
  1954. models.GoodsIDAndName:
  1955. properties:
  1956. goodscode:
  1957. description: 商品代码(内部)
  1958. type: string
  1959. goodsid:
  1960. description: 商品ID(自增ID SEQ_GOODS)
  1961. type: integer
  1962. goodsname:
  1963. description: 商品名称
  1964. type: string
  1965. marketid:
  1966. description: 所属市场ID
  1967. type: integer
  1968. required:
  1969. - goodscode
  1970. - goodsid
  1971. - goodsname
  1972. - marketid
  1973. type: object
  1974. models.HsbyBuyMyTradeDetail:
  1975. properties:
  1976. accountid:
  1977. description: 账户ID[报价币种]
  1978. type: integer
  1979. agreeunit:
  1980. description: 合约单位
  1981. type: number
  1982. amount:
  1983. description: 金额 = 价格 * 数量 * 合约单位
  1984. type: number
  1985. buyorsell:
  1986. description: 买卖 - 0:买 1:卖
  1987. type: integer
  1988. currencysign:
  1989. description: 货币符号
  1990. type: string
  1991. decimalplace:
  1992. description: 报价小数位
  1993. type: integer
  1994. goodscode:
  1995. description: 商品代码(内部)
  1996. type: string
  1997. goodsid:
  1998. description: 商品ID
  1999. type: integer
  2000. goodsname:
  2001. description: 商品名称
  2002. type: string
  2003. marketid:
  2004. description: 市场ID
  2005. type: integer
  2006. orderid:
  2007. description: 单号(成交单号)
  2008. type: string
  2009. picurls1:
  2010. description: 预售商品介绍图片[多张用逗号分隔]
  2011. type: string
  2012. picurls2:
  2013. description: 挂牌商品介绍图片[多张用逗号分隔]
  2014. type: string
  2015. price:
  2016. description: 价格
  2017. type: number
  2018. qty:
  2019. description: 数量
  2020. type: integer
  2021. time:
  2022. description: 时间
  2023. type: string
  2024. trademode:
  2025. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2026. 21:竞拍-大宗式 22:受托竞价
  2027. type: integer
  2028. vendorname1:
  2029. description: 预售商品供应商名称
  2030. type: string
  2031. vendorname2:
  2032. description: 挂牌商品供应商名称
  2033. type: string
  2034. required:
  2035. - accountid
  2036. - buyorsell
  2037. - goodscode
  2038. - goodsid
  2039. - goodsname
  2040. - marketid
  2041. - orderid
  2042. - qty
  2043. - time
  2044. - trademode
  2045. type: object
  2046. models.HsbyGoodsOrderDetail:
  2047. properties:
  2048. buyorsell:
  2049. description: 买卖 - 0:买 1:卖
  2050. type: integer
  2051. currencysign:
  2052. description: 货币符号
  2053. type: string
  2054. customername:
  2055. description: 客户名称(企业名称),已脱敏
  2056. type: string
  2057. enableqty:
  2058. description: 可用数量
  2059. type: integer
  2060. goodunit:
  2061. description: 报价单位
  2062. type: string
  2063. orderid:
  2064. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2065. type: string
  2066. orderprice:
  2067. description: 委托价格
  2068. type: number
  2069. ordertime:
  2070. description: 委托时间
  2071. type: string
  2072. required:
  2073. - buyorsell
  2074. - orderid
  2075. - ordertime
  2076. type: object
  2077. models.HsbyListingGoodsDetail:
  2078. properties:
  2079. agreeunit:
  2080. description: 合约单位
  2081. type: number
  2082. currency:
  2083. description: 货币
  2084. type: string
  2085. currencysign:
  2086. description: 货币符号
  2087. type: string
  2088. decimalplace:
  2089. description: 报价小数位
  2090. type: integer
  2091. desccityid:
  2092. description: 目的地(市)ID
  2093. type: integer
  2094. descprovinceid:
  2095. description: 目的地(省)ID
  2096. type: integer
  2097. goodscode:
  2098. description: 商品代码(内部)
  2099. type: string
  2100. goodsdesc:
  2101. description: 商品详情
  2102. type: string
  2103. goodsid:
  2104. description: 商品ID(自增ID SEQ_GOODS)
  2105. type: integer
  2106. goodsname:
  2107. description: 商品名称
  2108. type: string
  2109. hotindex:
  2110. description: 景点热度
  2111. type: integer
  2112. last:
  2113. description: 现价
  2114. type: number
  2115. limitdown:
  2116. description: 跌停价
  2117. type: number
  2118. limitup:
  2119. description: 涨停价
  2120. type: number
  2121. lotsize:
  2122. description: 手数最小变动单位
  2123. type: integer
  2124. marketid:
  2125. description: 所属市场ID
  2126. type: integer
  2127. picurls:
  2128. description: 介绍图片[多张用逗号分隔]
  2129. type: string
  2130. quoteminunit:
  2131. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2132. type: integer
  2133. stepvalue:
  2134. description: 价格最小变动单位
  2135. type: number
  2136. trademode:
  2137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2138. 21:竞拍-大宗式 22:受托竞价
  2139. type: integer
  2140. vendorattr:
  2141. description: 供应商附件(多张,逗号分隔)
  2142. type: string
  2143. vendorname:
  2144. description: 供应商名称
  2145. type: string
  2146. vendorphone:
  2147. description: 供应商客服电话
  2148. type: string
  2149. videourls:
  2150. description: 介绍视频[多张用逗号分隔]
  2151. type: string
  2152. required:
  2153. - goodscode
  2154. - goodsid
  2155. - goodsname
  2156. - marketid
  2157. - trademode
  2158. type: object
  2159. models.HsbyMyGoods:
  2160. properties:
  2161. accountid:
  2162. description: 账号Id
  2163. type: integer
  2164. agreeunit:
  2165. description: 合约单位
  2166. type: number
  2167. buyaverageprice:
  2168. description: 持仓均价
  2169. type: number
  2170. buycurholderamount:
  2171. description: 买当前持仓总金额[商品币种]
  2172. type: number
  2173. buycurpositionqty:
  2174. description: 买当前持仓总数量
  2175. type: integer
  2176. currencysign:
  2177. description: 货币符号
  2178. type: string
  2179. decimalplace:
  2180. description: 报价小数位
  2181. type: integer
  2182. enableqty:
  2183. description: 可用数量
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码(内部)
  2187. type: string
  2188. goodsid:
  2189. description: 商品Id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. goodsstatus:
  2195. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2196. type: integer
  2197. picurls:
  2198. description: 介绍图片[多张用逗号分隔]
  2199. type: string
  2200. required:
  2201. - accountid
  2202. - goodscode
  2203. - goodsid
  2204. - goodsname
  2205. type: object
  2206. models.HsbyMyPackage:
  2207. properties:
  2208. accountid:
  2209. description: 账户ID
  2210. type: integer
  2211. address:
  2212. description: 提货人详细地址
  2213. type: string
  2214. agreeunit:
  2215. description: 合约单位
  2216. type: number
  2217. amount:
  2218. description: 提货金额
  2219. type: number
  2220. auditer:
  2221. description: 审核人
  2222. type: integer
  2223. audittime:
  2224. description: 审核时间
  2225. type: string
  2226. averageprice:
  2227. description: 均价
  2228. type: number
  2229. cardnum:
  2230. description: 提货人证件号码
  2231. type: string
  2232. cardtypeid:
  2233. description: 提货人证件类型
  2234. type: integer
  2235. checkremark:
  2236. description: 审核备注
  2237. type: string
  2238. currencysign:
  2239. description: 货币符号
  2240. type: string
  2241. decimalplace:
  2242. description: 报价小数位
  2243. type: integer
  2244. goodscode:
  2245. description: 商品代码(内部)
  2246. type: string
  2247. goodsid:
  2248. description: 商品ID
  2249. type: integer
  2250. goodsname:
  2251. description: 商品名称
  2252. type: string
  2253. handlestatus:
  2254. description: 处理状态
  2255. type: integer
  2256. marketid:
  2257. description: 市场ID
  2258. type: integer
  2259. phonenum:
  2260. description: 提货人联系方式
  2261. type: string
  2262. picurls:
  2263. description: 介绍图片[多张用逗号分隔]
  2264. type: string
  2265. qty:
  2266. description: 提货数量
  2267. type: number
  2268. recivername:
  2269. description: 提货人姓名
  2270. type: string
  2271. reqtime:
  2272. description: 更新时间
  2273. type: string
  2274. takemode:
  2275. description: 提货方式 - 2:自提 3:配送
  2276. type: integer
  2277. takeorderid:
  2278. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2279. type: string
  2280. takeorderstatus:
  2281. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2282. type: integer
  2283. takeremark:
  2284. description: 提货备注
  2285. type: string
  2286. tradedate:
  2287. description: 交易日(yyyyMMdd)
  2288. type: string
  2289. userid:
  2290. description: 用户ID
  2291. type: integer
  2292. vendorname:
  2293. description: 供应商名称
  2294. type: string
  2295. required:
  2296. - goodscode
  2297. - goodsname
  2298. - takeorderid
  2299. type: object
  2300. models.HsbyPreGoods:
  2301. properties:
  2302. agreeunit:
  2303. description: 合约单位
  2304. type: number
  2305. currency:
  2306. description: 货币
  2307. type: string
  2308. currencysign:
  2309. description: 货币符号
  2310. type: string
  2311. decimalplace:
  2312. description: 报价小数位
  2313. type: integer
  2314. enableqty:
  2315. description: 剩余数量
  2316. type: integer
  2317. goodscode:
  2318. description: 商品代码(内部)
  2319. type: string
  2320. goodsid:
  2321. description: 商品ID(自增ID SEQ_GOODS)
  2322. type: integer
  2323. goodsname:
  2324. description: 商品名称
  2325. type: string
  2326. goodsstatus:
  2327. description: 商品状态- 2:未上市 3:上市
  2328. type: integer
  2329. lasttradedate:
  2330. description: 最后交易日期(状态:待退市)
  2331. type: string
  2332. listingdate:
  2333. description: 交易开始日期
  2334. type: string
  2335. marketid:
  2336. description: 所属市场ID
  2337. type: integer
  2338. picurls:
  2339. description: 介绍图片[多张用逗号分隔]
  2340. type: string
  2341. presaledqty:
  2342. description: 已预售量(预售结束时更新)
  2343. type: integer
  2344. presaleqty:
  2345. description: 预售数量
  2346. type: integer
  2347. quoteminunit:
  2348. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2349. type: integer
  2350. refprice:
  2351. description: 参考价格[一口价]
  2352. type: number
  2353. relatedgoodsid:
  2354. description: 关联交易合约ID
  2355. type: integer
  2356. trademode:
  2357. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2358. 21:竞拍-大宗式 22:受托竞价
  2359. type: integer
  2360. videourls:
  2361. description: 介绍视频[多张用逗号分隔]
  2362. type: string
  2363. required:
  2364. - goodscode
  2365. - goodsid
  2366. - goodsname
  2367. - marketid
  2368. - trademode
  2369. type: object
  2370. models.HsbyPreGoodsDetail:
  2371. properties:
  2372. agreeunit:
  2373. description: 合约单位
  2374. type: number
  2375. buymaxqty:
  2376. description: 购买上限 [71] - 0为不限
  2377. type: integer
  2378. currency:
  2379. description: 货币
  2380. type: string
  2381. currencysign:
  2382. description: 货币符号
  2383. type: string
  2384. customername:
  2385. description: 发行单位
  2386. type: string
  2387. decimalplace:
  2388. description: 报价小数位
  2389. type: integer
  2390. desccityid:
  2391. description: 目的地(市)ID
  2392. type: integer
  2393. descprovinceid:
  2394. description: 目的地(省)ID
  2395. type: integer
  2396. enableqty:
  2397. description: 剩余数量
  2398. type: integer
  2399. goodscode:
  2400. description: 商品代码(内部)
  2401. type: string
  2402. goodsdesc:
  2403. description: 商品详情
  2404. type: string
  2405. goodsid:
  2406. description: 商品ID(自增ID SEQ_GOODS)
  2407. type: integer
  2408. goodsname:
  2409. description: 商品名称
  2410. type: string
  2411. goodsstatus:
  2412. description: 商品状态- 2:未上市 3:上市
  2413. type: integer
  2414. goodunit:
  2415. description: 报价单位
  2416. type: string
  2417. lasttradedate:
  2418. description: 最后交易日期(状态:待退市)
  2419. type: string
  2420. listingdate:
  2421. description: 交易开始日期
  2422. type: string
  2423. lotsize:
  2424. description: 手数最小变动单位
  2425. type: integer
  2426. marketid:
  2427. description: 所属市场ID
  2428. type: integer
  2429. picurls:
  2430. description: 介绍图片[多张用逗号分隔]
  2431. type: string
  2432. presaledqty:
  2433. description: 已预售量(预售结束时更新)
  2434. type: integer
  2435. presaleqty:
  2436. description: 预售数量
  2437. type: integer
  2438. quoteminunit:
  2439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2440. type: integer
  2441. refprice:
  2442. description: 参考价格[一口价]
  2443. type: number
  2444. relatedgoodsid:
  2445. description: 关联交易合约ID
  2446. type: integer
  2447. stepvalue:
  2448. description: 价格最小变动单位
  2449. type: number
  2450. trademode:
  2451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2452. 21:竞拍-大宗式 22:受托竞价
  2453. type: integer
  2454. vendorattr:
  2455. description: 供应商附件(多张,逗号分隔)
  2456. type: string
  2457. vendorname:
  2458. description: 供应商名称
  2459. type: string
  2460. vendorphone:
  2461. description: 供应商客服电话
  2462. type: string
  2463. videourls:
  2464. description: 介绍视频[多张用逗号分隔]
  2465. type: string
  2466. required:
  2467. - goodscode
  2468. - goodsid
  2469. - goodsname
  2470. - marketid
  2471. - trademode
  2472. type: object
  2473. models.HsbySellMyDetail:
  2474. properties:
  2475. accountid:
  2476. description: 账户ID[报价币种]
  2477. type: integer
  2478. agreeunit:
  2479. description: 合约单位
  2480. type: number
  2481. amount:
  2482. description: 金额 = 价格 * 数量 * 合约单位
  2483. type: number
  2484. buyorsell:
  2485. description: 买卖 - 0:买 1:卖
  2486. type: integer
  2487. currencysign:
  2488. description: 货币符号
  2489. type: string
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. goodscode:
  2494. description: 商品代码(内部)
  2495. type: string
  2496. goodsid:
  2497. description: 商品ID
  2498. type: integer
  2499. goodsname:
  2500. description: 商品名称
  2501. type: string
  2502. marketid:
  2503. description: 市场ID
  2504. type: integer
  2505. orderid:
  2506. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2507. type: string
  2508. ordertype:
  2509. description: 单据类型:0 - 已发布, 1 - 已完成
  2510. type: integer
  2511. picurls:
  2512. description: 介绍图片[多张用逗号分隔]
  2513. type: string
  2514. price:
  2515. description: 价格
  2516. type: number
  2517. qty:
  2518. description: 数量
  2519. type: integer
  2520. time:
  2521. description: 时间
  2522. type: string
  2523. trademode:
  2524. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2525. 21:竞拍-大宗式 22:受托竞价
  2526. type: integer
  2527. vendorname:
  2528. description: 供应商名称
  2529. type: string
  2530. required:
  2531. - accountid
  2532. - buyorsell
  2533. - goodscode
  2534. - goodsid
  2535. - goodsname
  2536. - marketid
  2537. - orderid
  2538. - qty
  2539. - time
  2540. - trademode
  2541. type: object
  2542. models.HsbyTopGoods:
  2543. properties:
  2544. agreeunit:
  2545. description: 合约单位
  2546. type: number
  2547. currency:
  2548. description: 货币
  2549. type: string
  2550. currencysign:
  2551. description: 货币符号
  2552. type: string
  2553. decimalplace:
  2554. description: 报价小数位
  2555. type: integer
  2556. goodscode:
  2557. description: 商品代码(内部)
  2558. type: string
  2559. goodsid:
  2560. description: 商品ID(自增ID SEQ_GOODS)
  2561. type: integer
  2562. goodsname:
  2563. description: 商品名称
  2564. type: string
  2565. hotindex:
  2566. description: 景点热度
  2567. type: integer
  2568. last:
  2569. description: 现价
  2570. type: number
  2571. marketid:
  2572. description: 所属市场ID
  2573. type: integer
  2574. picurls:
  2575. description: 介绍图片[多张用逗号分隔]
  2576. type: string
  2577. quoteminunit:
  2578. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2579. type: integer
  2580. trademode:
  2581. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2582. 21:竞拍-大宗式 22:受托竞价
  2583. type: integer
  2584. videourls:
  2585. description: 介绍视频[多张用逗号分隔]
  2586. type: string
  2587. required:
  2588. - goodscode
  2589. - goodsid
  2590. - goodsname
  2591. - marketid
  2592. - trademode
  2593. type: object
  2594. models.HybsMyBuyOrderDetail:
  2595. properties:
  2596. accountid:
  2597. description: 账户ID[报价币种]
  2598. type: integer
  2599. agreeunit:
  2600. description: 合约单位
  2601. type: number
  2602. buyorsell:
  2603. description: 买卖 - 0:买 1:卖
  2604. type: integer
  2605. cancelqty:
  2606. description: 撤单数量
  2607. type: integer
  2608. currencysign:
  2609. description: 货币符号
  2610. type: string
  2611. decimalplace:
  2612. description: 报价小数位
  2613. type: integer
  2614. goodscode:
  2615. description: 商品代码(内部)
  2616. type: string
  2617. goodsid:
  2618. description: 商品ID
  2619. type: integer
  2620. goodsname:
  2621. description: 商品名称
  2622. type: string
  2623. listingselecttype:
  2624. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2625. type: integer
  2626. marketid:
  2627. description: 市场ID
  2628. type: integer
  2629. mybuystatus:
  2630. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2631. type: integer
  2632. orderamount:
  2633. description: 委托金额
  2634. type: number
  2635. orderid:
  2636. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2637. type: string
  2638. orderprice:
  2639. description: 委托价格
  2640. type: number
  2641. orderqty:
  2642. description: 委托数量
  2643. type: integer
  2644. orderstatus:
  2645. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2646. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2647. 16:成交失败违约(荷兰式竞拍专用)
  2648. type: integer
  2649. ordertime:
  2650. description: 委托时间
  2651. type: string
  2652. picurls1:
  2653. description: 预售商品介绍图片[多张用逗号分隔]
  2654. type: string
  2655. picurls2:
  2656. description: 挂牌商品介绍图片[多张用逗号分隔]
  2657. type: string
  2658. trademode:
  2659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2660. 21:竞拍-大宗式 22:受托竞价
  2661. type: integer
  2662. tradeqty:
  2663. description: 成交数量
  2664. type: integer
  2665. vendorname1:
  2666. description: 预售商品供应商名称
  2667. type: string
  2668. vendorname2:
  2669. description: 挂牌商品供应商名称
  2670. type: string
  2671. required:
  2672. - accountid
  2673. - buyorsell
  2674. - goodscode
  2675. - goodsid
  2676. - goodsname
  2677. - marketid
  2678. - orderid
  2679. - orderqty
  2680. - ordertime
  2681. - trademode
  2682. type: object
  2683. models.Messageboard:
  2684. properties:
  2685. createtime:
  2686. description: 创建时间
  2687. type: string
  2688. message:
  2689. description: 留言信息
  2690. type: string
  2691. messageboardid:
  2692. description: 留言簿ID(SEQ_MessageBoard)
  2693. type: integer
  2694. userid:
  2695. description: 用户ID
  2696. type: integer
  2697. required:
  2698. - messageboardid
  2699. type: object
  2700. models.OperationPrimaryMenu:
  2701. properties:
  2702. Children:
  2703. description: 二级功能菜单
  2704. items:
  2705. $ref: '#/definitions/models.OperationSecondaryMenu'
  2706. type: array
  2707. Key:
  2708. description: 菜单KEY
  2709. type: string
  2710. Label:
  2711. description: 菜单标题
  2712. type: string
  2713. type: object
  2714. models.OperationSecondaryMenu:
  2715. properties:
  2716. Key:
  2717. description: 菜单KEY
  2718. type: string
  2719. Label:
  2720. description: 菜单标题
  2721. type: string
  2722. TabList:
  2723. description: 三级功能菜单
  2724. items:
  2725. $ref: '#/definitions/models.OperationTabMenu'
  2726. type: array
  2727. type: object
  2728. models.OperationTabMenu:
  2729. properties:
  2730. Key:
  2731. description: 菜单KEY
  2732. type: string
  2733. Label:
  2734. description: 菜单标题
  2735. type: string
  2736. type: object
  2737. models.PendingAuditBizModel:
  2738. properties:
  2739. accountid:
  2740. description: 现货账户
  2741. type: string
  2742. areaname:
  2743. description: 所属部门
  2744. type: string
  2745. businessid:
  2746. description: 业务ID
  2747. type: string
  2748. businessname:
  2749. description: 业务名称
  2750. type: string
  2751. statu:
  2752. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2753. type: integer
  2754. type:
  2755. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  2756. type: integer
  2757. type: object
  2758. models.QuotePrimaryMenu:
  2759. properties:
  2760. Index:
  2761. description: 序号
  2762. type: integer
  2763. Key:
  2764. description: 键名
  2765. type: string
  2766. Name:
  2767. description: 菜单名称
  2768. type: string
  2769. SubMenus:
  2770. description: 子菜单
  2771. items:
  2772. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2773. type: array
  2774. SubTitleType:
  2775. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2776. type: integer
  2777. TradeModes:
  2778. description: 包含市场交易类型
  2779. type: string
  2780. type: object
  2781. models.QuoteSecondaryMenu:
  2782. properties:
  2783. ExExchangeCode:
  2784. description: 外部交易所代码
  2785. type: string
  2786. ExExchangeID:
  2787. description: 外部交易所ID
  2788. type: integer
  2789. GoodsGroupIDs:
  2790. description: 商品组ID列表
  2791. items:
  2792. type: integer
  2793. type: array
  2794. Index:
  2795. description: 序号
  2796. type: integer
  2797. MarketID:
  2798. description: 市场ID
  2799. type: integer
  2800. MenuTitle:
  2801. description: 菜单标题(市场名称或外部交易所名称)
  2802. type: string
  2803. TradeMode:
  2804. description: 交易模式
  2805. type: integer
  2806. type: object
  2807. models.SearchGoods:
  2808. properties:
  2809. goodscode:
  2810. description: 商品代码(内部)
  2811. type: string
  2812. goodsid:
  2813. description: 商品ID(自增ID SEQ_GOODS)
  2814. type: integer
  2815. goodsname:
  2816. description: 商品名称
  2817. type: string
  2818. marketid:
  2819. description: 所属市场ID
  2820. type: integer
  2821. marketname:
  2822. description: 市场名称
  2823. type: string
  2824. trademode:
  2825. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2826. 21:竞拍-大宗式 22:受托竞价
  2827. type: integer
  2828. required:
  2829. - goodscode
  2830. - goodsid
  2831. - goodsname
  2832. - marketid
  2833. - trademode
  2834. type: object
  2835. models.Szdz2imageconfig:
  2836. properties:
  2837. configid:
  2838. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2839. type: integer
  2840. imagepath:
  2841. description: 图片
  2842. type: string
  2843. imagetype:
  2844. description: 类型 - 1:App首页轮播 2:我的
  2845. type: integer
  2846. sort:
  2847. description: 排序
  2848. type: integer
  2849. title:
  2850. description: 标题
  2851. type: string
  2852. url:
  2853. description: 链接
  2854. type: string
  2855. required:
  2856. - configid
  2857. type: object
  2858. models.Szdz3convertconfig:
  2859. properties:
  2860. canin:
  2861. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2862. type: integer
  2863. canout:
  2864. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2865. type: integer
  2866. converttype:
  2867. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  2868. 6:交易转花生米(不设置)
  2869. type: integer
  2870. createtime:
  2871. description: 创建时间
  2872. type: string
  2873. creatorid:
  2874. description: 创建人
  2875. type: integer
  2876. daymaxvalue:
  2877. description: 当日最大转入限制
  2878. type: number
  2879. freezedays:
  2880. description: 冻结天数 [5:花生米转交易]
  2881. type: integer
  2882. innergoodsid:
  2883. description: 内部商品ID[交易]
  2884. type: integer
  2885. inratio:
  2886. description: 目标值
  2887. type: integer
  2888. modifierid:
  2889. description: 修改人
  2890. type: integer
  2891. modifytime:
  2892. description: 修改时间
  2893. type: string
  2894. outergoodscode:
  2895. description: 外部商品代码[JD\PD]
  2896. type: string
  2897. outratio:
  2898. description: 源值
  2899. type: integer
  2900. pddecimalplace:
  2901. description: PD小数位
  2902. type: integer
  2903. timemaxvalue:
  2904. description: 单次最大转入限制
  2905. type: number
  2906. timeminvalue:
  2907. description: 单次最小转入限制
  2908. type: number
  2909. required:
  2910. - converttype
  2911. - innergoodsid
  2912. - outergoodscode
  2913. type: object
  2914. models.Szdz3searchwhitelist:
  2915. properties:
  2916. createtime:
  2917. description: 创建时间
  2918. type: string
  2919. creatorid:
  2920. description: 创建人
  2921. type: integer
  2922. modifierid:
  2923. description: 修改人
  2924. type: integer
  2925. modifytime:
  2926. description: 修改时间
  2927. type: string
  2928. userid:
  2929. description: 用户ID
  2930. type: integer
  2931. required:
  2932. - userid
  2933. type: object
  2934. models.Tablecolumnconfig:
  2935. properties:
  2936. aligntype:
  2937. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2938. type: integer
  2939. autoid:
  2940. description: AutoID
  2941. type: integer
  2942. columnfield:
  2943. description: 列字段
  2944. type: string
  2945. columntitle:
  2946. description: 列Title
  2947. type: string
  2948. columnwidth:
  2949. description: 列宽
  2950. type: string
  2951. formatterstring:
  2952. description: 格式化字符
  2953. type: string
  2954. formattertype:
  2955. description: 格式化类型
  2956. type: string
  2957. groupname:
  2958. description: 表头分组名称
  2959. type: string
  2960. isshow:
  2961. description: 是否显示 - 0:不显示 1:显示
  2962. type: integer
  2963. needsummary:
  2964. description: 是否需要汇总 - 0:不需要 1:需要
  2965. type: integer
  2966. orderindex:
  2967. description: 顺序
  2968. type: integer
  2969. remark:
  2970. description: 备注
  2971. type: string
  2972. summarytype:
  2973. description: 汇总类型 - 1:加总 2:最后一个
  2974. type: integer
  2975. tablekey:
  2976. description: 列表Key
  2977. type: string
  2978. required:
  2979. - autoid
  2980. type: object
  2981. models.Useraccount:
  2982. properties:
  2983. accountname:
  2984. description: 账户名称(机构名称)
  2985. type: string
  2986. accountstatus:
  2987. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2988. type: integer
  2989. auditremark:
  2990. description: 审核备注
  2991. type: string
  2992. audittime:
  2993. description: 审核时间
  2994. type: string
  2995. audituserid:
  2996. description: 审核人
  2997. type: integer
  2998. broker:
  2999. description: 所属经纪人ID
  3000. type: integer
  3001. canceltime:
  3002. description: 销户时间
  3003. type: string
  3004. canceluserid:
  3005. description: 销户人
  3006. type: integer
  3007. createtime:
  3008. description: 创建时间
  3009. type: string
  3010. creatorid:
  3011. description: 创建人
  3012. type: integer
  3013. hasauth:
  3014. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3015. type: integer
  3016. isanonymous:
  3017. description: 是否匿名下单 - 0:否 1:是
  3018. type: integer
  3019. maxinvestornum:
  3020. description: 最大用户数(经纪会员下投资者个数)
  3021. type: integer
  3022. memberuserid:
  3023. description: 所属会员ID
  3024. type: integer
  3025. modifierid:
  3026. description: 修改人
  3027. type: integer
  3028. modifyremark:
  3029. description: 变更备注
  3030. type: string
  3031. modifystatus:
  3032. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3033. type: integer
  3034. modifytime:
  3035. description: 修改时间
  3036. type: string
  3037. parentuserid:
  3038. description: 所属机构ID
  3039. type: integer
  3040. reckonaccountid:
  3041. description: 默认结算资金账号ID(机构分润使用) 作废
  3042. type: integer
  3043. refercount:
  3044. description: 推荐总人数
  3045. type: integer
  3046. refereeuserid:
  3047. description: 推荐人ID
  3048. type: integer
  3049. refernum:
  3050. description: 推荐码
  3051. type: string
  3052. subarealevelpath:
  3053. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3054. type: string
  3055. userid:
  3056. description: 用户ID
  3057. type: integer
  3058. usertype:
  3059. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. models.Userfavoritegoods:
  3065. properties:
  3066. goodsid:
  3067. description: 商品ID
  3068. type: integer
  3069. required:
  3070. - goodsid
  3071. type: object
  3072. models.Userinfo:
  3073. properties:
  3074. address:
  3075. description: 地址
  3076. type: string
  3077. attachment1:
  3078. description: 附件1
  3079. type: string
  3080. attachment2:
  3081. description: 附件2
  3082. type: string
  3083. bankaccount:
  3084. description: 银行帐号 (加密存储)
  3085. type: string
  3086. bankaccountname:
  3087. description: 收款人名称
  3088. type: string
  3089. bankcardfrontphotourl:
  3090. description: 银行卡正面照地址
  3091. type: string
  3092. bankid:
  3093. description: 银行编码
  3094. type: string
  3095. bankname:
  3096. description: 银行名称
  3097. type: string
  3098. biznature:
  3099. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3100. type: integer
  3101. bizscope:
  3102. description: 企业经营范围(企业)
  3103. type: string
  3104. cardbackphotourl:
  3105. description: 证件背面图片地址
  3106. type: string
  3107. cardfrontphotourl:
  3108. description: 证件正面图片地址
  3109. type: string
  3110. cardnum:
  3111. description: 证件号码(加密存储)
  3112. type: string
  3113. cardtypeid:
  3114. description: 证件类型ID
  3115. type: integer
  3116. cityid:
  3117. description: 市
  3118. type: integer
  3119. company:
  3120. description: 公司(个人)
  3121. type: string
  3122. contactname:
  3123. description: 联系人
  3124. type: string
  3125. countryid:
  3126. description: 国家
  3127. type: integer
  3128. createtime:
  3129. description: 创建时间
  3130. type: string
  3131. creatorid:
  3132. description: 创建人
  3133. type: integer
  3134. customername:
  3135. description: 客户名称(企业名称)
  3136. type: string
  3137. districtid:
  3138. description: 地区
  3139. type: integer
  3140. email:
  3141. description: 邮件(加密存储)
  3142. type: string
  3143. fax:
  3144. description: 传真(加密存储)
  3145. type: string
  3146. halfbodyphotourl:
  3147. description: 半身照地址
  3148. type: string
  3149. hasencrypt:
  3150. description: 数据是否已加密 - 0:未加密 1:已加密
  3151. type: integer
  3152. headurl:
  3153. description: 头像地址
  3154. type: string
  3155. legalcardbackphotourl:
  3156. description: 法人身份证背面照地址
  3157. type: string
  3158. legalcardfrontphotourl:
  3159. description: 法人身份证正面照地址
  3160. type: string
  3161. legalpersonname:
  3162. description: 法人姓名(企业)
  3163. type: string
  3164. mobile:
  3165. description: 手机号码(加密存储)
  3166. type: string
  3167. mobile2:
  3168. description: 手机号码[明文-尚志]
  3169. type: string
  3170. modifierid:
  3171. description: 修改人
  3172. type: integer
  3173. modifiertime:
  3174. description: 修改时间
  3175. type: string
  3176. needinvoice:
  3177. description: 是否需要发票 - 0:不需要 1:需要
  3178. type: integer
  3179. nickname:
  3180. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3181. type: string
  3182. openmode:
  3183. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3184. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3185. type: integer
  3186. otherurl:
  3187. description: 其它图片地址[使用分号分隔]
  3188. type: string
  3189. postalcode:
  3190. description: 邮政编码
  3191. type: string
  3192. provinceid:
  3193. description: 省
  3194. type: integer
  3195. qq:
  3196. description: QQ(加密存储
  3197. type: string
  3198. remark:
  3199. description: 备注
  3200. type: string
  3201. sex:
  3202. description: '用户性别 0: 女 1: 男'
  3203. type: integer
  3204. signpdfurl:
  3205. description: 签约pdf文件
  3206. type: string
  3207. telphone:
  3208. description: 联系电话(加密存储)
  3209. type: string
  3210. userid:
  3211. description: 用户ID
  3212. type: integer
  3213. userinfotype:
  3214. description: 用户信息类型 - 1:个人 2:企业
  3215. type: integer
  3216. userstatus:
  3217. description: 用户状态 - 1:正常 2:注销
  3218. type: integer
  3219. usertype:
  3220. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3221. type: integer
  3222. wechat:
  3223. description: 微信(加密存储)
  3224. type: string
  3225. wskhinfo:
  3226. description: 开户申请信息(JSON)
  3227. type: string
  3228. required:
  3229. - userid
  3230. type: object
  3231. models.WRStandardInfo:
  3232. properties:
  3233. createtime:
  3234. description: 创建时间
  3235. type: string
  3236. creatorid:
  3237. description: 创建人
  3238. type: integer
  3239. deliverygoodsid:
  3240. description: 品种ID
  3241. type: integer
  3242. deliverygoodsname:
  3243. description: 交割商品名称
  3244. type: string
  3245. factoryitemjson:
  3246. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3247. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3248. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3249. 逗号分隔'
  3250. type: string
  3251. isvalid:
  3252. description: 是否有效 - 0:无效 1:有效
  3253. type: integer
  3254. minivalue:
  3255. description: 最小变动值
  3256. type: integer
  3257. minivaluedp:
  3258. description: 最小变动值小数位
  3259. type: integer
  3260. realminivalue:
  3261. description: 实际最小变动值
  3262. type: integer
  3263. realminivaluedp:
  3264. description: 实际最小变动值小数位
  3265. type: integer
  3266. unitid:
  3267. description: 单位ID
  3268. type: integer
  3269. unitname:
  3270. description: 单位
  3271. type: string
  3272. updatetime:
  3273. description: 更新时间
  3274. type: string
  3275. updatorid:
  3276. description: 更新人
  3277. type: integer
  3278. wrsstatus:
  3279. description: 状态 - 作废 - 0:未激活 1:正常
  3280. type: integer
  3281. wrstandardcode:
  3282. description: 仓单标准代码
  3283. type: string
  3284. wrstandardid:
  3285. description: 仓单标准ID(SEQ_WRSTANDARD)
  3286. type: integer
  3287. wrstandardname:
  3288. description: 仓单标准名称
  3289. type: string
  3290. required:
  3291. - wrstandardid
  3292. type: object
  3293. models.Warehouseinfo:
  3294. properties:
  3295. address:
  3296. description: 详细地址
  3297. type: string
  3298. areauserid:
  3299. description: 所属机构
  3300. type: integer
  3301. autoid:
  3302. description: 自增ID
  3303. type: integer
  3304. cityid:
  3305. description: 市
  3306. type: integer
  3307. contactname:
  3308. description: 联系人
  3309. type: string
  3310. contactnum:
  3311. description: 联系电话
  3312. type: string
  3313. countryid:
  3314. description: 国家
  3315. type: integer
  3316. createtime:
  3317. description: 创建时间
  3318. type: string
  3319. districtid:
  3320. description: 区
  3321. type: integer
  3322. hasvideo:
  3323. description: 是否有视频 - 0:无 1:有
  3324. type: integer
  3325. provinceid:
  3326. description: 省
  3327. type: integer
  3328. remark:
  3329. description: 审核备注
  3330. type: string
  3331. videourl:
  3332. description: 视频地址
  3333. type: string
  3334. warehousecode:
  3335. description: 仓库代码
  3336. type: string
  3337. warehousename:
  3338. description: 仓库名称
  3339. type: string
  3340. warehousestatus:
  3341. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3342. type: integer
  3343. warehousetype:
  3344. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3345. type: integer
  3346. required:
  3347. - autoid
  3348. - warehousecode
  3349. type: object
  3350. order.QueryHisTradeDetailRsp:
  3351. properties:
  3352. accountid:
  3353. description: 账户ID[报价币种]
  3354. type: integer
  3355. buildtype:
  3356. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3357. type: integer
  3358. buyorsell:
  3359. description: 方向 - 0:买 1:卖
  3360. type: integer
  3361. charge:
  3362. description: 手续费
  3363. type: number
  3364. closecharge:
  3365. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3366. type: number
  3367. closeexchagechargevalue:
  3368. description: 平仓交易所手续费设置值
  3369. type: number
  3370. closefeealgorithm:
  3371. description: 平仓手续费收取方式 1:比率 2:固定
  3372. type: integer
  3373. closememberchargevalue:
  3374. description: 平仓会员手续费设置值
  3375. type: number
  3376. closepl:
  3377. description: 平仓盈亏
  3378. type: number
  3379. closepl2:
  3380. description: 平仓盈亏[逐笔]
  3381. type: number
  3382. closeqty:
  3383. description: 平仓数量(先建后平操作 需要记录)
  3384. type: integer
  3385. creditamount:
  3386. description: 授信金额
  3387. type: number
  3388. gcaccountid:
  3389. description: 账户ID[合约币种]
  3390. type: integer
  3391. goodscode:
  3392. description: 商品代码
  3393. type: string
  3394. goodsid:
  3395. description: 商品ID
  3396. type: integer
  3397. goodsname:
  3398. description: 商品名称
  3399. type: string
  3400. histradedate:
  3401. description: 历史交易日
  3402. type: string
  3403. intclosepl:
  3404. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3405. type: integer
  3406. isconfirmexercise:
  3407. description: 是否确认行权- 0:否 1:是
  3408. type: integer
  3409. ismain:
  3410. description: 是否主单 - 0:不是 1:是
  3411. type: integer
  3412. ispreexercise:
  3413. description: 是否预申报- 0:否 1:是
  3414. type: integer
  3415. isreckoned:
  3416. description: 是否结算 - 0:未结算 1:已结算
  3417. type: integer
  3418. isvaliddata:
  3419. description: 是否有效 - 0:无效 1:有效
  3420. type: integer
  3421. listingselecttype:
  3422. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3423. type: integer
  3424. marketid:
  3425. description: 市场ID
  3426. type: integer
  3427. marketname:
  3428. description: 市场名称
  3429. type: string
  3430. matchaccountid:
  3431. description: 对手账号id
  3432. type: integer
  3433. memberuserid:
  3434. description: 会员id 个人投资者 需要填写
  3435. type: integer
  3436. opencharge:
  3437. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3438. type: number
  3439. openexchagechargevalue:
  3440. description: 建仓交易所手续费设置值
  3441. type: number
  3442. openfeealgorithm:
  3443. description: 建仓手续费收取方式 1:比率 2:固定
  3444. type: integer
  3445. openmemberchargevalue:
  3446. description: 建仓会员手续费设置值
  3447. type: number
  3448. openqty:
  3449. description: 开仓数量(先建后平操作 需要记录)
  3450. type: integer
  3451. optiontype:
  3452. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3453. type: integer
  3454. orderid:
  3455. description: 委托单号
  3456. type: string
  3457. performanceplanid:
  3458. description: 履约计划ID[期权]
  3459. type: integer
  3460. performancestatus:
  3461. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3462. type: integer
  3463. preexerciseprice:
  3464. description: 预申报价格
  3465. type: number
  3466. premium:
  3467. description: 权利金 - [持仓单的权利金]
  3468. type: number
  3469. relatedouttradeid:
  3470. description: 关联外部成交单ID
  3471. type: integer
  3472. status:
  3473. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3474. type: integer
  3475. tradeamount:
  3476. description: 成交金额[账户币种,用于所有权]
  3477. type: number
  3478. tradedate:
  3479. description: 交易日(yyyyMMdd)
  3480. type: string
  3481. tradeid:
  3482. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3483. type: string
  3484. trademode:
  3485. description: 交易模式
  3486. type: integer
  3487. tradeprice:
  3488. description: 成交价格
  3489. type: number
  3490. tradeproperty:
  3491. description: 交易属性
  3492. type: integer
  3493. tradeqty:
  3494. description: 成交数量
  3495. type: integer
  3496. tradetime:
  3497. description: 成交时间
  3498. type: string
  3499. tradetype:
  3500. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3501. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3502. type: integer
  3503. required:
  3504. - accountid
  3505. - buyorsell
  3506. - goodsid
  3507. - histradedate
  3508. - marketid
  3509. - memberuserid
  3510. - orderid
  3511. - tradeamount
  3512. - tradedate
  3513. - tradeid
  3514. - tradeprice
  3515. - tradeqty
  3516. - tradetime
  3517. type: object
  3518. order.QueryHisTradeOrderDetailRsp:
  3519. properties:
  3520. accountid:
  3521. description: 账户ID[报价币种]
  3522. type: integer
  3523. buildtype:
  3524. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3525. type: integer
  3526. buyorsell:
  3527. description: 买卖 - 0:买 1:卖
  3528. type: integer
  3529. cancelorderid:
  3530. description: 撤单单号(撤单时填写)
  3531. type: string
  3532. cancelqty:
  3533. description: 撤单数量
  3534. type: integer
  3535. clientordertime:
  3536. description: 客户端委托时间
  3537. type: string
  3538. clientticket:
  3539. description: 客户端流水号
  3540. type: string
  3541. clienttype:
  3542. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3543. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3544. type: integer
  3545. closeexchagechargevalue:
  3546. description: 平仓交易所手续费设置值
  3547. type: number
  3548. closefeealgorithm:
  3549. description: 平仓手续费收取方式 1:比率 2:固定
  3550. type: integer
  3551. closefreezecharge:
  3552. description: 平仓冻结手续费(先建后平操作,需要记录)
  3553. type: number
  3554. closememberchargevalue:
  3555. description: 平仓会员手续费设置值
  3556. type: number
  3557. closeqty:
  3558. description: 平仓数量(先建后平操作 需要记录)
  3559. type: integer
  3560. closetradeqty:
  3561. description: 平仓成交数量(先建后平操作,需要记录)
  3562. type: integer
  3563. closeunfreezecharge:
  3564. description: 平仓解冻手续费(先建后平操作,需要记录)
  3565. type: number
  3566. delistingtype:
  3567. description: 摘牌类型 - 1:价格最优 2:点选成交
  3568. type: integer
  3569. freezecharge:
  3570. description: 冻结手续费
  3571. type: number
  3572. freezemargin:
  3573. description: 冻结保证金(冻结交易金额)
  3574. type: number
  3575. gcaccountid:
  3576. description: 账户ID[合约币种]
  3577. type: integer
  3578. goodscode:
  3579. description: 商品代码
  3580. type: string
  3581. goodsid:
  3582. description: 商品ID
  3583. type: integer
  3584. goodsname:
  3585. description: 商品名称
  3586. type: string
  3587. histradedate:
  3588. description: 历史交易日
  3589. type: string
  3590. isconfirmexercise:
  3591. description: 是否确认行权- 0:否 1:是
  3592. type: integer
  3593. ispreexercise:
  3594. description: 是否预申报- 0:否 1:是
  3595. type: integer
  3596. isvaliddata:
  3597. description: 是否有效 - 0:无效 1:有效
  3598. type: integer
  3599. listingselecttype:
  3600. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3601. type: integer
  3602. marginalgorithm:
  3603. description: 保证金收取方式 1:比率 2:固定
  3604. type: integer
  3605. marginvalue:
  3606. description: 即市保证金设置值
  3607. type: number
  3608. marketid:
  3609. description: 市场ID
  3610. type: integer
  3611. marketmaxsub:
  3612. description: 市价最大偏移范围
  3613. type: number
  3614. marketname:
  3615. description: 市场名称
  3616. type: string
  3617. memberuserid:
  3618. description: 所属会员UserID
  3619. type: integer
  3620. openexchagechargevalue:
  3621. description: 建仓交易所手续费设置值
  3622. type: number
  3623. openfeealgorithm:
  3624. description: 建仓手续费收取方式 1:比率 2:固定
  3625. type: integer
  3626. openfreezecharge:
  3627. description: 开仓冻结手续费(先建后平操作,需要记录)
  3628. type: number
  3629. openmemberchargevalue:
  3630. description: 建仓会员手续费设置值
  3631. type: number
  3632. openqty:
  3633. description: 开仓数量(先建后平操作,需要记录)
  3634. type: integer
  3635. opentradeqty:
  3636. description: 开仓成交数量(先建后平操作,需要记录)
  3637. type: integer
  3638. openunfreezecharge:
  3639. description: 开仓解冻手续费(先建后平操作,需要记录)
  3640. type: number
  3641. operatetype:
  3642. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3643. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3644. 15:管理端协议转让
  3645. type: integer
  3646. operatorid:
  3647. description: 登录账号(LoginID)
  3648. type: integer
  3649. optiontype:
  3650. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3651. type: integer
  3652. orderid:
  3653. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3654. type: string
  3655. orderprice:
  3656. description: 委托价格
  3657. type: number
  3658. orderqty:
  3659. description: 委托数量
  3660. type: integer
  3661. ordersrc:
  3662. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3663. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3664. type: integer
  3665. orderstatus:
  3666. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3667. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3668. 16:成交失败违约(荷兰式竞拍专用)
  3669. type: integer
  3670. ordertime:
  3671. description: 委托时间
  3672. type: string
  3673. preexerciseprice:
  3674. description: 预申报价格
  3675. type: number
  3676. premium:
  3677. description: 权利金
  3678. type: number
  3679. preorderid:
  3680. description: 关联预埋单号(止盈止损单时填写)
  3681. type: string
  3682. pricemode:
  3683. description: '取价方式 - 1:市价 2: 限价'
  3684. type: integer
  3685. quoteid:
  3686. description: 报价单ID
  3687. type: integer
  3688. relatedid:
  3689. description: 关联单号(交割单)
  3690. type: string
  3691. retcode:
  3692. description: 错误代码
  3693. type: integer
  3694. sessionid:
  3695. description: 会话ID
  3696. type: integer
  3697. tradedate:
  3698. description: 交易日(yyyyMMdd)
  3699. type: string
  3700. trademode:
  3701. description: 交易模式
  3702. type: integer
  3703. tradeproperty:
  3704. description: 交易属性
  3705. type: integer
  3706. tradeqty:
  3707. description: 成交数量
  3708. type: integer
  3709. unfreezecharge:
  3710. description: 解冻手续费
  3711. type: number
  3712. unfreezemargin:
  3713. description: 解冻保证金
  3714. type: number
  3715. updatetime:
  3716. description: 更新时间
  3717. type: string
  3718. uuid:
  3719. description: 发起端唯一id
  3720. type: string
  3721. validtime:
  3722. description: 有效期限
  3723. type: string
  3724. validtype:
  3725. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3726. type: integer
  3727. volumetype:
  3728. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3729. type: integer
  3730. required:
  3731. - accountid
  3732. - buildtype
  3733. - buyorsell
  3734. - goodsid
  3735. - histradedate
  3736. - marketid
  3737. - memberuserid
  3738. - operatetype
  3739. - orderid
  3740. - orderqty
  3741. - ordertime
  3742. - pricemode
  3743. - tradedate
  3744. - validtype
  3745. type: object
  3746. order.QueryTradeDetailRsp:
  3747. properties:
  3748. accountid:
  3749. description: 账户ID[报价币种]
  3750. type: integer
  3751. buildtype:
  3752. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3753. type: integer
  3754. buyorsell:
  3755. description: 方向 - 0:买 1:卖
  3756. type: integer
  3757. charge:
  3758. description: 手续费
  3759. type: number
  3760. closecharge:
  3761. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3762. type: number
  3763. closeexchagechargevalue:
  3764. description: 平仓交易所手续费设置值
  3765. type: number
  3766. closefeealgorithm:
  3767. description: 平仓手续费收取方式 1:比率 2:固定
  3768. type: integer
  3769. closememberchargevalue:
  3770. description: 平仓会员手续费设置值
  3771. type: number
  3772. closepl:
  3773. description: 平仓盈亏
  3774. type: number
  3775. closepl2:
  3776. description: 平仓盈亏[逐笔]
  3777. type: number
  3778. closeqty:
  3779. description: 平仓数量(先建后平操作 需要记录)
  3780. type: integer
  3781. creditamount:
  3782. description: 授信金额
  3783. type: number
  3784. gcaccountid:
  3785. description: 账户ID[合约币种]
  3786. type: integer
  3787. goodscode:
  3788. description: 商品代码
  3789. type: string
  3790. goodsid:
  3791. description: 商品ID
  3792. type: integer
  3793. goodsname:
  3794. description: 商品名称
  3795. type: string
  3796. intclosepl:
  3797. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3798. type: integer
  3799. isconfirmexercise:
  3800. description: 是否确认行权- 0:否 1:是
  3801. type: integer
  3802. ismain:
  3803. description: 是否主单 - 0:不是 1:是
  3804. type: integer
  3805. ispreexercise:
  3806. description: 是否预申报- 0:否 1:是
  3807. type: integer
  3808. isreckoned:
  3809. description: 是否结算 - 0:未结算 1:已结算
  3810. type: integer
  3811. listingselecttype:
  3812. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3813. type: integer
  3814. marketid:
  3815. description: 市场ID
  3816. type: integer
  3817. marketname:
  3818. description: 市场名称
  3819. type: string
  3820. matchaccountid:
  3821. description: 对手账号id
  3822. type: integer
  3823. memberuserid:
  3824. description: 会员id 个人投资者 需要填写
  3825. type: integer
  3826. opencharge:
  3827. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3828. type: number
  3829. openexchagechargevalue:
  3830. description: 建仓交易所手续费设置值
  3831. type: number
  3832. openfeealgorithm:
  3833. description: 建仓手续费收取方式 1:比率 2:固定
  3834. type: integer
  3835. openmemberchargevalue:
  3836. description: 建仓会员手续费设置值
  3837. type: number
  3838. openqty:
  3839. description: 开仓数量(先建后平操作 需要记录)
  3840. type: integer
  3841. optiontype:
  3842. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3843. type: integer
  3844. orderid:
  3845. description: 委托单号
  3846. type: string
  3847. performanceplanid:
  3848. description: 履约计划ID[期权]
  3849. type: integer
  3850. performancestatus:
  3851. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3852. type: integer
  3853. preexerciseprice:
  3854. description: 预申报价格
  3855. type: number
  3856. premium:
  3857. description: 权利金 - [持仓单的权利金]
  3858. type: number
  3859. relatedouttradeid:
  3860. description: 关联外部成交单ID
  3861. type: integer
  3862. status:
  3863. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3864. type: integer
  3865. tradeamount:
  3866. description: 成交金额[账户币种,用于所有权]
  3867. type: number
  3868. tradedate:
  3869. description: 交易日(yyyyMMdd)
  3870. type: string
  3871. tradeid:
  3872. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3873. type: string
  3874. trademode:
  3875. description: 交易模式
  3876. type: integer
  3877. tradeprice:
  3878. description: 成交价格
  3879. type: number
  3880. tradeproperty:
  3881. description: 交易属性
  3882. type: integer
  3883. tradeqty:
  3884. description: 成交数量
  3885. type: integer
  3886. tradetime:
  3887. description: 成交时间
  3888. type: string
  3889. tradetype:
  3890. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3891. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3892. type: integer
  3893. required:
  3894. - accountid
  3895. - buyorsell
  3896. - goodsid
  3897. - marketid
  3898. - memberuserid
  3899. - orderid
  3900. - tradeamount
  3901. - tradedate
  3902. - tradeid
  3903. - tradeprice
  3904. - tradeqty
  3905. - tradetime
  3906. type: object
  3907. order.QueryTradeOrderDetailRsp:
  3908. properties:
  3909. accountid:
  3910. description: 账户ID[报价币种]
  3911. type: integer
  3912. buildtype:
  3913. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3914. type: integer
  3915. buyorsell:
  3916. description: 买卖 - 0:买 1:卖
  3917. type: integer
  3918. cancelorderid:
  3919. description: 撤单单号(撤单时填写)
  3920. type: string
  3921. cancelqty:
  3922. description: 撤单数量
  3923. type: integer
  3924. clienttype:
  3925. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3926. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3927. type: integer
  3928. closefreezecharge:
  3929. description: 平仓冻结手续费(先建后平操作,需要记录)
  3930. type: number
  3931. closeqty:
  3932. description: 平仓数量(先建后平操作 需要记录)
  3933. type: integer
  3934. closetradeqty:
  3935. description: 平仓成交数量(先建后平操作,需要记录)
  3936. type: integer
  3937. closeunfreezecharge:
  3938. description: 平仓解冻手续费(先建后平操作,需要记录)
  3939. type: number
  3940. delistingtype:
  3941. description: 摘牌类型 - 1:价格最优 2:点选成交
  3942. type: integer
  3943. enableqty:
  3944. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3945. type: integer
  3946. freezecharge:
  3947. description: 冻结手续费
  3948. type: number
  3949. freezemargin:
  3950. description: 冻结保证金(冻结交易金额)
  3951. type: number
  3952. goodscode:
  3953. description: 商品代码
  3954. type: string
  3955. goodsid:
  3956. description: 商品ID
  3957. type: integer
  3958. goodsname:
  3959. description: 商品名称
  3960. type: string
  3961. listingselecttype:
  3962. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3963. type: integer
  3964. marketid:
  3965. description: 市场ID
  3966. type: integer
  3967. marketname:
  3968. description: 市场名称
  3969. type: string
  3970. openfreezecharge:
  3971. description: 开仓冻结手续费(先建后平操作,需要记录)
  3972. type: number
  3973. openqty:
  3974. description: 开仓数量(先建后平操作,需要记录)
  3975. type: integer
  3976. opentradeqty:
  3977. description: 开仓成交数量(先建后平操作,需要记录)
  3978. type: integer
  3979. openunfreezecharge:
  3980. description: 开仓解冻手续费(先建后平操作,需要记录)
  3981. type: number
  3982. operatetype:
  3983. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3984. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3985. 15:管理端协议转让
  3986. type: integer
  3987. operatorid:
  3988. description: 登录账号(LoginID)
  3989. type: integer
  3990. orderid:
  3991. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3992. type: string
  3993. orderprice:
  3994. description: 委托价格
  3995. type: number
  3996. orderqty:
  3997. description: 委托数量
  3998. type: integer
  3999. ordersrc:
  4000. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4001. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4002. type: integer
  4003. orderstatus:
  4004. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4005. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4006. 16:成交失败违约(荷兰式竞拍专用)
  4007. type: integer
  4008. ordertime:
  4009. description: 委托时间
  4010. type: string
  4011. preorderid:
  4012. description: 关联预埋单号(止盈止损单时填写)
  4013. type: string
  4014. pricemode:
  4015. description: '取价方式 - 1:市价 2: 限价'
  4016. type: integer
  4017. relatedid:
  4018. description: 关联单号(交割单)
  4019. type: string
  4020. tradedate:
  4021. description: 交易日(yyyyMMdd)
  4022. type: string
  4023. trademode:
  4024. description: 交易模式
  4025. type: integer
  4026. tradeqty:
  4027. description: 成交数量
  4028. type: integer
  4029. unfreezecharge:
  4030. description: 解冻手续费
  4031. type: number
  4032. unfreezemargin:
  4033. description: 解冻保证金
  4034. type: number
  4035. validtime:
  4036. description: 有效期限
  4037. type: string
  4038. validtype:
  4039. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4040. type: integer
  4041. volumetype:
  4042. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4043. type: integer
  4044. required:
  4045. - accountid
  4046. - buildtype
  4047. - buyorsell
  4048. - goodsid
  4049. - marketid
  4050. - operatetype
  4051. - orderqty
  4052. - ordertime
  4053. - pricemode
  4054. - tradedate
  4055. - validtype
  4056. type: object
  4057. order.QueryTradePositionRsp:
  4058. properties:
  4059. accountid:
  4060. description: 资金账户
  4061. type: integer
  4062. agreeunit:
  4063. description: 合约单位
  4064. type: number
  4065. averageprice:
  4066. description: 持仓均价
  4067. type: number
  4068. buyorsell:
  4069. description: 方向 - 0:买 1:卖
  4070. type: integer
  4071. closetotalqty:
  4072. description: 平仓总数量
  4073. type: integer
  4074. curholderamount:
  4075. description: 当前持仓总金额[商品币种]
  4076. type: number
  4077. curpositionqty:
  4078. description: 当前持仓总数量
  4079. type: integer
  4080. currencyid:
  4081. description: 报价货币ID
  4082. type: integer
  4083. curtdposition:
  4084. description: 期末今日头寸
  4085. type: integer
  4086. decimalplace:
  4087. description: 报价小数位
  4088. type: integer
  4089. enableqty:
  4090. description: 可用量
  4091. type: integer
  4092. fretdposition:
  4093. description: 冻结今日头寸
  4094. type: integer
  4095. frozenqty:
  4096. description: 持仓冻结数量
  4097. type: integer
  4098. goodscode:
  4099. description: 商品代码
  4100. type: string
  4101. goodsid:
  4102. description: 商品Id
  4103. type: integer
  4104. goodsname:
  4105. description: 商品名称
  4106. type: string
  4107. goodunit:
  4108. description: 报价单位
  4109. type: string
  4110. goodunitid:
  4111. description: 报价单位ID
  4112. type: integer
  4113. holderamount:
  4114. description: 期初持仓总金额[商品币种]
  4115. type: number
  4116. marketid:
  4117. description: 所属市场ID
  4118. type: integer
  4119. openreqqty:
  4120. description: 开仓申请数量(用于比较最大持仓数量)
  4121. type: integer
  4122. opentotalqty:
  4123. description: 开仓总数量
  4124. type: integer
  4125. otherfrozenqty:
  4126. description: 持仓其他冻结数量(交割冻结)
  4127. type: integer
  4128. positionqty:
  4129. description: 期初持仓数量
  4130. type: integer
  4131. tnqty:
  4132. description: T+N冻结总量
  4133. type: integer
  4134. tnusedqty:
  4135. description: T+N使用量(可以使用T+N的冻结数量)
  4136. type: integer
  4137. trademode:
  4138. description: 交易模式
  4139. type: integer
  4140. usedmargin:
  4141. description: 占用保证金[商品币种]
  4142. type: number
  4143. required:
  4144. - goodsid
  4145. type: object
  4146. quote.HistoryData:
  4147. properties:
  4148. c:
  4149. description: 收盘价
  4150. type: number
  4151. h:
  4152. description: 最高价
  4153. type: number
  4154. hv:
  4155. description: 持仓量
  4156. type: integer
  4157. l:
  4158. description: 最低价
  4159. type: number
  4160. o:
  4161. description: 开盘价
  4162. type: number
  4163. s:
  4164. description: 结算价,日线周期(包括)以上才有
  4165. type: number
  4166. ts:
  4167. description: 时间
  4168. type: string
  4169. tt:
  4170. description: 总金额
  4171. type: number
  4172. tv:
  4173. description: 总量
  4174. type: integer
  4175. type: object
  4176. quote.QueryTSDataRsp:
  4177. properties:
  4178. decimalPlace:
  4179. description: 小数位
  4180. type: integer
  4181. endTime:
  4182. description: 结束时间
  4183. type: string
  4184. goodsCode:
  4185. description: 商品代码
  4186. type: string
  4187. historyDatas:
  4188. description: 历史数据
  4189. items:
  4190. $ref: '#/definitions/quote.HistoryData'
  4191. type: array
  4192. preSettle:
  4193. description: 昨结
  4194. type: number
  4195. startTime:
  4196. description: 开始时间
  4197. type: string
  4198. tradeDate:
  4199. description: 交易日
  4200. type: string
  4201. type: object
  4202. szdz.QueryConvertLogRsp:
  4203. properties:
  4204. accountid:
  4205. description: 资金账户ID
  4206. type: integer
  4207. clientticket:
  4208. description: 客户端流水号
  4209. type: string
  4210. converttype:
  4211. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4212. type: integer
  4213. createtime:
  4214. description: 记账时间
  4215. type: string
  4216. daymaxvalue:
  4217. description: 配置当日最大转入限制
  4218. type: number
  4219. daymaxvalue2:
  4220. description: 配置当日最大转入限制(转入)
  4221. type: number
  4222. goodscode:
  4223. description: 商品代码
  4224. type: string
  4225. goodsname:
  4226. description: 商品名称
  4227. type: string
  4228. handlestatus:
  4229. description: 处理状态
  4230. type: integer
  4231. innergoodsid:
  4232. description: 内部商品ID
  4233. type: integer
  4234. inratio:
  4235. description: 配置转入比值
  4236. type: integer
  4237. invalue:
  4238. description: 目标值
  4239. type: number
  4240. logid:
  4241. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4242. type: integer
  4243. mobile:
  4244. description: 手机号码(加密存储)
  4245. type: string
  4246. outergoodscode:
  4247. description: 外部商品代码[JD\PD]
  4248. type: string
  4249. outratio:
  4250. description: 配置转出比值
  4251. type: integer
  4252. outvalue:
  4253. description: 源值
  4254. type: number
  4255. pddecimalplace:
  4256. description: PD小数位
  4257. type: integer
  4258. qty:
  4259. description: 数量
  4260. type: string
  4261. remark:
  4262. description: 备注
  4263. type: string
  4264. sessionid:
  4265. description: 会话ID
  4266. type: integer
  4267. timemaxvalue:
  4268. description: 配置单次最大转入限制
  4269. type: number
  4270. timemaxvalue2:
  4271. description: 配置单次最大转入限制(转入)
  4272. type: number
  4273. timeminvalue:
  4274. description: 配置单次最小数量限制
  4275. type: number
  4276. timeminvalue2:
  4277. description: 配置单次最小数量限制(转入)
  4278. type: number
  4279. tradedate:
  4280. description: 交易日(yyyyMMdd)
  4281. type: string
  4282. userid:
  4283. description: 用户ID
  4284. type: integer
  4285. required:
  4286. - logid
  4287. type: object
  4288. szdz.QueryGoodsPickupRsp:
  4289. properties:
  4290. accountid:
  4291. description: 账户ID
  4292. type: integer
  4293. address:
  4294. description: 提货人详细地址
  4295. type: string
  4296. auditer:
  4297. description: 审核人
  4298. type: integer
  4299. audittime:
  4300. description: 审核时间
  4301. type: string
  4302. cardnum:
  4303. description: 提货人证件号码
  4304. type: string
  4305. cardtypeid:
  4306. description: 提货人证件类型
  4307. type: integer
  4308. checkremark:
  4309. description: 审核备注
  4310. type: string
  4311. goodscode:
  4312. description: 商品代码
  4313. type: string
  4314. goodsid:
  4315. description: 商品ID
  4316. type: integer
  4317. goodsname:
  4318. description: 商品名称
  4319. type: string
  4320. handlestatus:
  4321. description: 处理状态
  4322. type: integer
  4323. marketid:
  4324. description: 市场ID
  4325. type: integer
  4326. phonenum:
  4327. description: 提货人联系方式
  4328. type: string
  4329. qty:
  4330. description: 提货数量
  4331. type: number
  4332. recivername:
  4333. description: 提货人姓名
  4334. type: string
  4335. reqtime:
  4336. description: 更新时间
  4337. type: string
  4338. takemode:
  4339. description: 提货方式 - 2:自提 3:配送
  4340. type: integer
  4341. takeorderid:
  4342. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4343. type: string
  4344. takeorderstatus:
  4345. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4346. type: integer
  4347. takeremark:
  4348. description: 提货备注
  4349. type: string
  4350. tradedate:
  4351. description: 交易日(yyyyMMdd)
  4352. type: string
  4353. userid:
  4354. description: 用户ID
  4355. type: integer
  4356. required:
  4357. - takeorderid
  4358. type: object
  4359. szdz.QueryRecieptOrderRsp:
  4360. properties:
  4361. accountName:
  4362. description: 所属账号名称(已脱敏)
  4363. type: string
  4364. accountid:
  4365. description: 资金账号
  4366. type: integer
  4367. buyorsell:
  4368. description: 方向 - 0:买 1:卖
  4369. type: integer
  4370. enableqty:
  4371. description: 可摘数量
  4372. type: integer
  4373. goodscode:
  4374. description: 商品代码
  4375. type: string
  4376. goodsid:
  4377. description: 商品ID
  4378. type: integer
  4379. goodsname:
  4380. description: 商品名称
  4381. type: string
  4382. orderid:
  4383. description: 委托单号
  4384. type: string
  4385. orderprice:
  4386. description: 委托价格
  4387. type: number
  4388. tradedate:
  4389. description: 交易日(yyyyMMdd)
  4390. type: string
  4391. type: object
  4392. szdz.QuerySZDZTradePositionRsp:
  4393. properties:
  4394. accountid:
  4395. description: 账号Id
  4396. type: integer
  4397. agreeunit:
  4398. description: 合约单位
  4399. type: number
  4400. averageprice:
  4401. description: 持仓均价
  4402. type: number
  4403. buyorsell:
  4404. description: 方向 - 0:买 1:卖
  4405. type: integer
  4406. closetotalqty:
  4407. description: 平仓总数量
  4408. type: integer
  4409. curholderamount:
  4410. description: 当前持仓总金额
  4411. type: number
  4412. curpositionqty:
  4413. description: 当前持仓总数量
  4414. type: integer
  4415. currencyid:
  4416. description: 报价货币ID
  4417. type: integer
  4418. curtdposition:
  4419. description: 期末今日头寸
  4420. type: integer
  4421. decimalplace:
  4422. description: 报价小数位
  4423. type: integer
  4424. enableqty:
  4425. description: 可用量
  4426. type: integer
  4427. fretdposition:
  4428. description: 冻结今日头寸
  4429. type: integer
  4430. frozenqty:
  4431. description: 持仓冻结数量
  4432. type: integer
  4433. goodscode:
  4434. description: 商品代码(内部)
  4435. type: string
  4436. goodsid:
  4437. description: 商品Id
  4438. type: integer
  4439. goodsname:
  4440. description: 商品名称
  4441. type: string
  4442. goodunit:
  4443. description: 报价单位
  4444. type: string
  4445. goodunitid:
  4446. description: 报价单位ID
  4447. type: integer
  4448. holderamount:
  4449. description: 期初持仓总金额
  4450. type: number
  4451. marketid:
  4452. description: 市场ID
  4453. type: integer
  4454. openreqqty:
  4455. description: 开仓申请数量
  4456. type: integer
  4457. opentotalqty:
  4458. description: 开仓总数量
  4459. type: integer
  4460. otherfrozenqty:
  4461. description: 持仓其他冻结数量(交割冻结)
  4462. type: integer
  4463. positionqty:
  4464. description: 期初持仓数量
  4465. type: integer
  4466. szdz3freezqty:
  4467. description: 尚志大宗转换冻结总数量
  4468. type: integer
  4469. tnqty:
  4470. description: T+N冻结总量
  4471. type: integer
  4472. tnusedqty:
  4473. description: T+N使用量
  4474. type: integer
  4475. trademode:
  4476. description: 交易模式
  4477. type: integer
  4478. usedmargin:
  4479. description: 占用保证金
  4480. type: number
  4481. type: object
  4482. taaccount.QueryAmountLogRsp:
  4483. properties:
  4484. OPERATETYPENAME:
  4485. description: 资金操作类型名称
  4486. type: string
  4487. accountid:
  4488. description: 资金账户ID
  4489. type: integer
  4490. agoodscode:
  4491. description: 竞拍商品代码
  4492. type: string
  4493. agoodsname:
  4494. description: 竞拍商品名称
  4495. type: string
  4496. amount:
  4497. description: 资金金额
  4498. type: number
  4499. amountadjusttype:
  4500. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4501. type: integer
  4502. autoid:
  4503. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4504. type: integer
  4505. balance:
  4506. description: 期初余额
  4507. type: number
  4508. businesscode:
  4509. description: 业务编号
  4510. type: integer
  4511. createtime:
  4512. description: 发生时间
  4513. type: string
  4514. currencyid:
  4515. description: 币种ID
  4516. type: integer
  4517. currentbalance:
  4518. description: 期末余额(变动后金额)
  4519. type: number
  4520. dgoodscode:
  4521. description: 交割商品代码
  4522. type: string
  4523. dgoodsname:
  4524. description: 交割商品名称
  4525. type: string
  4526. goodscode:
  4527. description: 商品代码
  4528. type: string
  4529. goodsid:
  4530. description: 商品ID
  4531. type: integer
  4532. goodsname:
  4533. description: 商品名称
  4534. type: string
  4535. marketid:
  4536. description: 市场ID
  4537. type: integer
  4538. marketname:
  4539. description: 市场名称
  4540. type: string
  4541. moneyticket:
  4542. description: 资金流水号:银行端流水号
  4543. type: integer
  4544. operatetype:
  4545. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4546. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4547. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4548. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4549. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4550. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4551. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4552. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4553. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4554. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4555. type: integer
  4556. relationorderid:
  4557. description: 关联单号
  4558. type: string
  4559. remark:
  4560. description: 备注
  4561. type: string
  4562. trademode:
  4563. description: 交易模式
  4564. type: integer
  4565. required:
  4566. - accountid
  4567. - amount
  4568. - amountadjusttype
  4569. - autoid
  4570. - balance
  4571. - createtime
  4572. - currentbalance
  4573. - operatetype
  4574. type: object
  4575. taaccount.QueryHisAmountLogRsp:
  4576. properties:
  4577. OPERATETYPENAME:
  4578. description: 资金操作类型名称
  4579. type: string
  4580. accountid:
  4581. description: 资金账户ID
  4582. type: integer
  4583. agoodscode:
  4584. description: 竞拍商品代码
  4585. type: string
  4586. agoodsname:
  4587. description: 竞拍商品名称
  4588. type: string
  4589. amount:
  4590. description: 资金金额
  4591. type: number
  4592. amountadjusttype:
  4593. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4594. type: integer
  4595. autoid:
  4596. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4597. type: integer
  4598. balance:
  4599. description: 期初余额
  4600. type: number
  4601. businesscode:
  4602. description: 业务编号
  4603. type: integer
  4604. createtime:
  4605. description: 发生时间
  4606. type: string
  4607. currencyid:
  4608. description: 币种ID
  4609. type: integer
  4610. currentbalance:
  4611. description: 期末余额(变动后金额)
  4612. type: number
  4613. dgoodscode:
  4614. description: 交割商品代码
  4615. type: string
  4616. dgoodsname:
  4617. description: 交割商品名称
  4618. type: string
  4619. goodscode:
  4620. description: 商品代码
  4621. type: string
  4622. goodsid:
  4623. description: 商品ID
  4624. type: integer
  4625. goodsname:
  4626. description: 商品名称
  4627. type: string
  4628. histradedate:
  4629. description: 历史交易日
  4630. type: string
  4631. isvaliddata:
  4632. description: 是否有效 - 0:无效 1:有效
  4633. type: integer
  4634. marketid:
  4635. description: 市场ID
  4636. type: integer
  4637. marketname:
  4638. description: 市场名称
  4639. type: string
  4640. moneyticket:
  4641. description: 资金流水号:银行端流水号
  4642. type: integer
  4643. operatetype:
  4644. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4645. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4646. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4647. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4648. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4649. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4650. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4651. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4652. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4653. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4654. type: integer
  4655. relationorderid:
  4656. description: 关联单号
  4657. type: string
  4658. remark:
  4659. description: 备注
  4660. type: string
  4661. trademode:
  4662. description: 交易模式
  4663. type: integer
  4664. required:
  4665. - accountid
  4666. - amount
  4667. - amountadjusttype
  4668. - autoid
  4669. - balance
  4670. - createtime
  4671. - currentbalance
  4672. - histradedate
  4673. - operatetype
  4674. type: object
  4675. info:
  4676. contact: {}
  4677. description: 新的查询服务,替代原通用查询服务。
  4678. license: {}
  4679. termsOfService: http://muchinfo.cn
  4680. title: MTP2.0 查询服务 API
  4681. version: "1.0"
  4682. paths:
  4683. /CPTrade/QueryCPTradeMyBidInfos:
  4684. get:
  4685. parameters:
  4686. - description: 资金账户
  4687. in: query
  4688. name: accountid
  4689. required: true
  4690. type: integer
  4691. - description: 预售市场ID
  4692. in: query
  4693. name: marketid
  4694. type: integer
  4695. - description: 预售商品ID
  4696. in: query
  4697. name: goodsid
  4698. type: integer
  4699. produces:
  4700. - application/json
  4701. responses:
  4702. "200":
  4703. description: OK
  4704. schema:
  4705. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4706. "500":
  4707. description: Internal Server Error
  4708. schema:
  4709. $ref: '#/definitions/app.Response'
  4710. security:
  4711. - ApiKeyAuth: []
  4712. summary: 查询产能预售我的出价信息
  4713. tags:
  4714. - 产能预售
  4715. /CPTrade/QueryCPTradeOrderDetail:
  4716. get:
  4717. parameters:
  4718. - description: 预售商品ID
  4719. in: query
  4720. name: goodsid
  4721. type: integer
  4722. - description: 预售市场ID
  4723. in: query
  4724. name: marketid
  4725. type: integer
  4726. - description: 预售商品ID列表 - 格式:1,2,3
  4727. in: query
  4728. name: goodsids
  4729. type: string
  4730. produces:
  4731. - application/json
  4732. responses:
  4733. "200":
  4734. description: OK
  4735. schema:
  4736. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4737. "500":
  4738. description: Internal Server Error
  4739. schema:
  4740. $ref: '#/definitions/app.Response'
  4741. security:
  4742. - ApiKeyAuth: []
  4743. summary: 查询产能预售委托单信息
  4744. tags:
  4745. - 产能预售
  4746. /CPTrade/QueryMyCPTradeGoods:
  4747. get:
  4748. parameters:
  4749. - description: 资金账户
  4750. in: query
  4751. name: accountid
  4752. required: true
  4753. type: integer
  4754. produces:
  4755. - application/json
  4756. responses:
  4757. "200":
  4758. description: OK
  4759. schema:
  4760. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4761. "500":
  4762. description: Internal Server Error
  4763. schema:
  4764. $ref: '#/definitions/app.Response'
  4765. security:
  4766. - ApiKeyAuth: []
  4767. summary: 查询我的预售信息
  4768. tags:
  4769. - 产能预售
  4770. /CPTrade/QueryPositionCancel:
  4771. get:
  4772. parameters:
  4773. - description: 账户ID
  4774. in: query
  4775. name: userid
  4776. required: true
  4777. type: integer
  4778. - description: 注销ID
  4779. in: query
  4780. name: cancelid
  4781. type: integer
  4782. - description: 资金账户ID
  4783. in: query
  4784. name: accountid
  4785. type: integer
  4786. produces:
  4787. - application/json
  4788. responses:
  4789. "200":
  4790. description: OK
  4791. schema:
  4792. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4793. "500":
  4794. description: Internal Server Error
  4795. schema:
  4796. $ref: '#/definitions/app.Response'
  4797. security:
  4798. - ApiKeyAuth: []
  4799. summary: 查询远期订单注销申请信息
  4800. tags:
  4801. - 产能预售
  4802. /CPTrade/QueryPreasleApply:
  4803. get:
  4804. parameters:
  4805. - description: 账户ID
  4806. in: query
  4807. name: userid
  4808. required: true
  4809. type: integer
  4810. - description: 申请ID
  4811. in: query
  4812. name: applyid
  4813. type: integer
  4814. - description: 资金账户ID
  4815. in: query
  4816. name: accountid
  4817. type: integer
  4818. produces:
  4819. - application/json
  4820. responses:
  4821. "200":
  4822. description: OK
  4823. schema:
  4824. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4825. "500":
  4826. description: Internal Server Error
  4827. schema:
  4828. $ref: '#/definitions/app.Response'
  4829. security:
  4830. - ApiKeyAuth: []
  4831. summary: 查询产能预售申请信息
  4832. tags:
  4833. - 产能预售
  4834. /CPTrade/QueryPresaleGoodsEx:
  4835. get:
  4836. parameters:
  4837. - description: 预售商品ID
  4838. in: query
  4839. name: goodsid
  4840. type: integer
  4841. - description: 预售市场ID
  4842. in: query
  4843. name: marketid
  4844. type: integer
  4845. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4846. in: query
  4847. name: presalemode
  4848. type: integer
  4849. - description: 预售商品ID列表 - 格式:1,2,3
  4850. in: query
  4851. name: goodsids
  4852. type: string
  4853. - description: 预售商品代码
  4854. in: query
  4855. name: goodscode
  4856. type: string
  4857. produces:
  4858. - application/json
  4859. responses:
  4860. "200":
  4861. description: OK
  4862. schema:
  4863. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4864. "500":
  4865. description: Internal Server Error
  4866. schema:
  4867. $ref: '#/definitions/app.Response'
  4868. security:
  4869. - ApiKeyAuth: []
  4870. summary: 查询产能预售商品扩展信息
  4871. tags:
  4872. - 产能预售
  4873. /CPTrade/QueryUserGoodsData:
  4874. get:
  4875. parameters:
  4876. - description: 资金账户ID
  4877. in: query
  4878. name: accountid
  4879. required: true
  4880. type: integer
  4881. produces:
  4882. - application/json
  4883. responses:
  4884. "200":
  4885. description: OK
  4886. schema:
  4887. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4888. "500":
  4889. description: Internal Server Error
  4890. schema:
  4891. $ref: '#/definitions/app.Response'
  4892. security:
  4893. - ApiKeyAuth: []
  4894. summary: 查询远期订单信息
  4895. tags:
  4896. - 产能预售
  4897. /Common/GetAllEnums:
  4898. get:
  4899. produces:
  4900. - application/json
  4901. responses:
  4902. "200":
  4903. description: OK
  4904. schema:
  4905. $ref: '#/definitions/models.Enumdicitem'
  4906. "500":
  4907. description: Internal Server Error
  4908. schema:
  4909. $ref: '#/definitions/app.Response'
  4910. summary: 获取所有枚举信息
  4911. tags:
  4912. - 通用服务
  4913. /Common/NoticeReaded:
  4914. post:
  4915. parameters:
  4916. - description: 登录账号
  4917. in: query
  4918. name: loginID
  4919. required: true
  4920. type: integer
  4921. - description: 通知公告ID
  4922. in: query
  4923. name: noticeID
  4924. required: true
  4925. type: integer
  4926. produces:
  4927. - application/json
  4928. responses:
  4929. "200":
  4930. description: OK
  4931. schema:
  4932. $ref: '#/definitions/app.Response'
  4933. "500":
  4934. description: Internal Server Error
  4935. schema:
  4936. $ref: '#/definitions/app.Response'
  4937. security:
  4938. - ApiKeyAuth: []
  4939. summary: 通知公告设置已读请求
  4940. tags:
  4941. - 通用服务
  4942. /Common/QueryImageConfigs:
  4943. get:
  4944. parameters:
  4945. - description: 类型 - 1:App首页轮播 2:我的
  4946. in: query
  4947. name: imageType
  4948. type: integer
  4949. produces:
  4950. - application/json
  4951. responses:
  4952. "200":
  4953. description: OK
  4954. schema:
  4955. $ref: '#/definitions/models.Szdz2imageconfig'
  4956. "500":
  4957. description: Internal Server Error
  4958. schema:
  4959. $ref: '#/definitions/app.Response'
  4960. summary: 查询轮播图配置信息
  4961. tags:
  4962. - 通用服务
  4963. /Common/QueryNotice:
  4964. get:
  4965. parameters:
  4966. - description: 页码
  4967. in: query
  4968. name: page
  4969. type: integer
  4970. - description: 每页条数
  4971. in: query
  4972. name: pagesize
  4973. type: integer
  4974. - description: 登录账号
  4975. in: query
  4976. name: loginID
  4977. required: true
  4978. type: integer
  4979. - description: 消息类型 - 1:公告通知 2:系统消息
  4980. in: query
  4981. name: msgType
  4982. type: integer
  4983. - description: 是否只获取未读信息
  4984. in: query
  4985. name: onlyUnRead
  4986. type: boolean
  4987. produces:
  4988. - application/json
  4989. responses:
  4990. "200":
  4991. description: OK
  4992. schema:
  4993. $ref: '#/definitions/common.QueryNoticeRsp'
  4994. "500":
  4995. description: Internal Server Error
  4996. schema:
  4997. $ref: '#/definitions/app.Response'
  4998. security:
  4999. - ApiKeyAuth: []
  5000. summary: 通知公告系统消息查询
  5001. tags:
  5002. - 通用服务
  5003. /Common/QueryProvincesAndCities:
  5004. get:
  5005. parameters:
  5006. - description: 省ID
  5007. in: query
  5008. name: provinceID
  5009. type: integer
  5010. produces:
  5011. - application/json
  5012. responses:
  5013. "200":
  5014. description: OK
  5015. schema:
  5016. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5017. "500":
  5018. description: Internal Server Error
  5019. schema:
  5020. $ref: '#/definitions/app.Response'
  5021. summary: 查询省市信息(不包括区)
  5022. tags:
  5023. - 通用服务
  5024. /Common/QueryTableDefine:
  5025. get:
  5026. parameters:
  5027. - description: 表key
  5028. in: query
  5029. name: TableKey
  5030. type: string
  5031. produces:
  5032. - application/json
  5033. responses:
  5034. "200":
  5035. description: OK
  5036. schema:
  5037. $ref: '#/definitions/common.QueryTableDefineRsp'
  5038. "500":
  5039. description: Internal Server Error
  5040. schema:
  5041. $ref: '#/definitions/app.Response'
  5042. summary: 查询交易端列表头信息
  5043. tags:
  5044. - 通用服务
  5045. /Common/QueryTraderMenu:
  5046. get:
  5047. parameters:
  5048. - description: 登录账号
  5049. in: query
  5050. name: loginid
  5051. required: true
  5052. type: integer
  5053. produces:
  5054. - application/json
  5055. responses:
  5056. "200":
  5057. description: OK
  5058. schema:
  5059. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5060. "500":
  5061. description: Internal Server Error
  5062. schema:
  5063. $ref: '#/definitions/app.Response'
  5064. summary: 查询交易端菜单
  5065. tags:
  5066. - 通用服务
  5067. /Delivery/QueryDeliveryRelation:
  5068. get:
  5069. parameters:
  5070. - description: 商品ID
  5071. in: query
  5072. name: goodsid
  5073. type: integer
  5074. - description: 品种ID
  5075. in: query
  5076. name: deliverygoodsid
  5077. type: integer
  5078. - description: 市场ID
  5079. in: query
  5080. name: marketid
  5081. type: integer
  5082. produces:
  5083. - application/json
  5084. responses:
  5085. "200":
  5086. description: OK
  5087. schema:
  5088. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5089. "500":
  5090. description: Internal Server Error
  5091. schema:
  5092. $ref: '#/definitions/app.Response'
  5093. security:
  5094. - ApiKeyAuth: []
  5095. summary: 查询商品交割关系表
  5096. tags:
  5097. - 交割服务
  5098. /Erms2/QueryArbitrageStrategy:
  5099. get:
  5100. parameters:
  5101. - description: 账户ID
  5102. in: query
  5103. name: userid
  5104. required: true
  5105. type: integer
  5106. - description: 商品组ID(品种ID)
  5107. in: query
  5108. name: goodsgroupid
  5109. type: string
  5110. produces:
  5111. - application/json
  5112. responses:
  5113. "200":
  5114. description: OK
  5115. schema:
  5116. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5117. "500":
  5118. description: Internal Server Error
  5119. schema:
  5120. $ref: '#/definitions/app.Response'
  5121. security:
  5122. - ApiKeyAuth: []
  5123. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5124. tags:
  5125. - 风险管理
  5126. /Erms2/QueryInnerTradeDetail:
  5127. get:
  5128. parameters:
  5129. - description: 资金账户
  5130. in: query
  5131. name: accountid
  5132. required: true
  5133. type: integer
  5134. produces:
  5135. - application/json
  5136. responses:
  5137. "200":
  5138. description: OK
  5139. schema:
  5140. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5141. "500":
  5142. description: Internal Server Error
  5143. schema:
  5144. $ref: '#/definitions/app.Response'
  5145. security:
  5146. - ApiKeyAuth: []
  5147. summary: 查询内部成交单信息
  5148. tags:
  5149. - 风险管理
  5150. /Erms2/QuerySpotContract:
  5151. get:
  5152. parameters:
  5153. - description: 策略申请ID
  5154. in: query
  5155. name: asapplyid
  5156. required: true
  5157. type: integer
  5158. - description: 现货合同ID
  5159. in: query
  5160. name: spotcontractid
  5161. type: integer
  5162. produces:
  5163. - application/json
  5164. responses:
  5165. "200":
  5166. description: OK
  5167. schema:
  5168. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5169. "500":
  5170. description: Internal Server Error
  5171. schema:
  5172. $ref: '#/definitions/app.Response'
  5173. security:
  5174. - ApiKeyAuth: []
  5175. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5176. tags:
  5177. - 风险管理
  5178. /Erms3/AddSpotContractApply:
  5179. post:
  5180. parameters:
  5181. - description: 申请参数
  5182. in: body
  5183. name: jsonBody
  5184. required: true
  5185. schema:
  5186. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5187. produces:
  5188. - application/json
  5189. responses:
  5190. "200":
  5191. description: OK
  5192. schema:
  5193. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5194. "500":
  5195. description: Internal Server Error
  5196. schema:
  5197. $ref: '#/definitions/app.Response'
  5198. security:
  5199. - ApiKeyAuth: []
  5200. summary: 新增现货合同申请
  5201. tags:
  5202. - 风险管理v3
  5203. /Erms3/AddUserInfoApply:
  5204. post:
  5205. parameters:
  5206. - description: 申请参数
  5207. in: body
  5208. name: jsonBody
  5209. required: true
  5210. schema:
  5211. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  5212. produces:
  5213. - application/json
  5214. responses:
  5215. "200":
  5216. description: OK
  5217. schema:
  5218. $ref: '#/definitions/app.Response'
  5219. "500":
  5220. description: Internal Server Error
  5221. schema:
  5222. $ref: '#/definitions/app.Response'
  5223. security:
  5224. - ApiKeyAuth: []
  5225. summary: 新增客户申请
  5226. tags:
  5227. - 风险管理v3
  5228. /Erms3/QueryBusinessInfo:
  5229. get:
  5230. parameters:
  5231. - description: 资金账号ID列表,用逗号分隔
  5232. in: query
  5233. name: accountids
  5234. required: true
  5235. type: string
  5236. - description: 状态,0为未结束 1为已结束
  5237. in: query
  5238. name: status
  5239. required: true
  5240. type: integer
  5241. produces:
  5242. - application/json
  5243. responses:
  5244. "200":
  5245. description: OK
  5246. schema:
  5247. items:
  5248. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  5249. type: array
  5250. "500":
  5251. description: Internal Server Error
  5252. schema:
  5253. $ref: '#/definitions/app.Response'
  5254. security:
  5255. - ApiKeyAuth: []
  5256. summary: 查询业务表单数据
  5257. tags:
  5258. - 风险管理v3
  5259. /Erms3/QueryPendingAuditContract:
  5260. get:
  5261. parameters:
  5262. - description: 资金账号ID列表,逗号隔开
  5263. in: query
  5264. name: accountids
  5265. required: true
  5266. type: string
  5267. - description: 合同类型 1-采购 -1-销售
  5268. in: query
  5269. name: contracttype
  5270. required: true
  5271. type: integer
  5272. - description: 合同模式 1-普通 2-回购
  5273. in: query
  5274. name: contractmode
  5275. required: true
  5276. type: integer
  5277. produces:
  5278. - application/json
  5279. responses:
  5280. "200":
  5281. description: OK
  5282. schema:
  5283. items:
  5284. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5285. type: array
  5286. "500":
  5287. description: Internal Server Error
  5288. schema:
  5289. $ref: '#/definitions/app.Response'
  5290. security:
  5291. - ApiKeyAuth: []
  5292. summary: 查询待审核合同
  5293. tags:
  5294. - 风险管理v3
  5295. /Erms3/QueryPendingBusiness:
  5296. get:
  5297. parameters:
  5298. - description: 资金账号ID列表,逗号隔开
  5299. in: query
  5300. name: accountids
  5301. required: true
  5302. type: string
  5303. produces:
  5304. - application/json
  5305. responses:
  5306. "200":
  5307. description: OK
  5308. schema:
  5309. items:
  5310. $ref: '#/definitions/erms3.QryPendingBizRsp'
  5311. type: array
  5312. "500":
  5313. description: Internal Server Error
  5314. schema:
  5315. $ref: '#/definitions/app.Response'
  5316. security:
  5317. - ApiKeyAuth: []
  5318. summary: 查询待审核基差贸易业务
  5319. tags:
  5320. - 风险管理v3
  5321. /Erms3/QuerySpotContractAppleForm:
  5322. get:
  5323. parameters:
  5324. - description: 登录账号
  5325. in: query
  5326. name: loginID
  5327. required: true
  5328. type: integer
  5329. produces:
  5330. - application/json
  5331. responses:
  5332. "200":
  5333. description: OK
  5334. schema:
  5335. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  5336. "500":
  5337. description: Internal Server Error
  5338. schema:
  5339. $ref: '#/definitions/app.Response'
  5340. security:
  5341. - ApiKeyAuth: []
  5342. summary: 查询合同申请表单数据
  5343. tags:
  5344. - 风险管理v3
  5345. /Erms3/QuerySpotContractDetail:
  5346. get:
  5347. parameters:
  5348. - description: 资金账号ID列表,用逗号分隔
  5349. in: query
  5350. name: accountids
  5351. required: true
  5352. type: string
  5353. - description: 合同类型,1为采购合同 -1为销售合同
  5354. in: query
  5355. name: contracttype
  5356. required: true
  5357. type: integer
  5358. - description: 合同模式,1为普通合同 2为回购销售合同
  5359. in: query
  5360. name: contractmode
  5361. required: true
  5362. type: integer
  5363. - description: 状态,0为履约中 1为已完成
  5364. in: query
  5365. name: status
  5366. required: true
  5367. type: integer
  5368. produces:
  5369. - application/json
  5370. responses:
  5371. "200":
  5372. description: OK
  5373. schema:
  5374. items:
  5375. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  5376. type: array
  5377. "500":
  5378. description: Internal Server Error
  5379. schema:
  5380. $ref: '#/definitions/app.Response'
  5381. security:
  5382. - ApiKeyAuth: []
  5383. summary: 查询合同详细信息
  5384. tags:
  5385. - 风险管理v3
  5386. /Erms3/QueryUserInfoApplies:
  5387. get:
  5388. parameters:
  5389. - description: 页码
  5390. in: query
  5391. name: page
  5392. type: integer
  5393. - description: 每页条数
  5394. in: query
  5395. name: pagesize
  5396. type: integer
  5397. - description: 客户名称,支持模糊查询
  5398. in: query
  5399. name: userName
  5400. type: string
  5401. produces:
  5402. - application/json
  5403. responses:
  5404. "200":
  5405. description: OK
  5406. schema:
  5407. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  5408. "500":
  5409. description: Internal Server Error
  5410. schema:
  5411. $ref: '#/definitions/app.Response'
  5412. security:
  5413. - ApiKeyAuth: []
  5414. summary: 客户申请信息查询
  5415. tags:
  5416. - 风险管理v3
  5417. /Erms3/QueryUserInfos:
  5418. get:
  5419. parameters:
  5420. - description: 页码
  5421. in: query
  5422. name: page
  5423. type: integer
  5424. - description: 每页条数
  5425. in: query
  5426. name: pagesize
  5427. type: integer
  5428. - description: 客户名称,支持模糊查询
  5429. in: query
  5430. name: userName
  5431. type: string
  5432. produces:
  5433. - application/json
  5434. responses:
  5435. "200":
  5436. description: OK
  5437. schema:
  5438. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  5439. "500":
  5440. description: Internal Server Error
  5441. schema:
  5442. $ref: '#/definitions/app.Response'
  5443. security:
  5444. - ApiKeyAuth: []
  5445. summary: 客户信息查询
  5446. tags:
  5447. - 风险管理v3
  5448. /HSBY/GetHsbyMyCount:
  5449. get:
  5450. description: 说明: 不包括已完成的数量。
  5451. parameters:
  5452. - description: 资金账户列表,格式:1,2,3
  5453. in: query
  5454. name: accountIDs
  5455. required: true
  5456. type: string
  5457. produces:
  5458. - application/json
  5459. responses:
  5460. "200":
  5461. description: OK
  5462. schema:
  5463. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  5464. "500":
  5465. description: Internal Server Error
  5466. schema:
  5467. $ref: '#/definitions/app.Response'
  5468. security:
  5469. - ApiKeyAuth: []
  5470. summary: 获取我的订单与包裹数量
  5471. tags:
  5472. - 定制【海商报业】
  5473. /HSBY/QueryHsbyBuyMyTradeDetail:
  5474. get:
  5475. parameters:
  5476. - description: 页码
  5477. in: query
  5478. name: page
  5479. type: integer
  5480. - description: 每页条数
  5481. in: query
  5482. name: pagesize
  5483. type: integer
  5484. - description: 资金账户列表,格式:1,2,3
  5485. in: query
  5486. name: accountIDs
  5487. required: true
  5488. type: string
  5489. produces:
  5490. - application/json
  5491. responses:
  5492. "200":
  5493. description: OK
  5494. schema:
  5495. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  5496. "500":
  5497. description: Internal Server Error
  5498. schema:
  5499. $ref: '#/definitions/app.Response'
  5500. security:
  5501. - ApiKeyAuth: []
  5502. summary: 查询"我的订单 - 已完成"单据信息
  5503. tags:
  5504. - 定制【海商报业】
  5505. /HSBY/QueryHsbyGoodsOrderDetails:
  5506. get:
  5507. description: 说明:查询结果已按委托价格和委托时间排序
  5508. parameters:
  5509. - description: 商品ID
  5510. in: query
  5511. name: goodsID
  5512. required: true
  5513. type: integer
  5514. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  5515. in: query
  5516. name: accountIDs
  5517. required: true
  5518. type: string
  5519. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  5520. in: query
  5521. name: buyOrSell
  5522. type: integer
  5523. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  5524. in: query
  5525. name: price
  5526. type: number
  5527. - description: 档位,不传则默认为3档
  5528. in: query
  5529. name: speed
  5530. type: integer
  5531. produces:
  5532. - application/json
  5533. responses:
  5534. "200":
  5535. description: OK
  5536. schema:
  5537. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  5538. "500":
  5539. description: Internal Server Error
  5540. schema:
  5541. $ref: '#/definitions/app.Response'
  5542. security:
  5543. - ApiKeyAuth: []
  5544. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  5545. tags:
  5546. - 定制【海商报业】
  5547. /HSBY/QueryHsbyListingGoodsDetail:
  5548. get:
  5549. parameters:
  5550. - description: 商品ID
  5551. in: query
  5552. name: goodsID
  5553. required: true
  5554. type: integer
  5555. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  5556. in: query
  5557. name: AccountID
  5558. type: integer
  5559. produces:
  5560. - application/json
  5561. responses:
  5562. "200":
  5563. description: OK
  5564. schema:
  5565. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  5566. "500":
  5567. description: Internal Server Error
  5568. schema:
  5569. $ref: '#/definitions/app.Response'
  5570. security:
  5571. - ApiKeyAuth: []
  5572. summary: 查询二级市场(挂牌点选)商品信息详情
  5573. tags:
  5574. - 定制【海商报业】
  5575. /HSBY/QueryHsbyMyBuyOrderDetails:
  5576. get:
  5577. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  5578. parameters:
  5579. - description: 资金账户列表,格式:1,2,3
  5580. in: query
  5581. name: accountIDs
  5582. required: true
  5583. type: string
  5584. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  5585. in: query
  5586. name: myBuyStatus
  5587. type: integer
  5588. produces:
  5589. - application/json
  5590. responses:
  5591. "200":
  5592. description: OK
  5593. schema:
  5594. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5595. "500":
  5596. description: Internal Server Error
  5597. schema:
  5598. $ref: '#/definitions/app.Response'
  5599. security:
  5600. - ApiKeyAuth: []
  5601. summary: 查询“我的订单”信息
  5602. tags:
  5603. - 定制【海商报业】
  5604. /HSBY/QueryHsbyMyGoods:
  5605. get:
  5606. parameters:
  5607. - description: 资金账户列表,格式:1,2,3
  5608. in: query
  5609. name: accountIDs
  5610. required: true
  5611. type: string
  5612. produces:
  5613. - application/json
  5614. responses:
  5615. "200":
  5616. description: OK
  5617. schema:
  5618. $ref: '#/definitions/models.HsbyMyGoods'
  5619. "500":
  5620. description: Internal Server Error
  5621. schema:
  5622. $ref: '#/definitions/app.Response'
  5623. security:
  5624. - ApiKeyAuth: []
  5625. summary: 查询“我的商品”信息
  5626. tags:
  5627. - 定制【海商报业】
  5628. /HSBY/QueryHsbyMyPackages:
  5629. get:
  5630. parameters:
  5631. - description: 资金账户列表,格式:1,2,3
  5632. in: query
  5633. name: accountIDs
  5634. required: true
  5635. type: string
  5636. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5637. in: query
  5638. name: takeOrderStatus
  5639. type: integer
  5640. produces:
  5641. - application/json
  5642. responses:
  5643. "200":
  5644. description: OK
  5645. schema:
  5646. $ref: '#/definitions/models.HsbyMyPackage'
  5647. "500":
  5648. description: Internal Server Error
  5649. schema:
  5650. $ref: '#/definitions/app.Response'
  5651. security:
  5652. - ApiKeyAuth: []
  5653. summary: 查询我的包裹信息
  5654. tags:
  5655. - 定制【海商报业】
  5656. /HSBY/QueryHsbyPreGoodsDetail:
  5657. get:
  5658. parameters:
  5659. - description: 商品ID
  5660. in: query
  5661. name: goodsID
  5662. required: true
  5663. type: integer
  5664. - description: 资金账户,主要用于获取预售商品购买上限
  5665. in: query
  5666. name: accountID
  5667. required: true
  5668. type: integer
  5669. produces:
  5670. - application/json
  5671. responses:
  5672. "200":
  5673. description: OK
  5674. schema:
  5675. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5676. "500":
  5677. description: Internal Server Error
  5678. schema:
  5679. $ref: '#/definitions/app.Response'
  5680. security:
  5681. - ApiKeyAuth: []
  5682. summary: 查询一级市场(产能预售)商品信息详情
  5683. tags:
  5684. - 定制【海商报业】
  5685. /HSBY/QueryHsbyPreGoodses:
  5686. get:
  5687. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5688. parameters:
  5689. - description: 页码
  5690. in: query
  5691. name: page
  5692. type: integer
  5693. - description: 每页条数
  5694. in: query
  5695. name: pagesize
  5696. type: integer
  5697. - description: 市场ID列表,格式:1,2,3
  5698. in: query
  5699. name: marketIDs
  5700. required: true
  5701. type: string
  5702. - description: 目的地(省)ID
  5703. in: query
  5704. name: descProvinceID
  5705. type: integer
  5706. - description: 目的地(市)ID
  5707. in: query
  5708. name: descCityID
  5709. type: integer
  5710. produces:
  5711. - application/json
  5712. responses:
  5713. "200":
  5714. description: OK
  5715. schema:
  5716. $ref: '#/definitions/models.HsbyPreGoods'
  5717. "500":
  5718. description: Internal Server Error
  5719. schema:
  5720. $ref: '#/definitions/app.Response'
  5721. security:
  5722. - ApiKeyAuth: []
  5723. summary: 查询新品上市商品列表(一级市场产能预售)
  5724. tags:
  5725. - 定制【海商报业】
  5726. /HSBY/QueryHsbySellMyDetails:
  5727. get:
  5728. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5729. parameters:
  5730. - description: 页码
  5731. in: query
  5732. name: page
  5733. type: integer
  5734. - description: 每页条数
  5735. in: query
  5736. name: pagesize
  5737. type: integer
  5738. - description: 资金账户列表,格式:1,2,3
  5739. in: query
  5740. name: accountIDs
  5741. required: true
  5742. type: string
  5743. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5744. in: query
  5745. name: orderType
  5746. type: integer
  5747. produces:
  5748. - application/json
  5749. responses:
  5750. "200":
  5751. description: OK
  5752. schema:
  5753. $ref: '#/definitions/models.HsbySellMyDetail'
  5754. "500":
  5755. description: Internal Server Error
  5756. schema:
  5757. $ref: '#/definitions/app.Response'
  5758. security:
  5759. - ApiKeyAuth: []
  5760. summary: 查询"我的闲置"单据信息
  5761. tags:
  5762. - 定制【海商报业】
  5763. /HSBY/QueryHsbyTopGoodses:
  5764. get:
  5765. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5766. parameters:
  5767. - description: 页码
  5768. in: query
  5769. name: page
  5770. type: integer
  5771. - description: 每页条数
  5772. in: query
  5773. name: pagesize
  5774. type: integer
  5775. - description: 市场ID列表,格式:1,2,3
  5776. in: query
  5777. name: marketIDs
  5778. required: true
  5779. type: string
  5780. - description: 目的地(省)ID
  5781. in: query
  5782. name: descProvinceID
  5783. type: integer
  5784. - description: 目的地(市)ID
  5785. in: query
  5786. name: descCityID
  5787. type: integer
  5788. produces:
  5789. - application/json
  5790. responses:
  5791. "200":
  5792. description: OK
  5793. schema:
  5794. $ref: '#/definitions/models.HsbyTopGoods'
  5795. "500":
  5796. description: Internal Server Error
  5797. schema:
  5798. $ref: '#/definitions/app.Response'
  5799. security:
  5800. - ApiKeyAuth: []
  5801. summary: 查询热卖商品列表(二级市场挂牌点选)
  5802. tags:
  5803. - 定制【海商报业】
  5804. /HSBY/QueryProvincesAndCities:
  5805. get:
  5806. description: 查询结果只包括二级市场商品已关连的省市信息。
  5807. parameters:
  5808. - description: 省ID
  5809. in: query
  5810. name: provinceID
  5811. type: integer
  5812. produces:
  5813. - application/json
  5814. responses:
  5815. "200":
  5816. description: OK
  5817. schema:
  5818. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5819. "500":
  5820. description: Internal Server Error
  5821. schema:
  5822. $ref: '#/definitions/app.Response'
  5823. security:
  5824. - ApiKeyAuth: []
  5825. summary: 查询省市信息(不包括区)
  5826. tags:
  5827. - 定制【海商报业】
  5828. /HSBY/SetHsbyMyPackagesStatus:
  5829. post:
  5830. parameters:
  5831. - description: 提货单号
  5832. in: query
  5833. name: takeOrderID
  5834. required: true
  5835. type: string
  5836. - description: 资金账号
  5837. in: query
  5838. name: accountID
  5839. required: true
  5840. type: integer
  5841. produces:
  5842. - application/json
  5843. responses:
  5844. "200":
  5845. description: OK
  5846. schema:
  5847. $ref: '#/definitions/app.Response'
  5848. "500":
  5849. description: Internal Server Error
  5850. schema:
  5851. $ref: '#/definitions/app.Response'
  5852. security:
  5853. - ApiKeyAuth: []
  5854. summary: 设置我的包裹已收货状态
  5855. tags:
  5856. - 定制【海商报业】
  5857. /Order/QueryHisTradeDetail:
  5858. get:
  5859. parameters:
  5860. - description: 资金账户 - 格式:1,2,3
  5861. in: query
  5862. name: accountID
  5863. required: true
  5864. type: string
  5865. - description: 成交单号
  5866. in: query
  5867. name: tradeID
  5868. type: integer
  5869. - description: 委托单号
  5870. in: query
  5871. name: orderID
  5872. type: integer
  5873. - description: 交易模式 - 格式:1,2,3
  5874. in: query
  5875. name: tradeMode
  5876. type: string
  5877. - description: 委托单据类型
  5878. in: query
  5879. name: buildType
  5880. type: integer
  5881. - description: 成交类别 - 格式:1,2,3
  5882. in: query
  5883. name: tradeType
  5884. type: string
  5885. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5886. in: query
  5887. name: startDate
  5888. type: string
  5889. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5890. in: query
  5891. name: endDate
  5892. type: string
  5893. produces:
  5894. - application/json
  5895. responses:
  5896. "200":
  5897. description: OK
  5898. schema:
  5899. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5900. "500":
  5901. description: Internal Server Error
  5902. schema:
  5903. $ref: '#/definitions/app.Response'
  5904. security:
  5905. - ApiKeyAuth: []
  5906. summary: 历史成交单查询(合约市场)
  5907. tags:
  5908. - 通用单据
  5909. /Order/QueryHisTradeOrderDetail:
  5910. get:
  5911. parameters:
  5912. - description: 资金账户 - 格式:1,2,3
  5913. in: query
  5914. name: accountID
  5915. required: true
  5916. type: string
  5917. - description: 交易模式 - 格式:1,2,3
  5918. in: query
  5919. name: tradeMode
  5920. type: string
  5921. - description: 委托状态 - 格式:1,2,3
  5922. in: query
  5923. name: orderStatus
  5924. type: string
  5925. - description: 委托单号
  5926. in: query
  5927. name: orderID
  5928. type: integer
  5929. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5930. in: query
  5931. name: startDate
  5932. type: string
  5933. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5934. in: query
  5935. name: endDate
  5936. type: string
  5937. produces:
  5938. - application/json
  5939. responses:
  5940. "200":
  5941. description: OK
  5942. schema:
  5943. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5944. "500":
  5945. description: Internal Server Error
  5946. schema:
  5947. $ref: '#/definitions/app.Response'
  5948. security:
  5949. - ApiKeyAuth: []
  5950. summary: 历史委托单查询请求(合约市场)
  5951. tags:
  5952. - 通用单据
  5953. /Order/QueryTradeDetail:
  5954. get:
  5955. parameters:
  5956. - description: 资金账户 - 格式:1,2,3
  5957. in: query
  5958. name: accountID
  5959. required: true
  5960. type: string
  5961. - description: 成交单号
  5962. in: query
  5963. name: tradeID
  5964. type: integer
  5965. - description: 委托单号
  5966. in: query
  5967. name: orderID
  5968. type: integer
  5969. - description: 交易模式 - 格式:1,2,3
  5970. in: query
  5971. name: tradeMode
  5972. type: string
  5973. - description: 委托单据类型
  5974. in: query
  5975. name: buildType
  5976. type: integer
  5977. - description: 成交类别 - 格式:1,2,3
  5978. in: query
  5979. name: tradeType
  5980. type: string
  5981. produces:
  5982. - application/json
  5983. responses:
  5984. "200":
  5985. description: OK
  5986. schema:
  5987. $ref: '#/definitions/order.QueryTradeDetailRsp'
  5988. "500":
  5989. description: Internal Server Error
  5990. schema:
  5991. $ref: '#/definitions/app.Response'
  5992. security:
  5993. - ApiKeyAuth: []
  5994. summary: 成交单查询(合约市场)
  5995. tags:
  5996. - 通用单据
  5997. /Order/QueryTradeOrderDetail:
  5998. get:
  5999. parameters:
  6000. - description: 资金账户 - 格式:1,2,3
  6001. in: query
  6002. name: accountID
  6003. required: true
  6004. type: string
  6005. - description: 交易模式 - 格式:1,2,3
  6006. in: query
  6007. name: tradeMode
  6008. type: string
  6009. - description: 委托状态 - 格式:1,2,3
  6010. in: query
  6011. name: orderStatus
  6012. type: string
  6013. - description: 委托单号
  6014. in: query
  6015. name: orderID
  6016. type: integer
  6017. produces:
  6018. - application/json
  6019. responses:
  6020. "200":
  6021. description: OK
  6022. schema:
  6023. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  6024. "500":
  6025. description: Internal Server Error
  6026. schema:
  6027. $ref: '#/definitions/app.Response'
  6028. security:
  6029. - ApiKeyAuth: []
  6030. summary: 委托单查询请求(合约市场)
  6031. tags:
  6032. - 通用单据
  6033. /Order/QueryTradePosition:
  6034. get:
  6035. parameters:
  6036. - description: 资金账户 - 格式:1,2,3
  6037. in: query
  6038. name: accountID
  6039. required: true
  6040. type: string
  6041. - description: 交易模式 - 格式:1,2,3
  6042. in: query
  6043. name: tradeMode
  6044. type: string
  6045. produces:
  6046. - application/json
  6047. responses:
  6048. "200":
  6049. description: OK
  6050. schema:
  6051. $ref: '#/definitions/order.QueryTradePositionRsp'
  6052. "500":
  6053. description: Internal Server Error
  6054. schema:
  6055. $ref: '#/definitions/app.Response'
  6056. security:
  6057. - ApiKeyAuth: []
  6058. summary: 持仓汇总查询(合约市场)
  6059. tags:
  6060. - 通用单据
  6061. /Quote/QueryHistoryDatas:
  6062. get:
  6063. parameters:
  6064. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  6065. 日线 10: Tik'
  6066. in: query
  6067. name: cycleType
  6068. required: true
  6069. type: integer
  6070. - description: 商品代码
  6071. in: query
  6072. name: goodsCode
  6073. required: true
  6074. type: string
  6075. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  6076. in: query
  6077. name: startTime
  6078. type: string
  6079. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  6080. in: query
  6081. name: endTime
  6082. type: string
  6083. - description: 条数
  6084. in: query
  6085. name: count
  6086. type: integer
  6087. - description: 是否按时间顺序排序(默认为时间倒序排序)
  6088. in: query
  6089. name: isAsc
  6090. type: boolean
  6091. produces:
  6092. - application/json
  6093. responses:
  6094. "200":
  6095. description: OK
  6096. schema:
  6097. $ref: '#/definitions/quote.HistoryData'
  6098. "500":
  6099. description: Internal Server Error
  6100. schema:
  6101. $ref: '#/definitions/app.Response'
  6102. security:
  6103. - ApiKeyAuth: []
  6104. summary: 查询行情历史数据
  6105. tags:
  6106. - 行情服务
  6107. /Quote/QueryTSData:
  6108. get:
  6109. parameters:
  6110. - description: 商品代码
  6111. in: query
  6112. name: GoodsCode
  6113. required: true
  6114. type: string
  6115. produces:
  6116. - application/json
  6117. responses:
  6118. "200":
  6119. description: OK
  6120. schema:
  6121. $ref: '#/definitions/quote.QueryTSDataRsp'
  6122. "500":
  6123. description: Internal Server Error
  6124. schema:
  6125. $ref: '#/definitions/app.Response'
  6126. summary: 分时图数据查询
  6127. tags:
  6128. - 行情服务
  6129. /SZDZ/QueryConvertConfig:
  6130. get:
  6131. parameters:
  6132. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6133. 6:交易转花生米(不设置)
  6134. in: query
  6135. name: convertType
  6136. type: integer
  6137. - description: 外部商品代码[JD\PD]
  6138. in: query
  6139. name: outerGoodsCode
  6140. type: string
  6141. - description: 内部商品ID列表[交易],格式:1,2,3
  6142. in: query
  6143. name: innerGoodsIDs
  6144. type: string
  6145. produces:
  6146. - application/json
  6147. responses:
  6148. "200":
  6149. description: OK
  6150. schema:
  6151. $ref: '#/definitions/models.Szdz3convertconfig'
  6152. "500":
  6153. description: Internal Server Error
  6154. schema:
  6155. $ref: '#/definitions/app.Response'
  6156. security:
  6157. - ApiKeyAuth: []
  6158. summary: 查询交易系统转换设置
  6159. tags:
  6160. - 定制【尚志大宗】
  6161. /SZDZ/QueryConvertLog:
  6162. get:
  6163. parameters:
  6164. - description: 资金账户 - 格式:1,2,3
  6165. in: query
  6166. name: accountID
  6167. required: true
  6168. type: string
  6169. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6170. in: query
  6171. name: startDate
  6172. type: string
  6173. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6174. in: query
  6175. name: endDate
  6176. type: string
  6177. produces:
  6178. - application/json
  6179. responses:
  6180. "200":
  6181. description: OK
  6182. schema:
  6183. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  6184. "500":
  6185. description: Internal Server Error
  6186. schema:
  6187. $ref: '#/definitions/app.Response'
  6188. security:
  6189. - ApiKeyAuth: []
  6190. summary: 交易系统转换流水查询
  6191. tags:
  6192. - 定制【尚志大宗】
  6193. /SZDZ/QueryGoodsPickup:
  6194. get:
  6195. parameters:
  6196. - description: 资金账户 - 格式:1,2,3
  6197. in: query
  6198. name: accountID
  6199. required: true
  6200. type: string
  6201. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6202. in: query
  6203. name: takeOrderStatus
  6204. type: integer
  6205. produces:
  6206. - application/json
  6207. responses:
  6208. "200":
  6209. description: OK
  6210. schema:
  6211. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  6212. "500":
  6213. description: Internal Server Error
  6214. schema:
  6215. $ref: '#/definitions/app.Response'
  6216. security:
  6217. - ApiKeyAuth: []
  6218. summary: 商品提货单查询
  6219. tags:
  6220. - 定制【尚志大宗】
  6221. /SZDZ/QueryRecieptOrder:
  6222. get:
  6223. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6224. parameters:
  6225. - description: 页码
  6226. in: query
  6227. name: page
  6228. type: integer
  6229. - description: 每页条数
  6230. in: query
  6231. name: pagesize
  6232. type: integer
  6233. - description: 商品ID
  6234. in: query
  6235. name: goodsID
  6236. required: true
  6237. type: integer
  6238. - description: 所属账户名称
  6239. in: query
  6240. name: accountName
  6241. type: string
  6242. - description: 市场ID
  6243. in: query
  6244. name: marketID
  6245. type: integer
  6246. - description: 方向 - 0:买 1:卖
  6247. in: query
  6248. name: buyorsell
  6249. required: true
  6250. type: integer
  6251. produces:
  6252. - application/json
  6253. responses:
  6254. "200":
  6255. description: OK
  6256. schema:
  6257. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  6258. "500":
  6259. description: Internal Server Error
  6260. schema:
  6261. $ref: '#/definitions/app.Response'
  6262. security:
  6263. - ApiKeyAuth: []
  6264. summary: 点选挂牌委托单据查询(摘牌大厅)
  6265. tags:
  6266. - 定制【尚志大宗】
  6267. /SZDZ/QuerySZDZTradePosition:
  6268. get:
  6269. parameters:
  6270. - description: 资金账户
  6271. in: query
  6272. name: accountID
  6273. required: true
  6274. type: integer
  6275. produces:
  6276. - application/json
  6277. responses:
  6278. "200":
  6279. description: OK
  6280. schema:
  6281. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  6282. "500":
  6283. description: Internal Server Error
  6284. schema:
  6285. $ref: '#/definitions/app.Response'
  6286. security:
  6287. - ApiKeyAuth: []
  6288. summary: 持仓汇总查询(尚志大宗)
  6289. tags:
  6290. - 定制【尚志大宗】
  6291. /SZDZ/SearchWhite:
  6292. get:
  6293. parameters:
  6294. - description: 用户ID
  6295. in: query
  6296. name: userID
  6297. required: true
  6298. type: integer
  6299. produces:
  6300. - application/json
  6301. responses:
  6302. "200":
  6303. description: OK
  6304. schema:
  6305. $ref: '#/definitions/models.Szdz3searchwhitelist'
  6306. "500":
  6307. description: Internal Server Error
  6308. schema:
  6309. $ref: '#/definitions/app.Response'
  6310. security:
  6311. - ApiKeyAuth: []
  6312. summary: 搜索白名单
  6313. tags:
  6314. - 定制【尚志大宗】
  6315. /Search/SearchGoodses:
  6316. get:
  6317. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  6318. parameters:
  6319. - description: 检索内容
  6320. in: query
  6321. name: content
  6322. required: true
  6323. type: string
  6324. produces:
  6325. - application/json
  6326. responses:
  6327. "200":
  6328. description: OK
  6329. schema:
  6330. $ref: '#/definitions/models.SearchGoods'
  6331. "500":
  6332. description: Internal Server Error
  6333. schema:
  6334. $ref: '#/definitions/app.Response'
  6335. summary: 检索商品信息
  6336. tags:
  6337. - 检索服务
  6338. /TaAccount/QueryAmountLog:
  6339. get:
  6340. parameters:
  6341. - description: 页码
  6342. in: query
  6343. name: page
  6344. type: integer
  6345. - description: 每页条数
  6346. in: query
  6347. name: pagesize
  6348. type: integer
  6349. - description: 资金账户 - 格式:1,2,3
  6350. in: query
  6351. name: accountID
  6352. required: true
  6353. type: string
  6354. - description: 资金操作类型 - 格式:1,2,3
  6355. in: query
  6356. name: OperateType
  6357. type: string
  6358. produces:
  6359. - application/json
  6360. responses:
  6361. "200":
  6362. description: OK
  6363. schema:
  6364. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  6365. "500":
  6366. description: Internal Server Error
  6367. schema:
  6368. $ref: '#/definitions/app.Response'
  6369. security:
  6370. - ApiKeyAuth: []
  6371. summary: 资金流水查询(当前)
  6372. tags:
  6373. - 资金账户
  6374. /TaAccount/QueryHisAmountLog:
  6375. get:
  6376. parameters:
  6377. - description: 页码
  6378. in: query
  6379. name: page
  6380. type: integer
  6381. - description: 每页条数
  6382. in: query
  6383. name: pagesize
  6384. type: integer
  6385. - description: 资金账户 - 格式:1,2,3
  6386. in: query
  6387. name: accountID
  6388. required: true
  6389. type: string
  6390. - description: 资金操作类型 - 格式:1,2,3
  6391. in: query
  6392. name: OperateType
  6393. type: string
  6394. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6395. in: query
  6396. name: startDate
  6397. type: string
  6398. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6399. in: query
  6400. name: endDate
  6401. type: string
  6402. produces:
  6403. - application/json
  6404. responses:
  6405. "200":
  6406. description: OK
  6407. schema:
  6408. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  6409. "500":
  6410. description: Internal Server Error
  6411. schema:
  6412. $ref: '#/definitions/app.Response'
  6413. security:
  6414. - ApiKeyAuth: []
  6415. summary: 资金流水查询(历史)
  6416. tags:
  6417. - 资金账户
  6418. /User/AddMessageBoard:
  6419. post:
  6420. parameters:
  6421. - description: 用户ID
  6422. in: query
  6423. name: userID
  6424. required: true
  6425. type: integer
  6426. - description: 留言信息
  6427. in: query
  6428. name: message
  6429. required: true
  6430. type: string
  6431. produces:
  6432. - application/json
  6433. responses:
  6434. "200":
  6435. description: OK
  6436. schema:
  6437. $ref: '#/definitions/app.Response'
  6438. "500":
  6439. description: Internal Server Error
  6440. schema:
  6441. $ref: '#/definitions/app.Response'
  6442. security:
  6443. - ApiKeyAuth: []
  6444. summary: 添加用户留言板信息
  6445. tags:
  6446. - 用户信息
  6447. /User/AddUserFavoriteGoods:
  6448. post:
  6449. parameters:
  6450. - description: 用户ID
  6451. in: query
  6452. name: userID
  6453. required: true
  6454. type: integer
  6455. - description: 商品ID
  6456. in: query
  6457. name: goodsID
  6458. required: true
  6459. type: integer
  6460. produces:
  6461. - application/json
  6462. responses:
  6463. "200":
  6464. description: OK
  6465. schema:
  6466. $ref: '#/definitions/app.Response'
  6467. "500":
  6468. description: Internal Server Error
  6469. schema:
  6470. $ref: '#/definitions/app.Response'
  6471. security:
  6472. - ApiKeyAuth: []
  6473. summary: 添加用户商品收藏信息
  6474. tags:
  6475. - 用户信息
  6476. /User/GetLoginID:
  6477. get:
  6478. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  6479. parameters:
  6480. - description: 登录代码
  6481. in: query
  6482. name: username
  6483. required: true
  6484. type: string
  6485. produces:
  6486. - application/json
  6487. responses:
  6488. "200":
  6489. description: OK
  6490. schema:
  6491. $ref: '#/definitions/app.Response'
  6492. "500":
  6493. description: Internal Server Error
  6494. schema:
  6495. $ref: '#/definitions/app.Response'
  6496. summary: 获取登录ID
  6497. tags:
  6498. - 用户信息
  6499. /User/GetUserAccount:
  6500. get:
  6501. parameters:
  6502. - description: 用户ID
  6503. in: query
  6504. name: userID
  6505. required: true
  6506. type: integer
  6507. produces:
  6508. - application/json
  6509. responses:
  6510. "200":
  6511. description: OK
  6512. schema:
  6513. $ref: '#/definitions/models.Useraccount'
  6514. "500":
  6515. description: Internal Server Error
  6516. schema:
  6517. $ref: '#/definitions/app.Response'
  6518. security:
  6519. - ApiKeyAuth: []
  6520. summary: 获取用户账号信息
  6521. tags:
  6522. - 用户信息
  6523. /User/GetUserAuthStatus:
  6524. get:
  6525. parameters:
  6526. - description: 用户ID
  6527. in: query
  6528. name: userID
  6529. required: true
  6530. type: integer
  6531. produces:
  6532. - application/json
  6533. responses:
  6534. "200":
  6535. description: OK
  6536. schema:
  6537. $ref: '#/definitions/app.Response'
  6538. "500":
  6539. description: Internal Server Error
  6540. schema:
  6541. $ref: '#/definitions/app.Response'
  6542. security:
  6543. - ApiKeyAuth: []
  6544. summary: 获取用户实名认证状态
  6545. tags:
  6546. - 用户信息
  6547. /User/QueryMessageBoard:
  6548. get:
  6549. parameters:
  6550. - description: 用户ID
  6551. in: query
  6552. name: userID
  6553. required: true
  6554. type: integer
  6555. produces:
  6556. - application/json
  6557. responses:
  6558. "200":
  6559. description: OK
  6560. schema:
  6561. $ref: '#/definitions/models.Messageboard'
  6562. "500":
  6563. description: Internal Server Error
  6564. schema:
  6565. $ref: '#/definitions/app.Response'
  6566. security:
  6567. - ApiKeyAuth: []
  6568. summary: 获取用户留言板信息
  6569. tags:
  6570. - 用户信息
  6571. /User/QueryUserFavoriteGoodses:
  6572. get:
  6573. parameters:
  6574. - description: 用户ID
  6575. in: query
  6576. name: userID
  6577. required: true
  6578. type: integer
  6579. produces:
  6580. - application/json
  6581. responses:
  6582. "200":
  6583. description: OK
  6584. schema:
  6585. $ref: '#/definitions/models.Userfavoritegoods'
  6586. "500":
  6587. description: Internal Server Error
  6588. schema:
  6589. $ref: '#/definitions/app.Response'
  6590. security:
  6591. - ApiKeyAuth: []
  6592. summary: 获取用户商品收藏信息
  6593. tags:
  6594. - 用户信息
  6595. /User/QueryUserInfo:
  6596. get:
  6597. parameters:
  6598. - description: 用户ID
  6599. in: query
  6600. name: userID
  6601. required: true
  6602. type: integer
  6603. produces:
  6604. - application/json
  6605. responses:
  6606. "200":
  6607. description: OK
  6608. schema:
  6609. $ref: '#/definitions/models.Userinfo'
  6610. "500":
  6611. description: Internal Server Error
  6612. schema:
  6613. $ref: '#/definitions/app.Response'
  6614. security:
  6615. - ApiKeyAuth: []
  6616. summary: 获取用户信息
  6617. tags:
  6618. - 用户信息
  6619. /User/QueryUserReferNum:
  6620. get:
  6621. parameters:
  6622. - description: 用户ID
  6623. in: query
  6624. name: userID
  6625. required: true
  6626. type: integer
  6627. produces:
  6628. - application/json
  6629. responses:
  6630. "200":
  6631. description: OK
  6632. schema:
  6633. $ref: '#/definitions/app.Response'
  6634. "500":
  6635. description: Internal Server Error
  6636. schema:
  6637. $ref: '#/definitions/app.Response'
  6638. summary: 获取用户邀请码
  6639. tags:
  6640. - 用户信息
  6641. /User/RemoveUserFavoriteGoods:
  6642. post:
  6643. parameters:
  6644. - description: 用户ID
  6645. in: query
  6646. name: userID
  6647. required: true
  6648. type: integer
  6649. - description: 商品ID
  6650. in: query
  6651. name: goodsID
  6652. required: true
  6653. type: integer
  6654. produces:
  6655. - application/json
  6656. responses:
  6657. "200":
  6658. description: OK
  6659. schema:
  6660. $ref: '#/definitions/app.Response'
  6661. "500":
  6662. description: Internal Server Error
  6663. schema:
  6664. $ref: '#/definitions/app.Response'
  6665. security:
  6666. - ApiKeyAuth: []
  6667. summary: 移除用户商品收藏信息
  6668. tags:
  6669. - 用户信息
  6670. /WRTrade/GetAllDeliveryGoods:
  6671. get:
  6672. produces:
  6673. - application/json
  6674. - application/json
  6675. responses:
  6676. "200":
  6677. description: OK
  6678. schema:
  6679. $ref: '#/definitions/app.Response'
  6680. "500":
  6681. description: Internal Server Error
  6682. schema:
  6683. $ref: '#/definitions/app.Response'
  6684. security:
  6685. - ApiKeyAuth: []
  6686. - ApiKeyAuth: []
  6687. summary: 获取带仓单分类的种类信息
  6688. tags:
  6689. - 仓单贸易
  6690. - 仓单贸易
  6691. securityDefinitions:
  6692. ApiKeyAuth:
  6693. in: header
  6694. name: Authorization
  6695. type: apiKey
  6696. swagger: "2.0"