swagger.yaml 206 KB

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