swagger.yaml 149 KB

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