swagger.yaml 150 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410
  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. hsby.QueryProvincesAndCitiesRsp:
  1204. properties:
  1205. cities:
  1206. description: 市
  1207. items:
  1208. $ref: '#/definitions/models.Division'
  1209. type: array
  1210. province:
  1211. $ref: '#/definitions/models.Division'
  1212. description: 省
  1213. type: object
  1214. models.Division:
  1215. properties:
  1216. autoid:
  1217. description: 自增ID
  1218. type: integer
  1219. divisioncode:
  1220. description: 行政代码
  1221. type: string
  1222. divisionlevel:
  1223. description: 行政级别
  1224. type: string
  1225. divisionname:
  1226. description: 行政名称
  1227. type: string
  1228. modifierid:
  1229. description: 修改人
  1230. type: integer
  1231. modifytime:
  1232. description: 修改时间
  1233. type: string
  1234. parentcode:
  1235. description: 上级行政代码
  1236. type: string
  1237. pathname:
  1238. description: 路径名称
  1239. type: string
  1240. postcode:
  1241. description: 邮政编码
  1242. type: string
  1243. separablename:
  1244. description: 可拆分的全称
  1245. type: string
  1246. shortcode:
  1247. description: 地区简码
  1248. type: string
  1249. required:
  1250. - autoid
  1251. - divisioncode
  1252. type: object
  1253. models.HsbyBuyMyTradeDetail:
  1254. properties:
  1255. accountid:
  1256. description: 账户ID[报价币种]
  1257. type: integer
  1258. agreeunit:
  1259. description: 合约单位
  1260. type: number
  1261. amount:
  1262. description: 金额 = 价格 * 数量 * 合约单位
  1263. type: number
  1264. buyorsell:
  1265. description: 买卖 - 0:买 1:卖
  1266. type: integer
  1267. currencysign:
  1268. description: 货币符号
  1269. type: string
  1270. decimalplace:
  1271. description: 报价小数位
  1272. type: integer
  1273. goodscode:
  1274. description: 商品代码(内部)
  1275. type: string
  1276. goodsid:
  1277. description: 商品ID
  1278. type: integer
  1279. goodsname:
  1280. description: 商品名称
  1281. type: string
  1282. marketid:
  1283. description: 市场ID
  1284. type: integer
  1285. orderid:
  1286. description: 单号(成交单号)
  1287. type: string
  1288. picurls1:
  1289. description: 预售商品介绍图片[多张用逗号分隔]
  1290. type: string
  1291. picurls2:
  1292. description: 挂牌商品介绍图片[多张用逗号分隔]
  1293. type: string
  1294. price:
  1295. description: 价格
  1296. type: number
  1297. qty:
  1298. description: 数量
  1299. type: integer
  1300. time:
  1301. description: 时间
  1302. type: string
  1303. trademode:
  1304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1305. 21:竞拍-大宗式 22:受托竞价
  1306. type: integer
  1307. vendorname1:
  1308. description: 预售商品供应商名称
  1309. type: string
  1310. vendorname2:
  1311. description: 挂牌商品供应商名称
  1312. type: string
  1313. required:
  1314. - accountid
  1315. - buyorsell
  1316. - goodscode
  1317. - goodsid
  1318. - goodsname
  1319. - marketid
  1320. - orderid
  1321. - qty
  1322. - time
  1323. - trademode
  1324. type: object
  1325. models.HsbyGoodsOrderDetail:
  1326. properties:
  1327. buyorsell:
  1328. description: 买卖 - 0:买 1:卖
  1329. type: integer
  1330. currencysign:
  1331. description: 货币符号
  1332. type: string
  1333. customername:
  1334. description: 客户名称(企业名称),已脱敏
  1335. type: string
  1336. enableqty:
  1337. description: 可用数量
  1338. type: integer
  1339. goodunit:
  1340. description: 报价单位
  1341. type: string
  1342. orderid:
  1343. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1344. type: string
  1345. orderprice:
  1346. description: 委托价格
  1347. type: number
  1348. ordertime:
  1349. description: 委托时间
  1350. type: string
  1351. required:
  1352. - buyorsell
  1353. - orderid
  1354. - ordertime
  1355. type: object
  1356. models.HsbyListingGoodsDetail:
  1357. properties:
  1358. agreeunit:
  1359. description: 合约单位
  1360. type: number
  1361. currency:
  1362. description: 货币
  1363. type: string
  1364. currencysign:
  1365. description: 货币符号
  1366. type: string
  1367. decimalplace:
  1368. description: 报价小数位
  1369. type: integer
  1370. desccityid:
  1371. description: 目的地(市)ID
  1372. type: integer
  1373. descprovinceid:
  1374. description: 目的地(省)ID
  1375. type: integer
  1376. goodscode:
  1377. description: 商品代码(内部)
  1378. type: string
  1379. goodsdesc:
  1380. description: 商品详情
  1381. type: string
  1382. goodsid:
  1383. description: 商品ID(自增ID SEQ_GOODS)
  1384. type: integer
  1385. goodsname:
  1386. description: 商品名称
  1387. type: string
  1388. hotindex:
  1389. description: 景点热度
  1390. type: integer
  1391. last:
  1392. description: 现价
  1393. type: number
  1394. limitdown:
  1395. description: 跌停价
  1396. type: number
  1397. limitup:
  1398. description: 涨停价
  1399. type: number
  1400. lotsize:
  1401. description: 手数最小变动单位
  1402. type: integer
  1403. marketid:
  1404. description: 所属市场ID
  1405. type: integer
  1406. picurls:
  1407. description: 介绍图片[多张用逗号分隔]
  1408. type: string
  1409. quoteminunit:
  1410. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1411. type: integer
  1412. stepvalue:
  1413. description: 价格最小变动单位
  1414. type: number
  1415. trademode:
  1416. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1417. 21:竞拍-大宗式 22:受托竞价
  1418. type: integer
  1419. vendorattr:
  1420. description: 供应商附件(多张,逗号分隔)
  1421. type: string
  1422. vendorname:
  1423. description: 供应商名称
  1424. type: string
  1425. vendorphone:
  1426. description: 供应商客服电话
  1427. type: string
  1428. videourls:
  1429. description: 介绍视频[多张用逗号分隔]
  1430. type: string
  1431. required:
  1432. - goodscode
  1433. - goodsid
  1434. - goodsname
  1435. - marketid
  1436. - trademode
  1437. type: object
  1438. models.HsbyMyGoods:
  1439. properties:
  1440. accountid:
  1441. description: 账号Id
  1442. type: integer
  1443. agreeunit:
  1444. description: 合约单位
  1445. type: number
  1446. buyaverageprice:
  1447. description: 持仓均价
  1448. type: number
  1449. buycurholderamount:
  1450. description: 买当前持仓总金额[商品币种]
  1451. type: number
  1452. buycurpositionqty:
  1453. description: 买当前持仓总数量
  1454. type: integer
  1455. currencysign:
  1456. description: 货币符号
  1457. type: string
  1458. decimalplace:
  1459. description: 报价小数位
  1460. type: integer
  1461. enableqty:
  1462. description: 可用数量
  1463. type: integer
  1464. goodscode:
  1465. description: 商品代码(内部)
  1466. type: string
  1467. goodsid:
  1468. description: 商品Id
  1469. type: integer
  1470. goodsname:
  1471. description: 商品名称
  1472. type: string
  1473. goodsstatus:
  1474. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  1475. type: integer
  1476. picurls:
  1477. description: 介绍图片[多张用逗号分隔]
  1478. type: string
  1479. required:
  1480. - accountid
  1481. - goodscode
  1482. - goodsid
  1483. - goodsname
  1484. type: object
  1485. models.HsbyMyPackage:
  1486. properties:
  1487. accountid:
  1488. description: 账户ID
  1489. type: integer
  1490. address:
  1491. description: 提货人详细地址
  1492. type: string
  1493. agreeunit:
  1494. description: 合约单位
  1495. type: number
  1496. amount:
  1497. description: 提货金额
  1498. type: number
  1499. auditer:
  1500. description: 审核人
  1501. type: integer
  1502. audittime:
  1503. description: 审核时间
  1504. type: string
  1505. averageprice:
  1506. description: 均价
  1507. type: number
  1508. cardnum:
  1509. description: 提货人证件号码
  1510. type: string
  1511. cardtypeid:
  1512. description: 提货人证件类型
  1513. type: integer
  1514. checkremark:
  1515. description: 审核备注
  1516. type: string
  1517. currencysign:
  1518. description: 货币符号
  1519. type: string
  1520. decimalplace:
  1521. description: 报价小数位
  1522. type: integer
  1523. goodscode:
  1524. description: 商品代码(内部)
  1525. type: string
  1526. goodsid:
  1527. description: 商品ID
  1528. type: integer
  1529. goodsname:
  1530. description: 商品名称
  1531. type: string
  1532. handlestatus:
  1533. description: 处理状态
  1534. type: integer
  1535. marketid:
  1536. description: 市场ID
  1537. type: integer
  1538. phonenum:
  1539. description: 提货人联系方式
  1540. type: string
  1541. picurls:
  1542. description: 介绍图片[多张用逗号分隔]
  1543. type: string
  1544. qty:
  1545. description: 提货数量
  1546. type: number
  1547. recivername:
  1548. description: 提货人姓名
  1549. type: string
  1550. reqtime:
  1551. description: 更新时间
  1552. type: string
  1553. takemode:
  1554. description: 提货方式 - 2:自提 3:配送
  1555. type: integer
  1556. takeorderid:
  1557. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  1558. type: string
  1559. takeorderstatus:
  1560. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  1561. type: integer
  1562. takeremark:
  1563. description: 提货备注
  1564. type: string
  1565. tradedate:
  1566. description: 交易日(yyyyMMdd)
  1567. type: string
  1568. userid:
  1569. description: 用户ID
  1570. type: integer
  1571. vendorname:
  1572. description: 供应商名称
  1573. type: string
  1574. required:
  1575. - goodscode
  1576. - goodsname
  1577. - takeorderid
  1578. type: object
  1579. models.HsbyPreGoods:
  1580. properties:
  1581. agreeunit:
  1582. description: 合约单位
  1583. type: number
  1584. currency:
  1585. description: 货币
  1586. type: string
  1587. currencysign:
  1588. description: 货币符号
  1589. type: string
  1590. decimalplace:
  1591. description: 报价小数位
  1592. type: integer
  1593. enableqty:
  1594. description: 剩余数量
  1595. type: integer
  1596. goodscode:
  1597. description: 商品代码(内部)
  1598. type: string
  1599. goodsid:
  1600. description: 商品ID(自增ID SEQ_GOODS)
  1601. type: integer
  1602. goodsname:
  1603. description: 商品名称
  1604. type: string
  1605. goodsstatus:
  1606. description: 商品状态- 2:未上市 3:上市
  1607. type: integer
  1608. lasttradedate:
  1609. description: 最后交易日期(状态:待退市)
  1610. type: string
  1611. listingdate:
  1612. description: 交易开始日期
  1613. type: string
  1614. marketid:
  1615. description: 所属市场ID
  1616. type: integer
  1617. picurls:
  1618. description: 介绍图片[多张用逗号分隔]
  1619. type: string
  1620. presaledqty:
  1621. description: 已预售量(预售结束时更新)
  1622. type: integer
  1623. presaleqty:
  1624. description: 预售数量
  1625. type: integer
  1626. quoteminunit:
  1627. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1628. type: integer
  1629. refprice:
  1630. description: 参考价格[一口价]
  1631. type: number
  1632. relatedgoodsid:
  1633. description: 关联交易合约ID
  1634. type: integer
  1635. trademode:
  1636. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1637. 21:竞拍-大宗式 22:受托竞价
  1638. type: integer
  1639. videourls:
  1640. description: 介绍视频[多张用逗号分隔]
  1641. type: string
  1642. required:
  1643. - goodscode
  1644. - goodsid
  1645. - goodsname
  1646. - marketid
  1647. - trademode
  1648. type: object
  1649. models.HsbyPreGoodsDetail:
  1650. properties:
  1651. agreeunit:
  1652. description: 合约单位
  1653. type: number
  1654. buymaxqty:
  1655. description: 购买上限 [71] - 0为不限
  1656. type: integer
  1657. currency:
  1658. description: 货币
  1659. type: string
  1660. currencysign:
  1661. description: 货币符号
  1662. type: string
  1663. customername:
  1664. description: 发行单位
  1665. type: string
  1666. decimalplace:
  1667. description: 报价小数位
  1668. type: integer
  1669. desccityid:
  1670. description: 目的地(市)ID
  1671. type: integer
  1672. descprovinceid:
  1673. description: 目的地(省)ID
  1674. type: integer
  1675. enableqty:
  1676. description: 剩余数量
  1677. type: integer
  1678. goodscode:
  1679. description: 商品代码(内部)
  1680. type: string
  1681. goodsdesc:
  1682. description: 商品详情
  1683. type: string
  1684. goodsid:
  1685. description: 商品ID(自增ID SEQ_GOODS)
  1686. type: integer
  1687. goodsname:
  1688. description: 商品名称
  1689. type: string
  1690. goodsstatus:
  1691. description: 商品状态- 2:未上市 3:上市
  1692. type: integer
  1693. goodunit:
  1694. description: 报价单位
  1695. type: string
  1696. lasttradedate:
  1697. description: 最后交易日期(状态:待退市)
  1698. type: string
  1699. listingdate:
  1700. description: 交易开始日期
  1701. type: string
  1702. lotsize:
  1703. description: 手数最小变动单位
  1704. type: integer
  1705. marketid:
  1706. description: 所属市场ID
  1707. type: integer
  1708. picurls:
  1709. description: 介绍图片[多张用逗号分隔]
  1710. type: string
  1711. presaledqty:
  1712. description: 已预售量(预售结束时更新)
  1713. type: integer
  1714. presaleqty:
  1715. description: 预售数量
  1716. type: integer
  1717. quoteminunit:
  1718. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1719. type: integer
  1720. refprice:
  1721. description: 参考价格[一口价]
  1722. type: number
  1723. relatedgoodsid:
  1724. description: 关联交易合约ID
  1725. type: integer
  1726. stepvalue:
  1727. description: 价格最小变动单位
  1728. type: number
  1729. trademode:
  1730. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1731. 21:竞拍-大宗式 22:受托竞价
  1732. type: integer
  1733. vendorattr:
  1734. description: 供应商附件(多张,逗号分隔)
  1735. type: string
  1736. vendorname:
  1737. description: 供应商名称
  1738. type: string
  1739. vendorphone:
  1740. description: 供应商客服电话
  1741. type: string
  1742. videourls:
  1743. description: 介绍视频[多张用逗号分隔]
  1744. type: string
  1745. required:
  1746. - goodscode
  1747. - goodsid
  1748. - goodsname
  1749. - marketid
  1750. - trademode
  1751. type: object
  1752. models.HsbySellMyDetail:
  1753. properties:
  1754. accountid:
  1755. description: 账户ID[报价币种]
  1756. type: integer
  1757. agreeunit:
  1758. description: 合约单位
  1759. type: number
  1760. amount:
  1761. description: 金额 = 价格 * 数量 * 合约单位
  1762. type: number
  1763. buyorsell:
  1764. description: 买卖 - 0:买 1:卖
  1765. type: integer
  1766. currencysign:
  1767. description: 货币符号
  1768. type: string
  1769. decimalplace:
  1770. description: 报价小数位
  1771. type: integer
  1772. goodscode:
  1773. description: 商品代码(内部)
  1774. type: string
  1775. goodsid:
  1776. description: 商品ID
  1777. type: integer
  1778. goodsname:
  1779. description: 商品名称
  1780. type: string
  1781. marketid:
  1782. description: 市场ID
  1783. type: integer
  1784. orderid:
  1785. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  1786. type: string
  1787. ordertype:
  1788. description: 单据类型:0 - 已发布, 1 - 已完成
  1789. type: integer
  1790. picurls:
  1791. description: 介绍图片[多张用逗号分隔]
  1792. type: string
  1793. price:
  1794. description: 价格
  1795. type: number
  1796. qty:
  1797. description: 数量
  1798. type: integer
  1799. time:
  1800. description: 时间
  1801. type: string
  1802. trademode:
  1803. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1804. 21:竞拍-大宗式 22:受托竞价
  1805. type: integer
  1806. vendorname:
  1807. description: 供应商名称
  1808. type: string
  1809. required:
  1810. - accountid
  1811. - buyorsell
  1812. - goodscode
  1813. - goodsid
  1814. - goodsname
  1815. - marketid
  1816. - orderid
  1817. - qty
  1818. - time
  1819. - trademode
  1820. type: object
  1821. models.HsbyTopGoods:
  1822. properties:
  1823. agreeunit:
  1824. description: 合约单位
  1825. type: number
  1826. currency:
  1827. description: 货币
  1828. type: string
  1829. currencysign:
  1830. description: 货币符号
  1831. type: string
  1832. decimalplace:
  1833. description: 报价小数位
  1834. type: integer
  1835. goodscode:
  1836. description: 商品代码(内部)
  1837. type: string
  1838. goodsid:
  1839. description: 商品ID(自增ID SEQ_GOODS)
  1840. type: integer
  1841. goodsname:
  1842. description: 商品名称
  1843. type: string
  1844. hotindex:
  1845. description: 景点热度
  1846. type: integer
  1847. last:
  1848. description: 现价
  1849. type: number
  1850. marketid:
  1851. description: 所属市场ID
  1852. type: integer
  1853. picurls:
  1854. description: 介绍图片[多张用逗号分隔]
  1855. type: string
  1856. quoteminunit:
  1857. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1858. type: integer
  1859. trademode:
  1860. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1861. 21:竞拍-大宗式 22:受托竞价
  1862. type: integer
  1863. videourls:
  1864. description: 介绍视频[多张用逗号分隔]
  1865. type: string
  1866. required:
  1867. - goodscode
  1868. - goodsid
  1869. - goodsname
  1870. - marketid
  1871. - trademode
  1872. type: object
  1873. models.HybsMyBuyOrderDetail:
  1874. properties:
  1875. accountid:
  1876. description: 账户ID[报价币种]
  1877. type: integer
  1878. agreeunit:
  1879. description: 合约单位
  1880. type: number
  1881. buyorsell:
  1882. description: 买卖 - 0:买 1:卖
  1883. type: integer
  1884. cancelqty:
  1885. description: 撤单数量
  1886. type: integer
  1887. currencysign:
  1888. description: 货币符号
  1889. type: string
  1890. decimalplace:
  1891. description: 报价小数位
  1892. type: integer
  1893. goodscode:
  1894. description: 商品代码(内部)
  1895. type: string
  1896. goodsid:
  1897. description: 商品ID
  1898. type: integer
  1899. goodsname:
  1900. description: 商品名称
  1901. type: string
  1902. listingselecttype:
  1903. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  1904. type: integer
  1905. marketid:
  1906. description: 市场ID
  1907. type: integer
  1908. mybuystatus:
  1909. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  1910. type: integer
  1911. orderamount:
  1912. description: 委托金额
  1913. type: number
  1914. orderid:
  1915. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1916. type: string
  1917. orderprice:
  1918. description: 委托价格
  1919. type: number
  1920. orderqty:
  1921. description: 委托数量
  1922. type: integer
  1923. orderstatus:
  1924. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  1925. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  1926. 16:成交失败违约(荷兰式竞拍专用)
  1927. type: integer
  1928. ordertime:
  1929. description: 委托时间
  1930. type: string
  1931. picurls1:
  1932. description: 预售商品介绍图片[多张用逗号分隔]
  1933. type: string
  1934. picurls2:
  1935. description: 挂牌商品介绍图片[多张用逗号分隔]
  1936. type: string
  1937. trademode:
  1938. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1939. 21:竞拍-大宗式 22:受托竞价
  1940. type: integer
  1941. tradeqty:
  1942. description: 成交数量
  1943. type: integer
  1944. vendorname1:
  1945. description: 预售商品供应商名称
  1946. type: string
  1947. vendorname2:
  1948. description: 挂牌商品供应商名称
  1949. type: string
  1950. required:
  1951. - accountid
  1952. - buyorsell
  1953. - goodscode
  1954. - goodsid
  1955. - goodsname
  1956. - marketid
  1957. - orderid
  1958. - orderqty
  1959. - ordertime
  1960. - trademode
  1961. type: object
  1962. models.Messageboard:
  1963. properties:
  1964. createtime:
  1965. description: 创建时间
  1966. type: string
  1967. message:
  1968. description: 留言信息
  1969. type: string
  1970. messageboardid:
  1971. description: 留言簿ID(SEQ_MessageBoard)
  1972. type: integer
  1973. userid:
  1974. description: 用户ID
  1975. type: integer
  1976. required:
  1977. - messageboardid
  1978. type: object
  1979. models.OperationPrimaryMenu:
  1980. properties:
  1981. Children:
  1982. description: 二级功能菜单
  1983. items:
  1984. $ref: '#/definitions/models.OperationSecondaryMenu'
  1985. type: array
  1986. Key:
  1987. description: 菜单KEY
  1988. type: string
  1989. Label:
  1990. description: 菜单标题
  1991. type: string
  1992. type: object
  1993. models.OperationSecondaryMenu:
  1994. properties:
  1995. Key:
  1996. description: 菜单KEY
  1997. type: string
  1998. Label:
  1999. description: 菜单标题
  2000. type: string
  2001. TabList:
  2002. description: 三级功能菜单
  2003. items:
  2004. $ref: '#/definitions/models.OperationTabMenu'
  2005. type: array
  2006. type: object
  2007. models.OperationTabMenu:
  2008. properties:
  2009. Key:
  2010. description: 菜单KEY
  2011. type: string
  2012. Label:
  2013. description: 菜单标题
  2014. type: string
  2015. type: object
  2016. models.QuotePrimaryMenu:
  2017. properties:
  2018. Index:
  2019. description: 序号
  2020. type: integer
  2021. Key:
  2022. description: 键名
  2023. type: string
  2024. Name:
  2025. description: 菜单名称
  2026. type: string
  2027. SubMenus:
  2028. description: 子菜单
  2029. items:
  2030. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2031. type: array
  2032. SubTitleType:
  2033. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2034. type: integer
  2035. TradeModes:
  2036. description: 包含市场交易类型
  2037. type: string
  2038. type: object
  2039. models.QuoteSecondaryMenu:
  2040. properties:
  2041. ExExchangeCode:
  2042. description: 外部交易所代码
  2043. type: string
  2044. ExExchangeID:
  2045. description: 外部交易所ID
  2046. type: integer
  2047. GoodsGroupIDs:
  2048. description: 商品组ID列表
  2049. items:
  2050. type: integer
  2051. type: array
  2052. Index:
  2053. description: 序号
  2054. type: integer
  2055. MarketID:
  2056. description: 市场ID
  2057. type: integer
  2058. MenuTitle:
  2059. description: 菜单标题(市场名称或外部交易所名称)
  2060. type: string
  2061. TradeMode:
  2062. description: 交易模式
  2063. type: integer
  2064. type: object
  2065. models.SearchGoods:
  2066. properties:
  2067. goodscode:
  2068. description: 商品代码(内部)
  2069. type: string
  2070. goodsid:
  2071. description: 商品ID(自增ID SEQ_GOODS)
  2072. type: integer
  2073. goodsname:
  2074. description: 商品名称
  2075. type: string
  2076. marketid:
  2077. description: 所属市场ID
  2078. type: integer
  2079. marketname:
  2080. description: 市场名称
  2081. type: string
  2082. trademode:
  2083. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2084. 21:竞拍-大宗式 22:受托竞价
  2085. type: integer
  2086. required:
  2087. - goodscode
  2088. - goodsid
  2089. - goodsname
  2090. - marketid
  2091. - trademode
  2092. type: object
  2093. models.Szdz2imageconfig:
  2094. properties:
  2095. configid:
  2096. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2097. type: integer
  2098. imagepath:
  2099. description: 图片
  2100. type: string
  2101. imagetype:
  2102. description: 类型 - 1:App首页轮播 2:我的
  2103. type: integer
  2104. sort:
  2105. description: 排序
  2106. type: integer
  2107. title:
  2108. description: 标题
  2109. type: string
  2110. url:
  2111. description: 链接
  2112. type: string
  2113. required:
  2114. - configid
  2115. type: object
  2116. models.Szdz3convertconfig:
  2117. properties:
  2118. canin:
  2119. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2120. type: integer
  2121. canout:
  2122. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2123. type: integer
  2124. converttype:
  2125. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  2126. 6:交易转花生米(不设置)
  2127. type: integer
  2128. createtime:
  2129. description: 创建时间
  2130. type: string
  2131. creatorid:
  2132. description: 创建人
  2133. type: integer
  2134. daymaxvalue:
  2135. description: 当日最大转入限制
  2136. type: number
  2137. freezedays:
  2138. description: 冻结天数 [5:花生米转交易]
  2139. type: integer
  2140. innergoodsid:
  2141. description: 内部商品ID[交易]
  2142. type: integer
  2143. inratio:
  2144. description: 目标值
  2145. type: integer
  2146. modifierid:
  2147. description: 修改人
  2148. type: integer
  2149. modifytime:
  2150. description: 修改时间
  2151. type: string
  2152. outergoodscode:
  2153. description: 外部商品代码[JD\PD]
  2154. type: string
  2155. outratio:
  2156. description: 源值
  2157. type: integer
  2158. pddecimalplace:
  2159. description: PD小数位
  2160. type: integer
  2161. timemaxvalue:
  2162. description: 单次最大转入限制
  2163. type: number
  2164. timeminvalue:
  2165. description: 单次最小转入限制
  2166. type: number
  2167. required:
  2168. - converttype
  2169. - innergoodsid
  2170. - outergoodscode
  2171. type: object
  2172. models.Szdz3searchwhitelist:
  2173. properties:
  2174. createtime:
  2175. description: 创建时间
  2176. type: string
  2177. creatorid:
  2178. description: 创建人
  2179. type: integer
  2180. modifierid:
  2181. description: 修改人
  2182. type: integer
  2183. modifytime:
  2184. description: 修改时间
  2185. type: string
  2186. userid:
  2187. description: 用户ID
  2188. type: integer
  2189. required:
  2190. - userid
  2191. type: object
  2192. models.Tablecolumnconfig:
  2193. properties:
  2194. aligntype:
  2195. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2196. type: integer
  2197. autoid:
  2198. description: AutoID
  2199. type: integer
  2200. columnfield:
  2201. description: 列字段
  2202. type: string
  2203. columntitle:
  2204. description: 列Title
  2205. type: string
  2206. columnwidth:
  2207. description: 列宽
  2208. type: string
  2209. formatterstring:
  2210. description: 格式化字符
  2211. type: string
  2212. formattertype:
  2213. description: 格式化类型
  2214. type: string
  2215. groupname:
  2216. description: 表头分组名称
  2217. type: string
  2218. isshow:
  2219. description: 是否显示 - 0:不显示 1:显示
  2220. type: integer
  2221. needsummary:
  2222. description: 是否需要汇总 - 0:不需要 1:需要
  2223. type: integer
  2224. orderindex:
  2225. description: 顺序
  2226. type: integer
  2227. remark:
  2228. description: 备注
  2229. type: string
  2230. summarytype:
  2231. description: 汇总类型 - 1:加总 2:最后一个
  2232. type: integer
  2233. tablekey:
  2234. description: 列表Key
  2235. type: string
  2236. required:
  2237. - autoid
  2238. type: object
  2239. models.Userfavoritegoods:
  2240. properties:
  2241. goodsid:
  2242. description: 商品ID
  2243. type: integer
  2244. required:
  2245. - goodsid
  2246. type: object
  2247. models.Userinfo:
  2248. properties:
  2249. address:
  2250. description: 地址
  2251. type: string
  2252. attachment1:
  2253. description: 附件1
  2254. type: string
  2255. attachment2:
  2256. description: 附件2
  2257. type: string
  2258. bankaccount:
  2259. description: 银行帐号 (加密存储)
  2260. type: string
  2261. bankaccountname:
  2262. description: 收款人名称
  2263. type: string
  2264. bankcardfrontphotourl:
  2265. description: 银行卡正面照地址
  2266. type: string
  2267. bankid:
  2268. description: 银行编码
  2269. type: string
  2270. bankname:
  2271. description: 银行名称
  2272. type: string
  2273. biznature:
  2274. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2275. type: integer
  2276. bizscope:
  2277. description: 企业经营范围(企业)
  2278. type: string
  2279. cardbackphotourl:
  2280. description: 证件背面图片地址
  2281. type: string
  2282. cardfrontphotourl:
  2283. description: 证件正面图片地址
  2284. type: string
  2285. cardnum:
  2286. description: 证件号码(加密存储)
  2287. type: string
  2288. cardtypeid:
  2289. description: 证件类型ID
  2290. type: integer
  2291. cityid:
  2292. description: 市
  2293. type: integer
  2294. company:
  2295. description: 公司(个人)
  2296. type: string
  2297. contactname:
  2298. description: 联系人
  2299. type: string
  2300. countryid:
  2301. description: 国家
  2302. type: integer
  2303. createtime:
  2304. description: 创建时间
  2305. type: string
  2306. creatorid:
  2307. description: 创建人
  2308. type: integer
  2309. customername:
  2310. description: 客户名称(企业名称)
  2311. type: string
  2312. districtid:
  2313. description: 地区
  2314. type: integer
  2315. email:
  2316. description: 邮件(加密存储)
  2317. type: string
  2318. fax:
  2319. description: 传真(加密存储)
  2320. type: string
  2321. halfbodyphotourl:
  2322. description: 半身照地址
  2323. type: string
  2324. hasencrypt:
  2325. description: 数据是否已加密 - 0:未加密 1:已加密
  2326. type: integer
  2327. headurl:
  2328. description: 头像地址
  2329. type: string
  2330. legalcardbackphotourl:
  2331. description: 法人身份证背面照地址
  2332. type: string
  2333. legalcardfrontphotourl:
  2334. description: 法人身份证正面照地址
  2335. type: string
  2336. legalpersonname:
  2337. description: 法人姓名(企业)
  2338. type: string
  2339. mobile:
  2340. description: 手机号码(加密存储)
  2341. type: string
  2342. mobile2:
  2343. description: 手机号码[明文-尚志]
  2344. type: string
  2345. modifierid:
  2346. description: 修改人
  2347. type: integer
  2348. modifiertime:
  2349. description: 修改时间
  2350. type: string
  2351. needinvoice:
  2352. description: 是否需要发票 - 0:不需要 1:需要
  2353. type: integer
  2354. nickname:
  2355. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  2356. type: string
  2357. openmode:
  2358. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  2359. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  2360. type: integer
  2361. otherurl:
  2362. description: 其它图片地址[使用分号分隔]
  2363. type: string
  2364. postalcode:
  2365. description: 邮政编码
  2366. type: string
  2367. provinceid:
  2368. description: 省
  2369. type: integer
  2370. qq:
  2371. description: QQ(加密存储
  2372. type: string
  2373. remark:
  2374. description: 备注
  2375. type: string
  2376. sex:
  2377. description: '用户性别 0: 女 1: 男'
  2378. type: integer
  2379. signpdfurl:
  2380. description: 签约pdf文件
  2381. type: string
  2382. telphone:
  2383. description: 联系电话(加密存储)
  2384. type: string
  2385. userid:
  2386. description: 用户ID
  2387. type: integer
  2388. userinfotype:
  2389. description: 用户信息类型 - 1:个人 2:企业
  2390. type: integer
  2391. userstatus:
  2392. description: 用户状态 - 1:正常 2:注销
  2393. type: integer
  2394. usertype:
  2395. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2396. type: integer
  2397. wechat:
  2398. description: 微信(加密存储)
  2399. type: string
  2400. wskhinfo:
  2401. description: 开户申请信息(JSON)
  2402. type: string
  2403. required:
  2404. - userid
  2405. type: object
  2406. order.QueryHisTradeDetailRsp:
  2407. properties:
  2408. accountid:
  2409. description: 账户ID[报价币种]
  2410. type: integer
  2411. buildtype:
  2412. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2413. type: integer
  2414. buyorsell:
  2415. description: 方向 - 0:买 1:卖
  2416. type: integer
  2417. charge:
  2418. description: 手续费
  2419. type: number
  2420. closecharge:
  2421. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2422. type: number
  2423. closeexchagechargevalue:
  2424. description: 平仓交易所手续费设置值
  2425. type: number
  2426. closefeealgorithm:
  2427. description: 平仓手续费收取方式 1:比率 2:固定
  2428. type: integer
  2429. closememberchargevalue:
  2430. description: 平仓会员手续费设置值
  2431. type: number
  2432. closepl:
  2433. description: 平仓盈亏
  2434. type: number
  2435. closepl2:
  2436. description: 平仓盈亏[逐笔]
  2437. type: number
  2438. closeqty:
  2439. description: 平仓数量(先建后平操作 需要记录)
  2440. type: integer
  2441. creditamount:
  2442. description: 授信金额
  2443. type: number
  2444. gcaccountid:
  2445. description: 账户ID[合约币种]
  2446. type: integer
  2447. goodscode:
  2448. description: 商品代码
  2449. type: string
  2450. goodsid:
  2451. description: 商品ID
  2452. type: integer
  2453. goodsname:
  2454. description: 商品名称
  2455. type: string
  2456. histradedate:
  2457. description: 历史交易日
  2458. type: string
  2459. intclosepl:
  2460. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2461. type: integer
  2462. isconfirmexercise:
  2463. description: 是否确认行权- 0:否 1:是
  2464. type: integer
  2465. ismain:
  2466. description: 是否主单 - 0:不是 1:是
  2467. type: integer
  2468. ispreexercise:
  2469. description: 是否预申报- 0:否 1:是
  2470. type: integer
  2471. isreckoned:
  2472. description: 是否结算 - 0:未结算 1:已结算
  2473. type: integer
  2474. isvaliddata:
  2475. description: 是否有效 - 0:无效 1:有效
  2476. type: integer
  2477. listingselecttype:
  2478. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2479. type: integer
  2480. marketid:
  2481. description: 市场ID
  2482. type: integer
  2483. marketname:
  2484. description: 市场名称
  2485. type: string
  2486. matchaccountid:
  2487. description: 对手账号id
  2488. type: integer
  2489. memberuserid:
  2490. description: 会员id 个人投资者 需要填写
  2491. type: integer
  2492. opencharge:
  2493. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2494. type: number
  2495. openexchagechargevalue:
  2496. description: 建仓交易所手续费设置值
  2497. type: number
  2498. openfeealgorithm:
  2499. description: 建仓手续费收取方式 1:比率 2:固定
  2500. type: integer
  2501. openmemberchargevalue:
  2502. description: 建仓会员手续费设置值
  2503. type: number
  2504. openqty:
  2505. description: 开仓数量(先建后平操作 需要记录)
  2506. type: integer
  2507. optiontype:
  2508. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2509. type: integer
  2510. orderid:
  2511. description: 委托单号
  2512. type: string
  2513. performanceplanid:
  2514. description: 履约计划ID[期权]
  2515. type: integer
  2516. performancestatus:
  2517. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2518. type: integer
  2519. preexerciseprice:
  2520. description: 预申报价格
  2521. type: number
  2522. premium:
  2523. description: 权利金 - [持仓单的权利金]
  2524. type: number
  2525. relatedouttradeid:
  2526. description: 关联外部成交单ID
  2527. type: integer
  2528. status:
  2529. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2530. type: integer
  2531. tradeamount:
  2532. description: 成交金额[账户币种,用于所有权]
  2533. type: number
  2534. tradedate:
  2535. description: 交易日(yyyyMMdd)
  2536. type: string
  2537. tradeid:
  2538. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2539. type: string
  2540. trademode:
  2541. description: 交易模式
  2542. type: integer
  2543. tradeprice:
  2544. description: 成交价格
  2545. type: number
  2546. tradeproperty:
  2547. description: 交易属性
  2548. type: integer
  2549. tradeqty:
  2550. description: 成交数量
  2551. type: integer
  2552. tradetime:
  2553. description: 成交时间
  2554. type: string
  2555. tradetype:
  2556. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2557. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2558. type: integer
  2559. required:
  2560. - accountid
  2561. - buyorsell
  2562. - goodsid
  2563. - histradedate
  2564. - marketid
  2565. - memberuserid
  2566. - orderid
  2567. - tradeamount
  2568. - tradedate
  2569. - tradeid
  2570. - tradeprice
  2571. - tradeqty
  2572. - tradetime
  2573. type: object
  2574. order.QueryHisTradeOrderDetailRsp:
  2575. properties:
  2576. accountid:
  2577. description: 账户ID[报价币种]
  2578. type: integer
  2579. buildtype:
  2580. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2581. type: integer
  2582. buyorsell:
  2583. description: 买卖 - 0:买 1:卖
  2584. type: integer
  2585. cancelorderid:
  2586. description: 撤单单号(撤单时填写)
  2587. type: string
  2588. cancelqty:
  2589. description: 撤单数量
  2590. type: integer
  2591. clientordertime:
  2592. description: 客户端委托时间
  2593. type: string
  2594. clientticket:
  2595. description: 客户端流水号
  2596. type: string
  2597. clienttype:
  2598. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2599. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2600. type: integer
  2601. closeexchagechargevalue:
  2602. description: 平仓交易所手续费设置值
  2603. type: number
  2604. closefeealgorithm:
  2605. description: 平仓手续费收取方式 1:比率 2:固定
  2606. type: integer
  2607. closefreezecharge:
  2608. description: 平仓冻结手续费(先建后平操作,需要记录)
  2609. type: number
  2610. closememberchargevalue:
  2611. description: 平仓会员手续费设置值
  2612. type: number
  2613. closeqty:
  2614. description: 平仓数量(先建后平操作 需要记录)
  2615. type: integer
  2616. closetradeqty:
  2617. description: 平仓成交数量(先建后平操作,需要记录)
  2618. type: integer
  2619. closeunfreezecharge:
  2620. description: 平仓解冻手续费(先建后平操作,需要记录)
  2621. type: number
  2622. delistingtype:
  2623. description: 摘牌类型 - 1:价格最优 2:点选成交
  2624. type: integer
  2625. freezecharge:
  2626. description: 冻结手续费
  2627. type: number
  2628. freezemargin:
  2629. description: 冻结保证金(冻结交易金额)
  2630. type: number
  2631. gcaccountid:
  2632. description: 账户ID[合约币种]
  2633. type: integer
  2634. goodscode:
  2635. description: 商品代码
  2636. type: string
  2637. goodsid:
  2638. description: 商品ID
  2639. type: integer
  2640. goodsname:
  2641. description: 商品名称
  2642. type: string
  2643. histradedate:
  2644. description: 历史交易日
  2645. type: string
  2646. isconfirmexercise:
  2647. description: 是否确认行权- 0:否 1:是
  2648. type: integer
  2649. ispreexercise:
  2650. description: 是否预申报- 0:否 1:是
  2651. type: integer
  2652. isvaliddata:
  2653. description: 是否有效 - 0:无效 1:有效
  2654. type: integer
  2655. listingselecttype:
  2656. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2657. type: integer
  2658. marginalgorithm:
  2659. description: 保证金收取方式 1:比率 2:固定
  2660. type: integer
  2661. marginvalue:
  2662. description: 即市保证金设置值
  2663. type: number
  2664. marketid:
  2665. description: 市场ID
  2666. type: integer
  2667. marketmaxsub:
  2668. description: 市价最大偏移范围
  2669. type: number
  2670. marketname:
  2671. description: 市场名称
  2672. type: string
  2673. memberuserid:
  2674. description: 所属会员UserID
  2675. type: integer
  2676. openexchagechargevalue:
  2677. description: 建仓交易所手续费设置值
  2678. type: number
  2679. openfeealgorithm:
  2680. description: 建仓手续费收取方式 1:比率 2:固定
  2681. type: integer
  2682. openfreezecharge:
  2683. description: 开仓冻结手续费(先建后平操作,需要记录)
  2684. type: number
  2685. openmemberchargevalue:
  2686. description: 建仓会员手续费设置值
  2687. type: number
  2688. openqty:
  2689. description: 开仓数量(先建后平操作,需要记录)
  2690. type: integer
  2691. opentradeqty:
  2692. description: 开仓成交数量(先建后平操作,需要记录)
  2693. type: integer
  2694. openunfreezecharge:
  2695. description: 开仓解冻手续费(先建后平操作,需要记录)
  2696. type: number
  2697. operatetype:
  2698. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2699. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2700. 15:管理端协议转让
  2701. type: integer
  2702. operatorid:
  2703. description: 登录账号(LoginID)
  2704. type: integer
  2705. optiontype:
  2706. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2707. type: integer
  2708. orderid:
  2709. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2710. type: string
  2711. orderprice:
  2712. description: 委托价格
  2713. type: number
  2714. orderqty:
  2715. description: 委托数量
  2716. type: integer
  2717. ordersrc:
  2718. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2719. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2720. type: integer
  2721. orderstatus:
  2722. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2723. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2724. 16:成交失败违约(荷兰式竞拍专用)
  2725. type: integer
  2726. ordertime:
  2727. description: 委托时间
  2728. type: string
  2729. preexerciseprice:
  2730. description: 预申报价格
  2731. type: number
  2732. premium:
  2733. description: 权利金
  2734. type: number
  2735. preorderid:
  2736. description: 关联预埋单号(止盈止损单时填写)
  2737. type: string
  2738. pricemode:
  2739. description: '取价方式 - 1:市价 2: 限价'
  2740. type: integer
  2741. quoteid:
  2742. description: 报价单ID
  2743. type: integer
  2744. relatedid:
  2745. description: 关联单号(交割单)
  2746. type: string
  2747. retcode:
  2748. description: 错误代码
  2749. type: integer
  2750. sessionid:
  2751. description: 会话ID
  2752. type: integer
  2753. tradedate:
  2754. description: 交易日(yyyyMMdd)
  2755. type: string
  2756. trademode:
  2757. description: 交易模式
  2758. type: integer
  2759. tradeproperty:
  2760. description: 交易属性
  2761. type: integer
  2762. tradeqty:
  2763. description: 成交数量
  2764. type: integer
  2765. unfreezecharge:
  2766. description: 解冻手续费
  2767. type: number
  2768. unfreezemargin:
  2769. description: 解冻保证金
  2770. type: number
  2771. updatetime:
  2772. description: 更新时间
  2773. type: string
  2774. uuid:
  2775. description: 发起端唯一id
  2776. type: string
  2777. validtime:
  2778. description: 有效期限
  2779. type: string
  2780. validtype:
  2781. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2782. type: integer
  2783. volumetype:
  2784. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2785. type: integer
  2786. required:
  2787. - accountid
  2788. - buildtype
  2789. - buyorsell
  2790. - goodsid
  2791. - histradedate
  2792. - marketid
  2793. - memberuserid
  2794. - operatetype
  2795. - orderid
  2796. - orderqty
  2797. - ordertime
  2798. - pricemode
  2799. - tradedate
  2800. - validtype
  2801. type: object
  2802. order.QueryTradeDetailRsp:
  2803. properties:
  2804. accountid:
  2805. description: 账户ID[报价币种]
  2806. type: integer
  2807. buildtype:
  2808. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2809. type: integer
  2810. buyorsell:
  2811. description: 方向 - 0:买 1:卖
  2812. type: integer
  2813. charge:
  2814. description: 手续费
  2815. type: number
  2816. closecharge:
  2817. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2818. type: number
  2819. closeexchagechargevalue:
  2820. description: 平仓交易所手续费设置值
  2821. type: number
  2822. closefeealgorithm:
  2823. description: 平仓手续费收取方式 1:比率 2:固定
  2824. type: integer
  2825. closememberchargevalue:
  2826. description: 平仓会员手续费设置值
  2827. type: number
  2828. closepl:
  2829. description: 平仓盈亏
  2830. type: number
  2831. closepl2:
  2832. description: 平仓盈亏[逐笔]
  2833. type: number
  2834. closeqty:
  2835. description: 平仓数量(先建后平操作 需要记录)
  2836. type: integer
  2837. creditamount:
  2838. description: 授信金额
  2839. type: number
  2840. gcaccountid:
  2841. description: 账户ID[合约币种]
  2842. type: integer
  2843. goodscode:
  2844. description: 商品代码
  2845. type: string
  2846. goodsid:
  2847. description: 商品ID
  2848. type: integer
  2849. goodsname:
  2850. description: 商品名称
  2851. type: string
  2852. intclosepl:
  2853. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2854. type: integer
  2855. isconfirmexercise:
  2856. description: 是否确认行权- 0:否 1:是
  2857. type: integer
  2858. ismain:
  2859. description: 是否主单 - 0:不是 1:是
  2860. type: integer
  2861. ispreexercise:
  2862. description: 是否预申报- 0:否 1:是
  2863. type: integer
  2864. isreckoned:
  2865. description: 是否结算 - 0:未结算 1:已结算
  2866. type: integer
  2867. listingselecttype:
  2868. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2869. type: integer
  2870. marketid:
  2871. description: 市场ID
  2872. type: integer
  2873. marketname:
  2874. description: 市场名称
  2875. type: string
  2876. matchaccountid:
  2877. description: 对手账号id
  2878. type: integer
  2879. memberuserid:
  2880. description: 会员id 个人投资者 需要填写
  2881. type: integer
  2882. opencharge:
  2883. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2884. type: number
  2885. openexchagechargevalue:
  2886. description: 建仓交易所手续费设置值
  2887. type: number
  2888. openfeealgorithm:
  2889. description: 建仓手续费收取方式 1:比率 2:固定
  2890. type: integer
  2891. openmemberchargevalue:
  2892. description: 建仓会员手续费设置值
  2893. type: number
  2894. openqty:
  2895. description: 开仓数量(先建后平操作 需要记录)
  2896. type: integer
  2897. optiontype:
  2898. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2899. type: integer
  2900. orderid:
  2901. description: 委托单号
  2902. type: string
  2903. performanceplanid:
  2904. description: 履约计划ID[期权]
  2905. type: integer
  2906. performancestatus:
  2907. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2908. type: integer
  2909. preexerciseprice:
  2910. description: 预申报价格
  2911. type: number
  2912. premium:
  2913. description: 权利金 - [持仓单的权利金]
  2914. type: number
  2915. relatedouttradeid:
  2916. description: 关联外部成交单ID
  2917. type: integer
  2918. status:
  2919. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2920. type: integer
  2921. tradeamount:
  2922. description: 成交金额[账户币种,用于所有权]
  2923. type: number
  2924. tradedate:
  2925. description: 交易日(yyyyMMdd)
  2926. type: string
  2927. tradeid:
  2928. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2929. type: string
  2930. trademode:
  2931. description: 交易模式
  2932. type: integer
  2933. tradeprice:
  2934. description: 成交价格
  2935. type: number
  2936. tradeproperty:
  2937. description: 交易属性
  2938. type: integer
  2939. tradeqty:
  2940. description: 成交数量
  2941. type: integer
  2942. tradetime:
  2943. description: 成交时间
  2944. type: string
  2945. tradetype:
  2946. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2947. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2948. type: integer
  2949. required:
  2950. - accountid
  2951. - buyorsell
  2952. - goodsid
  2953. - marketid
  2954. - memberuserid
  2955. - orderid
  2956. - tradeamount
  2957. - tradedate
  2958. - tradeid
  2959. - tradeprice
  2960. - tradeqty
  2961. - tradetime
  2962. type: object
  2963. order.QueryTradeOrderDetailRsp:
  2964. properties:
  2965. accountid:
  2966. description: 账户ID[报价币种]
  2967. type: integer
  2968. buildtype:
  2969. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2970. type: integer
  2971. buyorsell:
  2972. description: 买卖 - 0:买 1:卖
  2973. type: integer
  2974. cancelorderid:
  2975. description: 撤单单号(撤单时填写)
  2976. type: string
  2977. cancelqty:
  2978. description: 撤单数量
  2979. type: integer
  2980. clienttype:
  2981. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2982. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2983. type: integer
  2984. closefreezecharge:
  2985. description: 平仓冻结手续费(先建后平操作,需要记录)
  2986. type: number
  2987. closeqty:
  2988. description: 平仓数量(先建后平操作 需要记录)
  2989. type: integer
  2990. closetradeqty:
  2991. description: 平仓成交数量(先建后平操作,需要记录)
  2992. type: integer
  2993. closeunfreezecharge:
  2994. description: 平仓解冻手续费(先建后平操作,需要记录)
  2995. type: number
  2996. delistingtype:
  2997. description: 摘牌类型 - 1:价格最优 2:点选成交
  2998. type: integer
  2999. enableqty:
  3000. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3001. type: integer
  3002. freezecharge:
  3003. description: 冻结手续费
  3004. type: number
  3005. freezemargin:
  3006. description: 冻结保证金(冻结交易金额)
  3007. type: number
  3008. goodscode:
  3009. description: 商品代码
  3010. type: string
  3011. goodsid:
  3012. description: 商品ID
  3013. type: integer
  3014. goodsname:
  3015. description: 商品名称
  3016. type: string
  3017. listingselecttype:
  3018. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3019. type: integer
  3020. marketid:
  3021. description: 市场ID
  3022. type: integer
  3023. marketname:
  3024. description: 市场名称
  3025. type: string
  3026. openfreezecharge:
  3027. description: 开仓冻结手续费(先建后平操作,需要记录)
  3028. type: number
  3029. openqty:
  3030. description: 开仓数量(先建后平操作,需要记录)
  3031. type: integer
  3032. opentradeqty:
  3033. description: 开仓成交数量(先建后平操作,需要记录)
  3034. type: integer
  3035. openunfreezecharge:
  3036. description: 开仓解冻手续费(先建后平操作,需要记录)
  3037. type: number
  3038. operatetype:
  3039. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3040. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3041. 15:管理端协议转让
  3042. type: integer
  3043. operatorid:
  3044. description: 登录账号(LoginID)
  3045. type: integer
  3046. orderid:
  3047. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3048. type: string
  3049. orderprice:
  3050. description: 委托价格
  3051. type: number
  3052. orderqty:
  3053. description: 委托数量
  3054. type: integer
  3055. ordersrc:
  3056. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3057. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3058. type: integer
  3059. orderstatus:
  3060. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3061. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3062. 16:成交失败违约(荷兰式竞拍专用)
  3063. type: integer
  3064. ordertime:
  3065. description: 委托时间
  3066. type: string
  3067. preorderid:
  3068. description: 关联预埋单号(止盈止损单时填写)
  3069. type: string
  3070. pricemode:
  3071. description: '取价方式 - 1:市价 2: 限价'
  3072. type: integer
  3073. relatedid:
  3074. description: 关联单号(交割单)
  3075. type: string
  3076. tradedate:
  3077. description: 交易日(yyyyMMdd)
  3078. type: string
  3079. trademode:
  3080. description: 交易模式
  3081. type: integer
  3082. tradeqty:
  3083. description: 成交数量
  3084. type: integer
  3085. unfreezecharge:
  3086. description: 解冻手续费
  3087. type: number
  3088. unfreezemargin:
  3089. description: 解冻保证金
  3090. type: number
  3091. validtime:
  3092. description: 有效期限
  3093. type: string
  3094. validtype:
  3095. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3096. type: integer
  3097. volumetype:
  3098. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3099. type: integer
  3100. required:
  3101. - accountid
  3102. - buildtype
  3103. - buyorsell
  3104. - goodsid
  3105. - marketid
  3106. - operatetype
  3107. - orderqty
  3108. - ordertime
  3109. - pricemode
  3110. - tradedate
  3111. - validtype
  3112. type: object
  3113. order.QueryTradePositionRsp:
  3114. properties:
  3115. accountid:
  3116. description: 资金账户
  3117. type: integer
  3118. agreeunit:
  3119. description: 合约单位
  3120. type: number
  3121. averageprice:
  3122. description: 持仓均价
  3123. type: number
  3124. buyorsell:
  3125. description: 方向 - 0:买 1:卖
  3126. type: integer
  3127. closetotalqty:
  3128. description: 平仓总数量
  3129. type: integer
  3130. curholderamount:
  3131. description: 当前持仓总金额[商品币种]
  3132. type: number
  3133. curpositionqty:
  3134. description: 当前持仓总数量
  3135. type: integer
  3136. currencyid:
  3137. description: 报价货币ID
  3138. type: integer
  3139. curtdposition:
  3140. description: 期末今日头寸
  3141. type: integer
  3142. decimalplace:
  3143. description: 报价小数位
  3144. type: integer
  3145. enableqty:
  3146. description: 可用量
  3147. type: integer
  3148. fretdposition:
  3149. description: 冻结今日头寸
  3150. type: integer
  3151. frozenqty:
  3152. description: 持仓冻结数量
  3153. type: integer
  3154. goodscode:
  3155. description: 商品代码
  3156. type: string
  3157. goodsid:
  3158. description: 商品Id
  3159. type: integer
  3160. goodsname:
  3161. description: 商品名称
  3162. type: string
  3163. goodunit:
  3164. description: 报价单位
  3165. type: string
  3166. goodunitid:
  3167. description: 报价单位ID
  3168. type: integer
  3169. holderamount:
  3170. description: 期初持仓总金额[商品币种]
  3171. type: number
  3172. marketid:
  3173. description: 所属市场ID
  3174. type: integer
  3175. openreqqty:
  3176. description: 开仓申请数量(用于比较最大持仓数量)
  3177. type: integer
  3178. opentotalqty:
  3179. description: 开仓总数量
  3180. type: integer
  3181. otherfrozenqty:
  3182. description: 持仓其他冻结数量(交割冻结)
  3183. type: integer
  3184. positionqty:
  3185. description: 期初持仓数量
  3186. type: integer
  3187. tnqty:
  3188. description: T+N冻结总量
  3189. type: integer
  3190. tnusedqty:
  3191. description: T+N使用量(可以使用T+N的冻结数量)
  3192. type: integer
  3193. trademode:
  3194. description: 交易模式
  3195. type: integer
  3196. required:
  3197. - goodsid
  3198. type: object
  3199. quote.HistoryData:
  3200. properties:
  3201. c:
  3202. description: 收盘价
  3203. type: number
  3204. h:
  3205. description: 最高价
  3206. type: number
  3207. hv:
  3208. description: 持仓量
  3209. type: integer
  3210. l:
  3211. description: 最低价
  3212. type: number
  3213. o:
  3214. description: 开盘价
  3215. type: number
  3216. s:
  3217. description: 结算价,日线周期(包括)以上才有
  3218. type: number
  3219. ts:
  3220. description: 时间
  3221. type: string
  3222. tt:
  3223. description: 总金额
  3224. type: number
  3225. tv:
  3226. description: 总量
  3227. type: integer
  3228. type: object
  3229. quote.QueryTSDataRsp:
  3230. properties:
  3231. decimalPlace:
  3232. description: 小数位
  3233. type: integer
  3234. endTime:
  3235. description: 结束时间
  3236. type: string
  3237. goodsCode:
  3238. description: 商品代码
  3239. type: string
  3240. historyDatas:
  3241. description: 历史数据
  3242. items:
  3243. $ref: '#/definitions/quote.HistoryData'
  3244. type: array
  3245. preSettle:
  3246. description: 昨结
  3247. type: number
  3248. startTime:
  3249. description: 开始时间
  3250. type: string
  3251. tradeDate:
  3252. description: 交易日
  3253. type: string
  3254. type: object
  3255. szdz.QueryConvertLogRsp:
  3256. properties:
  3257. accountid:
  3258. description: 资金账户ID
  3259. type: integer
  3260. clientticket:
  3261. description: 客户端流水号
  3262. type: string
  3263. converttype:
  3264. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  3265. type: integer
  3266. createtime:
  3267. description: 记账时间
  3268. type: string
  3269. daymaxvalue:
  3270. description: 配置当日最大转入限制
  3271. type: number
  3272. daymaxvalue2:
  3273. description: 配置当日最大转入限制(转入)
  3274. type: number
  3275. goodscode:
  3276. description: 商品代码
  3277. type: string
  3278. goodsname:
  3279. description: 商品名称
  3280. type: string
  3281. handlestatus:
  3282. description: 处理状态
  3283. type: integer
  3284. innergoodsid:
  3285. description: 内部商品ID
  3286. type: integer
  3287. inratio:
  3288. description: 配置转入比值
  3289. type: integer
  3290. invalue:
  3291. description: 目标值
  3292. type: number
  3293. logid:
  3294. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3295. type: integer
  3296. mobile:
  3297. description: 手机号码(加密存储)
  3298. type: string
  3299. outergoodscode:
  3300. description: 外部商品代码[JD\PD]
  3301. type: string
  3302. outratio:
  3303. description: 配置转出比值
  3304. type: integer
  3305. outvalue:
  3306. description: 源值
  3307. type: number
  3308. pddecimalplace:
  3309. description: PD小数位
  3310. type: integer
  3311. qty:
  3312. description: 数量
  3313. type: string
  3314. remark:
  3315. description: 备注
  3316. type: string
  3317. sessionid:
  3318. description: 会话ID
  3319. type: integer
  3320. timemaxvalue:
  3321. description: 配置单次最大转入限制
  3322. type: number
  3323. timemaxvalue2:
  3324. description: 配置单次最大转入限制(转入)
  3325. type: number
  3326. timeminvalue:
  3327. description: 配置单次最小数量限制
  3328. type: number
  3329. timeminvalue2:
  3330. description: 配置单次最小数量限制(转入)
  3331. type: number
  3332. tradedate:
  3333. description: 交易日(yyyyMMdd)
  3334. type: string
  3335. userid:
  3336. description: 用户ID
  3337. type: integer
  3338. required:
  3339. - logid
  3340. type: object
  3341. szdz.QueryGoodsPickupRsp:
  3342. properties:
  3343. accountid:
  3344. description: 账户ID
  3345. type: integer
  3346. address:
  3347. description: 提货人详细地址
  3348. type: string
  3349. auditer:
  3350. description: 审核人
  3351. type: integer
  3352. audittime:
  3353. description: 审核时间
  3354. type: string
  3355. cardnum:
  3356. description: 提货人证件号码
  3357. type: string
  3358. cardtypeid:
  3359. description: 提货人证件类型
  3360. type: integer
  3361. checkremark:
  3362. description: 审核备注
  3363. type: string
  3364. goodscode:
  3365. description: 商品代码
  3366. type: string
  3367. goodsid:
  3368. description: 商品ID
  3369. type: integer
  3370. goodsname:
  3371. description: 商品名称
  3372. type: string
  3373. handlestatus:
  3374. description: 处理状态
  3375. type: integer
  3376. marketid:
  3377. description: 市场ID
  3378. type: integer
  3379. phonenum:
  3380. description: 提货人联系方式
  3381. type: string
  3382. qty:
  3383. description: 提货数量
  3384. type: number
  3385. recivername:
  3386. description: 提货人姓名
  3387. type: string
  3388. reqtime:
  3389. description: 更新时间
  3390. type: string
  3391. takemode:
  3392. description: 提货方式 - 2:自提 3:配送
  3393. type: integer
  3394. takeorderid:
  3395. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3396. type: string
  3397. takeorderstatus:
  3398. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3399. type: integer
  3400. takeremark:
  3401. description: 提货备注
  3402. type: string
  3403. tradedate:
  3404. description: 交易日(yyyyMMdd)
  3405. type: string
  3406. userid:
  3407. description: 用户ID
  3408. type: integer
  3409. required:
  3410. - takeorderid
  3411. type: object
  3412. szdz.QueryRecieptOrderRsp:
  3413. properties:
  3414. accountName:
  3415. description: 所属账号名称(已脱敏)
  3416. type: string
  3417. accountid:
  3418. description: 资金账号
  3419. type: integer
  3420. buyorsell:
  3421. description: 方向 - 0:买 1:卖
  3422. type: integer
  3423. enableqty:
  3424. description: 可摘数量
  3425. type: integer
  3426. goodscode:
  3427. description: 商品代码
  3428. type: string
  3429. goodsid:
  3430. description: 商品ID
  3431. type: integer
  3432. goodsname:
  3433. description: 商品名称
  3434. type: string
  3435. orderid:
  3436. description: 委托单号
  3437. type: string
  3438. orderprice:
  3439. description: 委托价格
  3440. type: number
  3441. tradedate:
  3442. description: 交易日(yyyyMMdd)
  3443. type: string
  3444. type: object
  3445. szdz.QuerySZDZTradePositionRsp:
  3446. properties:
  3447. accountid:
  3448. description: 账号Id
  3449. type: integer
  3450. agreeunit:
  3451. description: 合约单位
  3452. type: number
  3453. averageprice:
  3454. description: 持仓均价
  3455. type: number
  3456. buyorsell:
  3457. description: 方向 - 0:买 1:卖
  3458. type: integer
  3459. closetotalqty:
  3460. description: 平仓总数量
  3461. type: integer
  3462. curholderamount:
  3463. description: 当前持仓总金额
  3464. type: number
  3465. curpositionqty:
  3466. description: 当前持仓总数量
  3467. type: integer
  3468. currencyid:
  3469. description: 报价货币ID
  3470. type: integer
  3471. curtdposition:
  3472. description: 期末今日头寸
  3473. type: integer
  3474. decimalplace:
  3475. description: 报价小数位
  3476. type: integer
  3477. enableqty:
  3478. description: 可用量
  3479. type: integer
  3480. fretdposition:
  3481. description: 冻结今日头寸
  3482. type: integer
  3483. frozenqty:
  3484. description: 持仓冻结数量
  3485. type: integer
  3486. goodscode:
  3487. description: 商品代码(内部)
  3488. type: string
  3489. goodsid:
  3490. description: 商品Id
  3491. type: integer
  3492. goodsname:
  3493. description: 商品名称
  3494. type: string
  3495. goodunit:
  3496. description: 报价单位
  3497. type: string
  3498. goodunitid:
  3499. description: 报价单位ID
  3500. type: integer
  3501. holderamount:
  3502. description: 期初持仓总金额
  3503. type: number
  3504. marketid:
  3505. description: 市场ID
  3506. type: integer
  3507. openreqqty:
  3508. description: 开仓申请数量
  3509. type: integer
  3510. opentotalqty:
  3511. description: 开仓总数量
  3512. type: integer
  3513. otherfrozenqty:
  3514. description: 持仓其他冻结数量(交割冻结)
  3515. type: integer
  3516. positionqty:
  3517. description: 期初持仓数量
  3518. type: integer
  3519. szdz3freezqty:
  3520. description: 尚志大宗转换冻结总数量
  3521. type: integer
  3522. tnqty:
  3523. description: T+N冻结总量
  3524. type: integer
  3525. tnusedqty:
  3526. description: T+N使用量
  3527. type: integer
  3528. trademode:
  3529. description: 交易模式
  3530. type: integer
  3531. usedmargin:
  3532. description: 占用保证金
  3533. type: number
  3534. type: object
  3535. taaccount.QueryAmountLogRsp:
  3536. properties:
  3537. OPERATETYPENAME:
  3538. description: 资金操作类型名称
  3539. type: string
  3540. accountid:
  3541. description: 资金账户ID
  3542. type: integer
  3543. agoodscode:
  3544. description: 竞拍商品代码
  3545. type: string
  3546. agoodsname:
  3547. description: 竞拍商品名称
  3548. type: string
  3549. amount:
  3550. description: 资金金额
  3551. type: number
  3552. amountadjusttype:
  3553. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3554. type: integer
  3555. autoid:
  3556. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3557. type: integer
  3558. balance:
  3559. description: 期初余额
  3560. type: number
  3561. businesscode:
  3562. description: 业务编号
  3563. type: integer
  3564. createtime:
  3565. description: 发生时间
  3566. type: string
  3567. currencyid:
  3568. description: 币种ID
  3569. type: integer
  3570. currentbalance:
  3571. description: 期末余额(变动后金额)
  3572. type: number
  3573. dgoodscode:
  3574. description: 交割商品代码
  3575. type: string
  3576. dgoodsname:
  3577. description: 交割商品名称
  3578. type: string
  3579. goodscode:
  3580. description: 商品代码
  3581. type: string
  3582. goodsid:
  3583. description: 商品ID
  3584. type: integer
  3585. goodsname:
  3586. description: 商品名称
  3587. type: string
  3588. marketid:
  3589. description: 市场ID
  3590. type: integer
  3591. marketname:
  3592. description: 市场名称
  3593. type: string
  3594. moneyticket:
  3595. description: 资金流水号:银行端流水号
  3596. type: integer
  3597. operatetype:
  3598. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3599. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3600. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3601. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3602. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3603. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3604. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3605. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3606. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3607. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3608. type: integer
  3609. relationorderid:
  3610. description: 关联单号
  3611. type: string
  3612. remark:
  3613. description: 备注
  3614. type: string
  3615. trademode:
  3616. description: 交易模式
  3617. type: integer
  3618. required:
  3619. - accountid
  3620. - amount
  3621. - amountadjusttype
  3622. - autoid
  3623. - balance
  3624. - createtime
  3625. - currentbalance
  3626. - operatetype
  3627. type: object
  3628. taaccount.QueryHisAmountLogRsp:
  3629. properties:
  3630. OPERATETYPENAME:
  3631. description: 资金操作类型名称
  3632. type: string
  3633. accountid:
  3634. description: 资金账户ID
  3635. type: integer
  3636. agoodscode:
  3637. description: 竞拍商品代码
  3638. type: string
  3639. agoodsname:
  3640. description: 竞拍商品名称
  3641. type: string
  3642. amount:
  3643. description: 资金金额
  3644. type: number
  3645. amountadjusttype:
  3646. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3647. type: integer
  3648. autoid:
  3649. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3650. type: integer
  3651. balance:
  3652. description: 期初余额
  3653. type: number
  3654. businesscode:
  3655. description: 业务编号
  3656. type: integer
  3657. createtime:
  3658. description: 发生时间
  3659. type: string
  3660. currencyid:
  3661. description: 币种ID
  3662. type: integer
  3663. currentbalance:
  3664. description: 期末余额(变动后金额)
  3665. type: number
  3666. dgoodscode:
  3667. description: 交割商品代码
  3668. type: string
  3669. dgoodsname:
  3670. description: 交割商品名称
  3671. type: string
  3672. goodscode:
  3673. description: 商品代码
  3674. type: string
  3675. goodsid:
  3676. description: 商品ID
  3677. type: integer
  3678. goodsname:
  3679. description: 商品名称
  3680. type: string
  3681. histradedate:
  3682. description: 历史交易日
  3683. type: string
  3684. isvaliddata:
  3685. description: 是否有效 - 0:无效 1:有效
  3686. type: integer
  3687. marketid:
  3688. description: 市场ID
  3689. type: integer
  3690. marketname:
  3691. description: 市场名称
  3692. type: string
  3693. moneyticket:
  3694. description: 资金流水号:银行端流水号
  3695. type: integer
  3696. operatetype:
  3697. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3698. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3699. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3700. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3701. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3702. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3703. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3704. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3705. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3706. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3707. type: integer
  3708. relationorderid:
  3709. description: 关联单号
  3710. type: string
  3711. remark:
  3712. description: 备注
  3713. type: string
  3714. trademode:
  3715. description: 交易模式
  3716. type: integer
  3717. required:
  3718. - accountid
  3719. - amount
  3720. - amountadjusttype
  3721. - autoid
  3722. - balance
  3723. - createtime
  3724. - currentbalance
  3725. - histradedate
  3726. - operatetype
  3727. type: object
  3728. info:
  3729. contact: {}
  3730. description: 新的查询服务,替代原通用查询服务。
  3731. termsOfService: http://muchinfo.cn
  3732. title: MTP2.0 查询服务 API
  3733. version: "1.0"
  3734. paths:
  3735. /CPTrade/QueryCPTradeMyBidInfos:
  3736. get:
  3737. parameters:
  3738. - description: 资金账户
  3739. in: query
  3740. name: accountid
  3741. required: true
  3742. type: integer
  3743. - description: 预售市场ID
  3744. in: query
  3745. name: marketid
  3746. type: integer
  3747. - description: 预售商品ID
  3748. in: query
  3749. name: goodsid
  3750. type: integer
  3751. produces:
  3752. - application/json
  3753. responses:
  3754. "200":
  3755. description: OK
  3756. schema:
  3757. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  3758. "500":
  3759. description: Internal Server Error
  3760. schema:
  3761. $ref: '#/definitions/app.Response'
  3762. security:
  3763. - ApiKeyAuth: []
  3764. summary: 查询产能预售我的出价信息
  3765. tags:
  3766. - 产能预售
  3767. /CPTrade/QueryCPTradeOrderDetail:
  3768. get:
  3769. parameters:
  3770. - description: 预售商品ID
  3771. in: query
  3772. name: goodsid
  3773. type: integer
  3774. - description: 预售市场ID
  3775. in: query
  3776. name: marketid
  3777. type: integer
  3778. - description: 预售商品ID列表 - 格式:1,2,3
  3779. in: query
  3780. name: goodsids
  3781. type: string
  3782. produces:
  3783. - application/json
  3784. responses:
  3785. "200":
  3786. description: OK
  3787. schema:
  3788. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  3789. "500":
  3790. description: Internal Server Error
  3791. schema:
  3792. $ref: '#/definitions/app.Response'
  3793. security:
  3794. - ApiKeyAuth: []
  3795. summary: 查询产能预售委托单信息
  3796. tags:
  3797. - 产能预售
  3798. /CPTrade/QueryMyCPTradeGoods:
  3799. get:
  3800. parameters:
  3801. - description: 资金账户
  3802. in: query
  3803. name: accountid
  3804. required: true
  3805. type: integer
  3806. produces:
  3807. - application/json
  3808. responses:
  3809. "200":
  3810. description: OK
  3811. schema:
  3812. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  3813. "500":
  3814. description: Internal Server Error
  3815. schema:
  3816. $ref: '#/definitions/app.Response'
  3817. security:
  3818. - ApiKeyAuth: []
  3819. summary: 查询我的预售信息
  3820. tags:
  3821. - 产能预售
  3822. /CPTrade/QueryPositionCancel:
  3823. get:
  3824. parameters:
  3825. - description: 账户ID
  3826. in: query
  3827. name: userid
  3828. required: true
  3829. type: integer
  3830. - description: 注销ID
  3831. in: query
  3832. name: cancelid
  3833. type: integer
  3834. - description: 资金账户ID
  3835. in: query
  3836. name: accountid
  3837. type: integer
  3838. produces:
  3839. - application/json
  3840. responses:
  3841. "200":
  3842. description: OK
  3843. schema:
  3844. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  3845. "500":
  3846. description: Internal Server Error
  3847. schema:
  3848. $ref: '#/definitions/app.Response'
  3849. security:
  3850. - ApiKeyAuth: []
  3851. summary: 查询远期订单注销申请信息
  3852. tags:
  3853. - 产能预售
  3854. /CPTrade/QueryPreasleApply:
  3855. get:
  3856. parameters:
  3857. - description: 账户ID
  3858. in: query
  3859. name: userid
  3860. required: true
  3861. type: integer
  3862. - description: 申请ID
  3863. in: query
  3864. name: applyid
  3865. type: integer
  3866. - description: 资金账户ID
  3867. in: query
  3868. name: accountid
  3869. type: integer
  3870. produces:
  3871. - application/json
  3872. responses:
  3873. "200":
  3874. description: OK
  3875. schema:
  3876. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  3877. "500":
  3878. description: Internal Server Error
  3879. schema:
  3880. $ref: '#/definitions/app.Response'
  3881. security:
  3882. - ApiKeyAuth: []
  3883. summary: 查询产能预售申请信息
  3884. tags:
  3885. - 产能预售
  3886. /CPTrade/QueryPresaleGoodsEx:
  3887. get:
  3888. parameters:
  3889. - description: 预售商品ID
  3890. in: query
  3891. name: goodsid
  3892. type: integer
  3893. - description: 预售市场ID
  3894. in: query
  3895. name: marketid
  3896. type: integer
  3897. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  3898. in: query
  3899. name: presalemode
  3900. type: integer
  3901. - description: 预售商品ID列表 - 格式:1,2,3
  3902. in: query
  3903. name: goodsids
  3904. type: string
  3905. - description: 预售商品代码
  3906. in: query
  3907. name: goodscode
  3908. type: string
  3909. produces:
  3910. - application/json
  3911. responses:
  3912. "200":
  3913. description: OK
  3914. schema:
  3915. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  3916. "500":
  3917. description: Internal Server Error
  3918. schema:
  3919. $ref: '#/definitions/app.Response'
  3920. security:
  3921. - ApiKeyAuth: []
  3922. summary: 查询产能预售商品扩展信息
  3923. tags:
  3924. - 产能预售
  3925. /CPTrade/QueryUserGoodsData:
  3926. get:
  3927. parameters:
  3928. - description: 资金账户ID
  3929. in: query
  3930. name: accountid
  3931. required: true
  3932. type: integer
  3933. produces:
  3934. - application/json
  3935. responses:
  3936. "200":
  3937. description: OK
  3938. schema:
  3939. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  3940. "500":
  3941. description: Internal Server Error
  3942. schema:
  3943. $ref: '#/definitions/app.Response'
  3944. security:
  3945. - ApiKeyAuth: []
  3946. summary: 查询远期订单信息
  3947. tags:
  3948. - 产能预售
  3949. /Common/NoticeReaded:
  3950. post:
  3951. parameters:
  3952. - description: 登录账号
  3953. in: query
  3954. name: loginID
  3955. required: true
  3956. type: integer
  3957. - description: 通知公告ID
  3958. in: query
  3959. name: noticeID
  3960. required: true
  3961. type: integer
  3962. produces:
  3963. - application/json
  3964. responses:
  3965. "200":
  3966. description: OK
  3967. schema:
  3968. $ref: '#/definitions/app.Response'
  3969. "500":
  3970. description: Internal Server Error
  3971. schema:
  3972. $ref: '#/definitions/app.Response'
  3973. security:
  3974. - ApiKeyAuth: []
  3975. summary: 通知公告设置已读请求
  3976. tags:
  3977. - 通用服务
  3978. /Common/QueryImageConfigs:
  3979. get:
  3980. parameters:
  3981. - description: 类型 - 1:App首页轮播 2:我的
  3982. in: query
  3983. name: imageType
  3984. type: integer
  3985. produces:
  3986. - application/json
  3987. responses:
  3988. "200":
  3989. description: OK
  3990. schema:
  3991. $ref: '#/definitions/models.Szdz2imageconfig'
  3992. "500":
  3993. description: Internal Server Error
  3994. schema:
  3995. $ref: '#/definitions/app.Response'
  3996. summary: 查询轮播图配置信息
  3997. tags:
  3998. - 通用服务
  3999. /Common/QueryNotice:
  4000. get:
  4001. parameters:
  4002. - description: 页码
  4003. in: query
  4004. name: page
  4005. type: integer
  4006. - description: 每页条数
  4007. in: query
  4008. name: pagesize
  4009. type: integer
  4010. - description: 登录账号
  4011. in: query
  4012. name: loginID
  4013. required: true
  4014. type: integer
  4015. - description: 消息类型 - 1:公告通知 2:系统消息
  4016. in: query
  4017. name: msgType
  4018. type: integer
  4019. - description: 是否只获取未读信息
  4020. in: query
  4021. name: onlyUnRead
  4022. type: boolean
  4023. produces:
  4024. - application/json
  4025. responses:
  4026. "200":
  4027. description: OK
  4028. schema:
  4029. $ref: '#/definitions/common.QueryNoticeRsp'
  4030. "500":
  4031. description: Internal Server Error
  4032. schema:
  4033. $ref: '#/definitions/app.Response'
  4034. security:
  4035. - ApiKeyAuth: []
  4036. summary: 通知公告系统消息查询
  4037. tags:
  4038. - 通用服务
  4039. /Common/QueryProvincesAndCities:
  4040. get:
  4041. parameters:
  4042. - description: 省ID
  4043. in: query
  4044. name: provinceID
  4045. type: integer
  4046. produces:
  4047. - application/json
  4048. responses:
  4049. "200":
  4050. description: OK
  4051. schema:
  4052. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  4053. "500":
  4054. description: Internal Server Error
  4055. schema:
  4056. $ref: '#/definitions/app.Response'
  4057. summary: 查询省市信息(不包括区)
  4058. tags:
  4059. - 通用服务
  4060. /Common/QueryTableDefine:
  4061. get:
  4062. parameters:
  4063. - description: 表key
  4064. in: query
  4065. name: TableKey
  4066. type: string
  4067. produces:
  4068. - application/json
  4069. responses:
  4070. "200":
  4071. description: OK
  4072. schema:
  4073. $ref: '#/definitions/common.QueryTableDefineRsp'
  4074. "500":
  4075. description: Internal Server Error
  4076. schema:
  4077. $ref: '#/definitions/app.Response'
  4078. summary: 查询交易端列表头信息
  4079. tags:
  4080. - 通用服务
  4081. /Common/QueryTraderMenu:
  4082. get:
  4083. parameters:
  4084. - description: 登录账号
  4085. in: query
  4086. name: loginid
  4087. required: true
  4088. type: integer
  4089. produces:
  4090. - application/json
  4091. responses:
  4092. "200":
  4093. description: OK
  4094. schema:
  4095. $ref: '#/definitions/common.QueryTraderMenuRsp'
  4096. "500":
  4097. description: Internal Server Error
  4098. schema:
  4099. $ref: '#/definitions/app.Response'
  4100. summary: 查询交易端菜单
  4101. tags:
  4102. - 通用服务
  4103. /Delivery/QueryDeliveryRelation:
  4104. get:
  4105. parameters:
  4106. - description: 商品ID
  4107. in: query
  4108. name: goodsid
  4109. type: integer
  4110. - description: 品种ID
  4111. in: query
  4112. name: deliverygoodsid
  4113. type: integer
  4114. - description: 市场ID
  4115. in: query
  4116. name: marketid
  4117. type: integer
  4118. produces:
  4119. - application/json
  4120. responses:
  4121. "200":
  4122. description: OK
  4123. schema:
  4124. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  4125. "500":
  4126. description: Internal Server Error
  4127. schema:
  4128. $ref: '#/definitions/app.Response'
  4129. security:
  4130. - ApiKeyAuth: []
  4131. summary: 查询商品交割关系表
  4132. tags:
  4133. - 交割服务
  4134. /Erms2/QueryArbitrageStrategy:
  4135. get:
  4136. parameters:
  4137. - description: 账户ID
  4138. in: query
  4139. name: userid
  4140. required: true
  4141. type: integer
  4142. - description: 商品组ID(品种ID)
  4143. in: query
  4144. name: goodsgroupid
  4145. type: string
  4146. produces:
  4147. - application/json
  4148. responses:
  4149. "200":
  4150. description: OK
  4151. schema:
  4152. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  4153. "500":
  4154. description: Internal Server Error
  4155. schema:
  4156. $ref: '#/definitions/app.Response'
  4157. security:
  4158. - ApiKeyAuth: []
  4159. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  4160. tags:
  4161. - 风险管理
  4162. /Erms2/QueryInnerTradeDetail:
  4163. get:
  4164. parameters:
  4165. - description: 资金账户
  4166. in: query
  4167. name: accountid
  4168. required: true
  4169. type: integer
  4170. produces:
  4171. - application/json
  4172. responses:
  4173. "200":
  4174. description: OK
  4175. schema:
  4176. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  4177. "500":
  4178. description: Internal Server Error
  4179. schema:
  4180. $ref: '#/definitions/app.Response'
  4181. security:
  4182. - ApiKeyAuth: []
  4183. summary: 查询内部成交单信息
  4184. tags:
  4185. - 风险管理
  4186. /Erms2/QuerySpotContract:
  4187. get:
  4188. parameters:
  4189. - description: 策略申请ID
  4190. in: query
  4191. name: asapplyid
  4192. required: true
  4193. type: integer
  4194. - description: 现货合同ID
  4195. in: query
  4196. name: spotcontractid
  4197. type: integer
  4198. produces:
  4199. - application/json
  4200. responses:
  4201. "200":
  4202. description: OK
  4203. schema:
  4204. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  4205. "500":
  4206. description: Internal Server Error
  4207. schema:
  4208. $ref: '#/definitions/app.Response'
  4209. security:
  4210. - ApiKeyAuth: []
  4211. summary: 查询现货合同表信息(指定策略ID、未结束的)
  4212. tags:
  4213. - 风险管理
  4214. /HSBY/QueryHsbyBuyMyTradeDetail:
  4215. get:
  4216. parameters:
  4217. - description: 页码
  4218. in: query
  4219. name: page
  4220. type: integer
  4221. - description: 每页条数
  4222. in: query
  4223. name: pagesize
  4224. type: integer
  4225. - description: 资金账户列表,格式:1,2,3
  4226. in: query
  4227. name: accountIDs
  4228. required: true
  4229. type: string
  4230. produces:
  4231. - application/json
  4232. responses:
  4233. "200":
  4234. description: OK
  4235. schema:
  4236. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  4237. "500":
  4238. description: Internal Server Error
  4239. schema:
  4240. $ref: '#/definitions/app.Response'
  4241. security:
  4242. - ApiKeyAuth: []
  4243. summary: 查询"我的订单 - 已完成"单据信息
  4244. tags:
  4245. - 定制【海商报业】
  4246. /HSBY/QueryHsbyGoodsOrderDetails:
  4247. get:
  4248. description: 说明:查询结果已按委托价格和委托时间排序
  4249. parameters:
  4250. - description: 商品ID
  4251. in: query
  4252. name: goodsID
  4253. required: true
  4254. type: integer
  4255. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  4256. in: query
  4257. name: accountIDs
  4258. required: true
  4259. type: string
  4260. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  4261. in: query
  4262. name: buyOrSell
  4263. type: integer
  4264. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  4265. in: query
  4266. name: price
  4267. type: number
  4268. - description: 档位,不传则默认为3档
  4269. in: query
  4270. name: speed
  4271. type: integer
  4272. produces:
  4273. - application/json
  4274. responses:
  4275. "200":
  4276. description: OK
  4277. schema:
  4278. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  4279. "500":
  4280. description: Internal Server Error
  4281. schema:
  4282. $ref: '#/definitions/app.Response'
  4283. security:
  4284. - ApiKeyAuth: []
  4285. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  4286. tags:
  4287. - 定制【海商报业】
  4288. /HSBY/QueryHsbyListingGoodsDetail:
  4289. get:
  4290. parameters:
  4291. - description: 商品ID
  4292. in: query
  4293. name: goodsID
  4294. required: true
  4295. type: integer
  4296. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  4297. in: query
  4298. name: AccountID
  4299. type: integer
  4300. produces:
  4301. - application/json
  4302. responses:
  4303. "200":
  4304. description: OK
  4305. schema:
  4306. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  4307. "500":
  4308. description: Internal Server Error
  4309. schema:
  4310. $ref: '#/definitions/app.Response'
  4311. security:
  4312. - ApiKeyAuth: []
  4313. summary: 查询二级市场(挂牌点选)商品信息详情
  4314. tags:
  4315. - 定制【海商报业】
  4316. /HSBY/QueryHsbyMyBuyOrderDetails:
  4317. get:
  4318. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  4319. parameters:
  4320. - description: 资金账户列表,格式:1,2,3
  4321. in: query
  4322. name: accountIDs
  4323. required: true
  4324. type: string
  4325. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  4326. in: query
  4327. name: myBuyStatus
  4328. type: integer
  4329. produces:
  4330. - application/json
  4331. responses:
  4332. "200":
  4333. description: OK
  4334. schema:
  4335. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  4336. "500":
  4337. description: Internal Server Error
  4338. schema:
  4339. $ref: '#/definitions/app.Response'
  4340. security:
  4341. - ApiKeyAuth: []
  4342. summary: 查询“我的订单”信息
  4343. tags:
  4344. - 定制【海商报业】
  4345. /HSBY/QueryHsbyMyGoods:
  4346. get:
  4347. parameters:
  4348. - description: 资金账户列表,格式:1,2,3
  4349. in: query
  4350. name: accountIDs
  4351. required: true
  4352. type: string
  4353. produces:
  4354. - application/json
  4355. responses:
  4356. "200":
  4357. description: OK
  4358. schema:
  4359. $ref: '#/definitions/models.HsbyMyGoods'
  4360. "500":
  4361. description: Internal Server Error
  4362. schema:
  4363. $ref: '#/definitions/app.Response'
  4364. security:
  4365. - ApiKeyAuth: []
  4366. summary: 查询“我的商品”信息
  4367. tags:
  4368. - 定制【海商报业】
  4369. /HSBY/QueryHsbyMyPackages:
  4370. get:
  4371. parameters:
  4372. - description: 资金账户列表,格式:1,2,3
  4373. in: query
  4374. name: accountIDs
  4375. required: true
  4376. type: string
  4377. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4378. in: query
  4379. name: takeOrderStatus
  4380. type: integer
  4381. produces:
  4382. - application/json
  4383. responses:
  4384. "200":
  4385. description: OK
  4386. schema:
  4387. $ref: '#/definitions/models.HsbyMyPackage'
  4388. "500":
  4389. description: Internal Server Error
  4390. schema:
  4391. $ref: '#/definitions/app.Response'
  4392. security:
  4393. - ApiKeyAuth: []
  4394. summary: 查询我的包裹信息
  4395. tags:
  4396. - 定制【海商报业】
  4397. /HSBY/QueryHsbyPreGoodsDetail:
  4398. get:
  4399. parameters:
  4400. - description: 商品ID
  4401. in: query
  4402. name: goodsID
  4403. required: true
  4404. type: integer
  4405. - description: 资金账户,主要用于获取预售商品购买上限
  4406. in: query
  4407. name: accountID
  4408. required: true
  4409. type: integer
  4410. produces:
  4411. - application/json
  4412. responses:
  4413. "200":
  4414. description: OK
  4415. schema:
  4416. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  4417. "500":
  4418. description: Internal Server Error
  4419. schema:
  4420. $ref: '#/definitions/app.Response'
  4421. security:
  4422. - ApiKeyAuth: []
  4423. summary: 查询一级市场(产能预售)商品信息详情
  4424. tags:
  4425. - 定制【海商报业】
  4426. /HSBY/QueryHsbyPreGoodses:
  4427. get:
  4428. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  4429. parameters:
  4430. - description: 页码
  4431. in: query
  4432. name: page
  4433. type: integer
  4434. - description: 每页条数
  4435. in: query
  4436. name: pagesize
  4437. type: integer
  4438. - description: 市场ID列表,格式:1,2,3
  4439. in: query
  4440. name: marketIDs
  4441. required: true
  4442. type: string
  4443. - description: 目的地(省)ID
  4444. in: query
  4445. name: descProvinceID
  4446. type: integer
  4447. - description: 目的地(市)ID
  4448. in: query
  4449. name: descCityID
  4450. type: integer
  4451. produces:
  4452. - application/json
  4453. responses:
  4454. "200":
  4455. description: OK
  4456. schema:
  4457. $ref: '#/definitions/models.HsbyPreGoods'
  4458. "500":
  4459. description: Internal Server Error
  4460. schema:
  4461. $ref: '#/definitions/app.Response'
  4462. security:
  4463. - ApiKeyAuth: []
  4464. summary: 查询新品上市商品列表(一级市场产能预售)
  4465. tags:
  4466. - 定制【海商报业】
  4467. /HSBY/QueryHsbySellMyDetails:
  4468. get:
  4469. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  4470. parameters:
  4471. - description: 页码
  4472. in: query
  4473. name: page
  4474. type: integer
  4475. - description: 每页条数
  4476. in: query
  4477. name: pagesize
  4478. type: integer
  4479. - description: 资金账户列表,格式:1,2,3
  4480. in: query
  4481. name: accountIDs
  4482. required: true
  4483. type: string
  4484. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  4485. in: query
  4486. name: orderType
  4487. type: integer
  4488. produces:
  4489. - application/json
  4490. responses:
  4491. "200":
  4492. description: OK
  4493. schema:
  4494. $ref: '#/definitions/models.HsbySellMyDetail'
  4495. "500":
  4496. description: Internal Server Error
  4497. schema:
  4498. $ref: '#/definitions/app.Response'
  4499. security:
  4500. - ApiKeyAuth: []
  4501. summary: 查询"我的闲置"单据信息
  4502. tags:
  4503. - 定制【海商报业】
  4504. /HSBY/QueryHsbyTopGoodses:
  4505. get:
  4506. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  4507. parameters:
  4508. - description: 页码
  4509. in: query
  4510. name: page
  4511. type: integer
  4512. - description: 每页条数
  4513. in: query
  4514. name: pagesize
  4515. type: integer
  4516. - description: 市场ID列表,格式:1,2,3
  4517. in: query
  4518. name: marketIDs
  4519. required: true
  4520. type: string
  4521. - description: 目的地(省)ID
  4522. in: query
  4523. name: descProvinceID
  4524. type: integer
  4525. - description: 目的地(市)ID
  4526. in: query
  4527. name: descCityID
  4528. type: integer
  4529. produces:
  4530. - application/json
  4531. responses:
  4532. "200":
  4533. description: OK
  4534. schema:
  4535. $ref: '#/definitions/models.HsbyTopGoods'
  4536. "500":
  4537. description: Internal Server Error
  4538. schema:
  4539. $ref: '#/definitions/app.Response'
  4540. security:
  4541. - ApiKeyAuth: []
  4542. summary: 查询热卖商品列表(二级市场挂牌点选)
  4543. tags:
  4544. - 定制【海商报业】
  4545. /HSBY/QueryProvincesAndCities:
  4546. get:
  4547. description: 查询结果只包括二级市场商品已关连的省市信息。
  4548. parameters:
  4549. - description: 省ID
  4550. in: query
  4551. name: provinceID
  4552. type: integer
  4553. produces:
  4554. - application/json
  4555. responses:
  4556. "200":
  4557. description: OK
  4558. schema:
  4559. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  4560. "500":
  4561. description: Internal Server Error
  4562. schema:
  4563. $ref: '#/definitions/app.Response'
  4564. security:
  4565. - ApiKeyAuth: []
  4566. summary: 查询省市信息(不包括区)
  4567. tags:
  4568. - 定制【海商报业】
  4569. /HSBY/SetHsbyMyPackagesStatus:
  4570. post:
  4571. parameters:
  4572. - description: 提货单号
  4573. in: query
  4574. name: takeOrderID
  4575. required: true
  4576. type: string
  4577. - description: 资金账号
  4578. in: query
  4579. name: accountID
  4580. required: true
  4581. type: integer
  4582. produces:
  4583. - application/json
  4584. responses:
  4585. "200":
  4586. description: OK
  4587. schema:
  4588. $ref: '#/definitions/app.Response'
  4589. "500":
  4590. description: Internal Server Error
  4591. schema:
  4592. $ref: '#/definitions/app.Response'
  4593. security:
  4594. - ApiKeyAuth: []
  4595. summary: 设置我的包裹已收货状态
  4596. tags:
  4597. - 定制【海商报业】
  4598. /Order/QueryHisTradeDetail:
  4599. get:
  4600. parameters:
  4601. - description: 资金账户 - 格式:1,2,3
  4602. in: query
  4603. name: accountID
  4604. required: true
  4605. type: string
  4606. - description: 成交单号
  4607. in: query
  4608. name: tradeID
  4609. type: integer
  4610. - description: 委托单号
  4611. in: query
  4612. name: orderID
  4613. type: integer
  4614. - description: 交易模式 - 格式:1,2,3
  4615. in: query
  4616. name: tradeMode
  4617. type: string
  4618. - description: 委托单据类型
  4619. in: query
  4620. name: buildType
  4621. type: integer
  4622. - description: 成交类别 - 格式:1,2,3
  4623. in: query
  4624. name: tradeType
  4625. type: string
  4626. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4627. in: query
  4628. name: startDate
  4629. type: string
  4630. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4631. in: query
  4632. name: endDate
  4633. type: string
  4634. produces:
  4635. - application/json
  4636. responses:
  4637. "200":
  4638. description: OK
  4639. schema:
  4640. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  4641. "500":
  4642. description: Internal Server Error
  4643. schema:
  4644. $ref: '#/definitions/app.Response'
  4645. security:
  4646. - ApiKeyAuth: []
  4647. summary: 历史成交单查询(合约市场)
  4648. tags:
  4649. - 通用单据
  4650. /Order/QueryHisTradeOrderDetail:
  4651. get:
  4652. parameters:
  4653. - description: 资金账户 - 格式:1,2,3
  4654. in: query
  4655. name: accountID
  4656. required: true
  4657. type: string
  4658. - description: 交易模式 - 格式:1,2,3
  4659. in: query
  4660. name: tradeMode
  4661. type: string
  4662. - description: 委托状态 - 格式:1,2,3
  4663. in: query
  4664. name: orderStatus
  4665. type: string
  4666. - description: 委托单号
  4667. in: query
  4668. name: orderID
  4669. type: integer
  4670. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4671. in: query
  4672. name: startDate
  4673. type: string
  4674. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4675. in: query
  4676. name: endDate
  4677. type: string
  4678. produces:
  4679. - application/json
  4680. responses:
  4681. "200":
  4682. description: OK
  4683. schema:
  4684. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  4685. "500":
  4686. description: Internal Server Error
  4687. schema:
  4688. $ref: '#/definitions/app.Response'
  4689. security:
  4690. - ApiKeyAuth: []
  4691. summary: 历史委托单查询请求(合约市场)
  4692. tags:
  4693. - 通用单据
  4694. /Order/QueryTradeDetail:
  4695. get:
  4696. parameters:
  4697. - description: 资金账户 - 格式:1,2,3
  4698. in: query
  4699. name: accountID
  4700. required: true
  4701. type: string
  4702. - description: 成交单号
  4703. in: query
  4704. name: tradeID
  4705. type: integer
  4706. - description: 委托单号
  4707. in: query
  4708. name: orderID
  4709. type: integer
  4710. - description: 交易模式 - 格式:1,2,3
  4711. in: query
  4712. name: tradeMode
  4713. type: string
  4714. - description: 委托单据类型
  4715. in: query
  4716. name: buildType
  4717. type: integer
  4718. - description: 成交类别 - 格式:1,2,3
  4719. in: query
  4720. name: tradeType
  4721. type: string
  4722. produces:
  4723. - application/json
  4724. responses:
  4725. "200":
  4726. description: OK
  4727. schema:
  4728. $ref: '#/definitions/order.QueryTradeDetailRsp'
  4729. "500":
  4730. description: Internal Server Error
  4731. schema:
  4732. $ref: '#/definitions/app.Response'
  4733. security:
  4734. - ApiKeyAuth: []
  4735. summary: 成交单查询(合约市场)
  4736. tags:
  4737. - 通用单据
  4738. /Order/QueryTradeOrderDetail:
  4739. get:
  4740. parameters:
  4741. - description: 资金账户 - 格式:1,2,3
  4742. in: query
  4743. name: accountID
  4744. required: true
  4745. type: string
  4746. - description: 交易模式 - 格式:1,2,3
  4747. in: query
  4748. name: tradeMode
  4749. type: string
  4750. - description: 委托状态 - 格式:1,2,3
  4751. in: query
  4752. name: orderStatus
  4753. type: string
  4754. - description: 委托单号
  4755. in: query
  4756. name: orderID
  4757. type: integer
  4758. produces:
  4759. - application/json
  4760. responses:
  4761. "200":
  4762. description: OK
  4763. schema:
  4764. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  4765. "500":
  4766. description: Internal Server Error
  4767. schema:
  4768. $ref: '#/definitions/app.Response'
  4769. security:
  4770. - ApiKeyAuth: []
  4771. summary: 委托单查询请求(合约市场)
  4772. tags:
  4773. - 通用单据
  4774. /Order/QueryTradePosition:
  4775. get:
  4776. parameters:
  4777. - description: 资金账户 - 格式:1,2,3
  4778. in: query
  4779. name: accountID
  4780. required: true
  4781. type: string
  4782. - description: 交易模式 - 格式:1,2,3
  4783. in: query
  4784. name: tradeMode
  4785. type: string
  4786. produces:
  4787. - application/json
  4788. responses:
  4789. "200":
  4790. description: OK
  4791. schema:
  4792. $ref: '#/definitions/order.QueryTradePositionRsp'
  4793. "500":
  4794. description: Internal Server Error
  4795. schema:
  4796. $ref: '#/definitions/app.Response'
  4797. security:
  4798. - ApiKeyAuth: []
  4799. summary: 持仓汇总查询(合约市场)
  4800. tags:
  4801. - 通用单据
  4802. /Quote/QueryHistoryDatas:
  4803. get:
  4804. parameters:
  4805. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  4806. 日线 10: Tik'
  4807. in: query
  4808. name: cycleType
  4809. required: true
  4810. type: integer
  4811. - description: 商品代码
  4812. in: query
  4813. name: goodsCode
  4814. required: true
  4815. type: string
  4816. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  4817. in: query
  4818. name: startTime
  4819. type: string
  4820. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  4821. in: query
  4822. name: endTime
  4823. type: string
  4824. - description: 条数
  4825. in: query
  4826. name: count
  4827. type: integer
  4828. - description: 是否按时间顺序排序(默认为时间倒序排序)
  4829. in: query
  4830. name: isAsc
  4831. type: boolean
  4832. produces:
  4833. - application/json
  4834. responses:
  4835. "200":
  4836. description: OK
  4837. schema:
  4838. $ref: '#/definitions/quote.HistoryData'
  4839. "500":
  4840. description: Internal Server Error
  4841. schema:
  4842. $ref: '#/definitions/app.Response'
  4843. security:
  4844. - ApiKeyAuth: []
  4845. summary: 查询行情历史数据
  4846. tags:
  4847. - 行情服务
  4848. /Quote/QueryTSData:
  4849. get:
  4850. parameters:
  4851. - description: 商品代码
  4852. in: query
  4853. name: GoodsCode
  4854. required: true
  4855. type: string
  4856. produces:
  4857. - application/json
  4858. responses:
  4859. "200":
  4860. description: OK
  4861. schema:
  4862. $ref: '#/definitions/quote.QueryTSDataRsp'
  4863. "500":
  4864. description: Internal Server Error
  4865. schema:
  4866. $ref: '#/definitions/app.Response'
  4867. summary: 分时图数据查询
  4868. tags:
  4869. - 行情服务
  4870. /SZDZ/QueryConvertConfig:
  4871. get:
  4872. parameters:
  4873. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4874. 6:交易转花生米(不设置)
  4875. in: query
  4876. name: convertType
  4877. type: integer
  4878. - description: 外部商品代码[JD\PD]
  4879. in: query
  4880. name: outerGoodsCode
  4881. type: string
  4882. - description: 内部商品ID列表[交易],格式:1,2,3
  4883. in: query
  4884. name: innerGoodsIDs
  4885. type: string
  4886. produces:
  4887. - application/json
  4888. responses:
  4889. "200":
  4890. description: OK
  4891. schema:
  4892. $ref: '#/definitions/models.Szdz3convertconfig'
  4893. "500":
  4894. description: Internal Server Error
  4895. schema:
  4896. $ref: '#/definitions/app.Response'
  4897. security:
  4898. - ApiKeyAuth: []
  4899. summary: 查询交易系统转换设置
  4900. tags:
  4901. - 定制【尚志大宗】
  4902. /SZDZ/QueryConvertLog:
  4903. get:
  4904. parameters:
  4905. - description: 资金账户 - 格式:1,2,3
  4906. in: query
  4907. name: accountID
  4908. required: true
  4909. type: string
  4910. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4911. in: query
  4912. name: startDate
  4913. type: string
  4914. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4915. in: query
  4916. name: endDate
  4917. type: string
  4918. produces:
  4919. - application/json
  4920. responses:
  4921. "200":
  4922. description: OK
  4923. schema:
  4924. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  4925. "500":
  4926. description: Internal Server Error
  4927. schema:
  4928. $ref: '#/definitions/app.Response'
  4929. security:
  4930. - ApiKeyAuth: []
  4931. summary: 交易系统转换流水查询
  4932. tags:
  4933. - 定制【尚志大宗】
  4934. /SZDZ/QueryGoodsPickup:
  4935. get:
  4936. parameters:
  4937. - description: 资金账户 - 格式:1,2,3
  4938. in: query
  4939. name: accountID
  4940. required: true
  4941. type: string
  4942. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4943. in: query
  4944. name: takeOrderStatus
  4945. type: integer
  4946. produces:
  4947. - application/json
  4948. responses:
  4949. "200":
  4950. description: OK
  4951. schema:
  4952. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  4953. "500":
  4954. description: Internal Server Error
  4955. schema:
  4956. $ref: '#/definitions/app.Response'
  4957. security:
  4958. - ApiKeyAuth: []
  4959. summary: 商品提货单查询
  4960. tags:
  4961. - 定制【尚志大宗】
  4962. /SZDZ/QueryRecieptOrder:
  4963. get:
  4964. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  4965. parameters:
  4966. - description: 页码
  4967. in: query
  4968. name: page
  4969. type: integer
  4970. - description: 每页条数
  4971. in: query
  4972. name: pagesize
  4973. type: integer
  4974. - description: 商品ID
  4975. in: query
  4976. name: goodsID
  4977. required: true
  4978. type: integer
  4979. - description: 所属账户名称
  4980. in: query
  4981. name: accountName
  4982. type: string
  4983. - description: 市场ID
  4984. in: query
  4985. name: marketID
  4986. type: integer
  4987. - description: 方向 - 0:买 1:卖
  4988. in: query
  4989. name: buyorsell
  4990. required: true
  4991. type: integer
  4992. produces:
  4993. - application/json
  4994. responses:
  4995. "200":
  4996. description: OK
  4997. schema:
  4998. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  4999. "500":
  5000. description: Internal Server Error
  5001. schema:
  5002. $ref: '#/definitions/app.Response'
  5003. security:
  5004. - ApiKeyAuth: []
  5005. summary: 点选挂牌委托单据查询(摘牌大厅)
  5006. tags:
  5007. - 定制【尚志大宗】
  5008. /SZDZ/QuerySZDZTradePosition:
  5009. get:
  5010. parameters:
  5011. - description: 资金账户
  5012. in: query
  5013. name: accountID
  5014. required: true
  5015. type: integer
  5016. produces:
  5017. - application/json
  5018. responses:
  5019. "200":
  5020. description: OK
  5021. schema:
  5022. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  5023. "500":
  5024. description: Internal Server Error
  5025. schema:
  5026. $ref: '#/definitions/app.Response'
  5027. security:
  5028. - ApiKeyAuth: []
  5029. summary: 持仓汇总查询(尚志大宗)
  5030. tags:
  5031. - 定制【尚志大宗】
  5032. /SZDZ/SearchWhite:
  5033. get:
  5034. parameters:
  5035. - description: 用户ID
  5036. in: query
  5037. name: userID
  5038. required: true
  5039. type: integer
  5040. produces:
  5041. - application/json
  5042. responses:
  5043. "200":
  5044. description: OK
  5045. schema:
  5046. $ref: '#/definitions/models.Szdz3searchwhitelist'
  5047. "500":
  5048. description: Internal Server Error
  5049. schema:
  5050. $ref: '#/definitions/app.Response'
  5051. security:
  5052. - ApiKeyAuth: []
  5053. summary: 搜索白名单
  5054. tags:
  5055. - 定制【尚志大宗】
  5056. /Search/SearchGoodses:
  5057. get:
  5058. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  5059. parameters:
  5060. - description: 检索内容
  5061. in: query
  5062. name: content
  5063. required: true
  5064. type: string
  5065. produces:
  5066. - application/json
  5067. responses:
  5068. "200":
  5069. description: OK
  5070. schema:
  5071. $ref: '#/definitions/models.SearchGoods'
  5072. "500":
  5073. description: Internal Server Error
  5074. schema:
  5075. $ref: '#/definitions/app.Response'
  5076. summary: 检索商品信息
  5077. tags:
  5078. - 检索服务
  5079. /TaAccount/QueryAmountLog:
  5080. get:
  5081. parameters:
  5082. - description: 页码
  5083. in: query
  5084. name: page
  5085. type: integer
  5086. - description: 每页条数
  5087. in: query
  5088. name: pagesize
  5089. type: integer
  5090. - description: 资金账户 - 格式:1,2,3
  5091. in: query
  5092. name: accountID
  5093. required: true
  5094. type: string
  5095. - description: 资金操作类型 - 格式:1,2,3
  5096. in: query
  5097. name: OperateType
  5098. type: string
  5099. produces:
  5100. - application/json
  5101. responses:
  5102. "200":
  5103. description: OK
  5104. schema:
  5105. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  5106. "500":
  5107. description: Internal Server Error
  5108. schema:
  5109. $ref: '#/definitions/app.Response'
  5110. security:
  5111. - ApiKeyAuth: []
  5112. summary: 资金流水查询(当前)
  5113. tags:
  5114. - 资金账户
  5115. /TaAccount/QueryHisAmountLog:
  5116. get:
  5117. parameters:
  5118. - description: 页码
  5119. in: query
  5120. name: page
  5121. type: integer
  5122. - description: 每页条数
  5123. in: query
  5124. name: pagesize
  5125. type: integer
  5126. - description: 资金账户 - 格式:1,2,3
  5127. in: query
  5128. name: accountID
  5129. required: true
  5130. type: string
  5131. - description: 资金操作类型 - 格式:1,2,3
  5132. in: query
  5133. name: OperateType
  5134. type: string
  5135. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5136. in: query
  5137. name: startDate
  5138. type: string
  5139. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5140. in: query
  5141. name: endDate
  5142. type: string
  5143. produces:
  5144. - application/json
  5145. responses:
  5146. "200":
  5147. description: OK
  5148. schema:
  5149. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  5150. "500":
  5151. description: Internal Server Error
  5152. schema:
  5153. $ref: '#/definitions/app.Response'
  5154. security:
  5155. - ApiKeyAuth: []
  5156. summary: 资金流水查询(历史)
  5157. tags:
  5158. - 资金账户
  5159. /User/AddMessageBoard:
  5160. post:
  5161. parameters:
  5162. - description: 用户ID
  5163. in: query
  5164. name: userID
  5165. required: true
  5166. type: integer
  5167. - description: 留言信息
  5168. in: query
  5169. name: message
  5170. required: true
  5171. type: string
  5172. produces:
  5173. - application/json
  5174. responses:
  5175. "200":
  5176. description: OK
  5177. schema:
  5178. $ref: '#/definitions/app.Response'
  5179. "500":
  5180. description: Internal Server Error
  5181. schema:
  5182. $ref: '#/definitions/app.Response'
  5183. security:
  5184. - ApiKeyAuth: []
  5185. summary: 添加用户留言板信息
  5186. tags:
  5187. - 用户信息
  5188. /User/AddUserFavoriteGoods:
  5189. post:
  5190. parameters:
  5191. - description: 用户ID
  5192. in: query
  5193. name: userID
  5194. required: true
  5195. type: integer
  5196. - description: 商品ID
  5197. in: query
  5198. name: goodsID
  5199. required: true
  5200. type: integer
  5201. produces:
  5202. - application/json
  5203. responses:
  5204. "200":
  5205. description: OK
  5206. schema:
  5207. $ref: '#/definitions/app.Response'
  5208. "500":
  5209. description: Internal Server Error
  5210. schema:
  5211. $ref: '#/definitions/app.Response'
  5212. security:
  5213. - ApiKeyAuth: []
  5214. summary: 添加用户商品收藏信息
  5215. tags:
  5216. - 用户信息
  5217. /User/GetLoginID:
  5218. get:
  5219. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  5220. parameters:
  5221. - description: 登录代码
  5222. in: query
  5223. name: username
  5224. required: true
  5225. type: string
  5226. produces:
  5227. - application/json
  5228. responses:
  5229. "200":
  5230. description: OK
  5231. schema:
  5232. $ref: '#/definitions/app.Response'
  5233. "500":
  5234. description: Internal Server Error
  5235. schema:
  5236. $ref: '#/definitions/app.Response'
  5237. summary: 获取登录ID
  5238. tags:
  5239. - 用户信息
  5240. /User/GetUserAuthStatus:
  5241. get:
  5242. parameters:
  5243. - description: 用户ID
  5244. in: query
  5245. name: userID
  5246. required: true
  5247. type: integer
  5248. produces:
  5249. - application/json
  5250. responses:
  5251. "200":
  5252. description: OK
  5253. schema:
  5254. $ref: '#/definitions/app.Response'
  5255. "500":
  5256. description: Internal Server Error
  5257. schema:
  5258. $ref: '#/definitions/app.Response'
  5259. security:
  5260. - ApiKeyAuth: []
  5261. summary: 获取用户实名认证状态
  5262. tags:
  5263. - 用户信息
  5264. /User/QueryMessageBoard:
  5265. get:
  5266. parameters:
  5267. - description: 用户ID
  5268. in: query
  5269. name: userID
  5270. required: true
  5271. type: integer
  5272. produces:
  5273. - application/json
  5274. responses:
  5275. "200":
  5276. description: OK
  5277. schema:
  5278. $ref: '#/definitions/models.Messageboard'
  5279. "500":
  5280. description: Internal Server Error
  5281. schema:
  5282. $ref: '#/definitions/app.Response'
  5283. security:
  5284. - ApiKeyAuth: []
  5285. summary: 获取用户留言板信息
  5286. tags:
  5287. - 用户信息
  5288. /User/QueryUserFavoriteGoodses:
  5289. get:
  5290. parameters:
  5291. - description: 用户ID
  5292. in: query
  5293. name: userID
  5294. required: true
  5295. type: integer
  5296. produces:
  5297. - application/json
  5298. responses:
  5299. "200":
  5300. description: OK
  5301. schema:
  5302. $ref: '#/definitions/models.Userfavoritegoods'
  5303. "500":
  5304. description: Internal Server Error
  5305. schema:
  5306. $ref: '#/definitions/app.Response'
  5307. security:
  5308. - ApiKeyAuth: []
  5309. summary: 获取用户商品收藏信息
  5310. tags:
  5311. - 用户信息
  5312. /User/QueryUserInfo:
  5313. get:
  5314. parameters:
  5315. - description: 用户ID
  5316. in: query
  5317. name: userID
  5318. required: true
  5319. type: integer
  5320. produces:
  5321. - application/json
  5322. responses:
  5323. "200":
  5324. description: OK
  5325. schema:
  5326. $ref: '#/definitions/models.Userinfo'
  5327. "500":
  5328. description: Internal Server Error
  5329. schema:
  5330. $ref: '#/definitions/app.Response'
  5331. security:
  5332. - ApiKeyAuth: []
  5333. summary: 获取用户信息
  5334. tags:
  5335. - 用户信息
  5336. /User/QueryUserReferNum:
  5337. get:
  5338. parameters:
  5339. - description: 用户ID
  5340. in: query
  5341. name: userID
  5342. required: true
  5343. type: integer
  5344. produces:
  5345. - application/json
  5346. responses:
  5347. "200":
  5348. description: OK
  5349. schema:
  5350. $ref: '#/definitions/app.Response'
  5351. "500":
  5352. description: Internal Server Error
  5353. schema:
  5354. $ref: '#/definitions/app.Response'
  5355. summary: 获取用户邀请码
  5356. tags:
  5357. - 用户信息
  5358. /User/RemoveUserFavoriteGoods:
  5359. post:
  5360. parameters:
  5361. - description: 用户ID
  5362. in: query
  5363. name: userID
  5364. required: true
  5365. type: integer
  5366. - description: 商品ID
  5367. in: query
  5368. name: goodsID
  5369. required: true
  5370. type: integer
  5371. produces:
  5372. - application/json
  5373. responses:
  5374. "200":
  5375. description: OK
  5376. schema:
  5377. $ref: '#/definitions/app.Response'
  5378. "500":
  5379. description: Internal Server Error
  5380. schema:
  5381. $ref: '#/definitions/app.Response'
  5382. security:
  5383. - ApiKeyAuth: []
  5384. summary: 移除用户商品收藏信息
  5385. tags:
  5386. - 用户信息
  5387. /WRTrade/GetAllDeliveryGoods:
  5388. get:
  5389. produces:
  5390. - application/json
  5391. responses:
  5392. "200":
  5393. description: OK
  5394. schema:
  5395. $ref: '#/definitions/app.Response'
  5396. "500":
  5397. description: Internal Server Error
  5398. schema:
  5399. $ref: '#/definitions/app.Response'
  5400. security:
  5401. - ApiKeyAuth: []
  5402. summary: 获取带仓单分类的种类信息
  5403. tags:
  5404. - 仓单贸易
  5405. securityDefinitions:
  5406. ApiKeyAuth:
  5407. in: header
  5408. name: Authorization
  5409. type: apiKey
  5410. swagger: "2.0"