swagger.yaml 145 KB

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