swagger.yaml 167 KB

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