swagger.yaml 165 KB

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