openapi: 3.0.1 info: title: MultiMarkets-ManagerAPI description: 给TOB业务端提供API,可以提供客户资料、资金管理、活动推送等多类型支持 version: 1.0.0 tags: - name: 接口认证鉴权 - name: 基础数据相关 - name: 产品数据相关 - name: 资金服务相关 - name: 客户服务相关 - name: 消息服务相关 - name: 交易服务相关 - name: 交易服务相关/现货交易 - name: 新客推广活动 - name: 行情订阅相关 - name: 行情订阅相关/http请求接口 paths: /auth/admin.admin.CompanyAuthDubboService.auth: post: summary: 鉴权接口 deprecated: false description: bizType=admin.admin.CompanyAuthDubboService.auth tags: - 接口认证鉴权 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: type: object properties: appId: type: string description: B端公司授权ID appSecret: type: string description: B端公司授权密钥 required: - appId - appSecret example: appId: '{{app_id}}' appSecret: '{{app_secret}}' responses: '200': description: '' content: application/json: schema: type: object properties: msg: type: string description: 返回信息 fail: type: boolean trace: type: string description: 全局链路标志信息 code: type: string description: 系统通用返回码。0-成功,其他异常 data: type: object properties: code: type: string description: 白标代码 startNumber: type: integer description: 客户编码开始编号 tradeTypes: type: string description: 交易玩法 timezone: type: integer description: 默认时区 bgImage: type: string description: 登录页背景图片 publicKey: type: string description: 公钥配置 bizName: type: string updateBy: type: string description: 更新人 appId: type: string description: 授权ID logo: type: string description: 白标logo id: type: integer description: 公司id lang: type: string description: 默认语言 adminPassword: type: 'null' description: 管理员初始密码 adImage: type: string description: 广告图片 adminRoleId: type: 'null' description: 初始化公司角色ID adminUserId: type: 'null' description: 初始化公司管理员ID tradeTypeList: type: array items: type: object properties: code: type: string description: 玩法Code name: type: string description: 玩法名称 id: type: string description: 玩法ID required: - code - name - id description: 交易玩法列表 strId: type: string endNumber: type: integer description: 客户编码截至编号 updateTime: type: integer description: 更新时间 stpLoginUser: type: 'null' description: 射单用户 initProgress: type: integer description: 初始化进度。1-公司初始化;2-创建数据源;3-初始化数据 revision: type: integer description: 乐观锁 token: type: string description: token信息 demoInitialAmount: type: 'null' description: 模拟账户初始资金 stpAccount: type: 'null' description: 射单账号 codeMd5: type: string description: 代码MD5 stpPassword: type: 'null' description: 射单用户密码 createBy: type: string description: 创建人 createTime: type: integer description: 创建时间 domain: type: string description: 域名 name: type: string description: 白标名称 appSecret: type: string description: 授权密钥 dataSourceType: type: integer description: 数据源类型。1-公共数据源;2-独立数据源 dbPassword: type: 'null' description: 业务库初始密码 status: type: integer format: long description: 状态。 1-启用;2-禁用;3-删除; companyType: type: string description: 公司类型。demo-模拟;real-真实; associationCompanyId: type: integer description: 关联公司ID required: - code - startNumber - tradeTypes - timezone - bgImage - publicKey - bizName - updateBy - appId - logo - id - lang - adminPassword - adImage - adminRoleId - adminUserId - tradeTypeList - strId - endNumber - updateTime - stpLoginUser - initProgress - revision - token - demoInitialAmount - stpAccount - codeMd5 - stpPassword - createBy - createTime - domain - name - appSecret - dataSourceType - dbPassword - status - companyType - associationCompanyId description: 返回体 bizCode: type: string description: 模块标识码 tm: type: integer description: 处理时长(毫秒) msgParams: type: 'null' description: 返回描述中占位符参数串,多个参数间以,分割 ok: type: boolean description: 状态标志 required: - msg - fail - trace - code - data - bizCode - tm - msgParams - ok example: code: '0' msg: Success tm: 4 data: Language: - parentId: 162 id: 163 name: 中文简体 displayName: 中文简体 nameTw: 中文简体 nameEn: 中文简体 code: zh-CN parentCode: Language sort: 4 status: 1 revision: 0 createBy: admin createTime: 1636696846289 updateBy: admin updateTime: 1636696846289 - parentId: 162 id: 164 name: English displayName: English nameTw: 英文 nameEn: en-US code: en-US parentCode: Language sort: 2 status: 1 revision: 1 createBy: admin createTime: 1636696876122 updateBy: test001 updateTime: 1639822331173 - parentId: 162 id: 618 name: 保加利亚语 displayName: 保加利亚语 code: bg-BG parentCode: Language sort: 35 status: 1 revision: 0 createBy: michael.ma createTime: 1669188193142 updateBy: michael.ma updateTime: 1669188193142 ok: true fail: false headers: {} security: [] /config.admin.AdminDictDubboService.getListByParentCode: post: summary: 获取通用字典列表 deprecated: false description: bizType=config.admin.AdminDictDubboService.getListByParentCode tags: - 基础数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: false example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: parentCode: type: string description: 字典code,区号:phone_code、注册来源:register_source、银行列表:bank_code required: - parentCode example: parentCode: phone_code responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array description: 数据体 items: type: object properties: parentId: type: integer format: int64 description: 上级ID id: type: integer format: int64 description: 主键id name: type: string description: 字典名称 displayName: type: string description: 显示名称(前端显示) code: type: string description: 字典代码 parentCode: type: string description: 上级代码 sort: type: integer format: int32 description: 排序 showType: type: string description: 字典显示类型 extend: type: string description: 扩展属性 status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 createTime: type: integer format: int64 description: 创建时间 updateTime: type: integer format: int64 description: 更新时间 hasLeaf: type: integer format: int32 description: 是否有子节点 ok: type: boolean fail: type: boolean example: msg: Success fail: false trace: x-484ynk7-j6o8-t3kglk-yiv7i-1677742871 code: '0' data: - code: Tron(TRC20) displayName: Tron updateTime: 1675995340948 sort: 1 nameEn: null parentId: 469 revision: 5 extend: '' nameTw: null createBy: admin createTime: 1673440493544 parentCode: USDT updateBy: admin name: Tron showType: null id: 1300 hasLeaf: 0 status: 1 bizCode: '' tm: 3 msgParams: null ok: true headers: {} security: [] /config.admin.AdminAssetsDubboService.getAssetsList: post: summary: 获取公司币种权限 deprecated: false description: bizType=config.admin.AdminAssetsDubboService.getAssetsList tags: - 基础数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: companyId: type: string title: '' description: 公司ID example: companyId: '360' responses: '200': description: '' content: application/json: schema: type: object properties: code: type: string description: Return Code msg: type: string description: Return Message bizCode: type: string description: biz code tm: description: tm type: number trace: type: string description: trace msgParams: description: msgParams type: string nullable: true data: type: array items: &ref_0 $ref: '#/components/schemas/AssetsVo' description: 资产列表 description: return data,customer no required: - code - msg - bizCode - tm - trace - msgParams - data example: msg: Success fail: false trace: t-62ut5v1-9s47-psh2w5-6k4t87k-1668757536 code: '0' data: - code: CNY displayName: null strId: '2' updateTime: 1664158550190 type: 1 revision: 8 fundId: 266 createBy: allen createTime: 1616550825827 updateBy: admin bizName: ASSETS name: CNY digits: 2 initState: null id: 2 status: 1 - code: GBP displayName: null strId: '3' updateTime: 1652948804388 type: 2 revision: 3 fundId: 256 createBy: allen createTime: 1616550837446 updateBy: admin bizName: ASSETS name: GBP digits: 3 initState: null id: 3 status: 1 - code: AUD displayName: null strId: '4' updateTime: 1652968248045 type: 2 revision: 3 fundId: 262 createBy: allen createTime: 1616550851237 updateBy: admin bizName: ASSETS name: AUD digits: 3 initState: null id: 4 status: 1 - code: JPY displayName: null strId: '5' updateTime: 1654064729797 type: 2 revision: 3 fundId: 268 createBy: allen createTime: 1616550866234 updateBy: admin bizName: ASSETS name: JPY digits: 3 initState: null id: 5 status: 1 - code: CHF displayName: null strId: '6' updateTime: 1653969205166 type: 2 revision: 3 fundId: 263 createBy: allen createTime: 1616550875887 updateBy: admin bizName: ASSETS name: CHF digits: 3 initState: null id: 6 status: 1 - code: EUR displayName: null strId: '7' updateTime: 1654064684258 type: 1 revision: 3 fundId: 267 createBy: allen createTime: 1616550916866 updateBy: admin bizName: ASSETS name: EUR digits: 3 initState: null id: 7 status: 1 - code: CAD displayName: null strId: '8' updateTime: 1654065103417 type: 2 revision: 3 fundId: 269 createBy: admin createTime: 1616554141598 updateBy: admin bizName: ASSETS name: CAD digits: 3 initState: null id: 8 status: 1 - code: HKD displayName: null strId: '9' updateTime: 1661416968068 type: 1 revision: 12 fundId: 132 createBy: admin createTime: 1616573492079 updateBy: admin bizName: ASSETS name: HKD digits: 2 initState: null id: 9 status: 1 - code: NZD displayName: null strId: '10' updateTime: 1644994576897 type: 1 revision: 14 fundId: 111 createBy: allen createTime: 1617000353673 updateBy: admin bizName: ASSETS name: NZD digits: 5 initState: null id: 10 status: 1 - code: USDT displayName: null strId: '13' updateTime: 1661241474156 type: 1 revision: 51 fundId: 147 createBy: admin createTime: 1621394862993 updateBy: admin bizName: ASSETS name: USDT digits: 4 initState: null id: 13 status: 1 - code: BTC displayName: null strId: '16' updateTime: 1661241647802 type: 1 revision: 20 fundId: 252 createBy: admin createTime: 1621909928033 updateBy: admin bizName: ASSETS name: BTC digits: 8 initState: null id: 16 status: 1 - code: LTC displayName: null strId: '18' updateTime: 1644994634377 type: 1 revision: 1 fundId: 146 createBy: admin createTime: 1622186707148 updateBy: admin bizName: ASSETS name: LTC digits: 8 initState: null id: 18 status: 1 - code: BNB displayName: null strId: '19' updateTime: 1643187824769 type: 1 revision: 1 fundId: 133 createBy: admin createTime: 1622186869452 updateBy: admin bizName: ASSETS name: BNB digits: 8 initState: null id: 19 status: 1 - code: KSM displayName: null strId: '20' updateTime: 1644994572018 type: 1 revision: 1 fundId: 131 createBy: admin createTime: 1622187222051 updateBy: admin bizName: ASSETS name: KSM digits: 8 initState: null id: 20 status: 1 - code: REEF displayName: null strId: '21' updateTime: 1643193111252 type: 1 revision: 0 fundId: 148 createBy: admin createTime: 1622187747327 updateBy: admin bizName: ASSETS name: REEF digits: 8 initState: null id: 21 status: 1 - code: VET displayName: null strId: '23' updateTime: 1643186949093 type: 1 revision: 0 fundId: 134 createBy: admin createTime: 1623130927254 updateBy: admin bizName: ASSETS name: VET digits: 6 initState: null id: 23 status: 1 - code: BTT displayName: null strId: '24' updateTime: 1644994649326 type: 1 revision: 1 fundId: 143 createBy: admin createTime: 1623131123589 updateBy: admin bizName: ASSETS name: BTT digits: 6 initState: null id: 24 status: 1 - code: HOBI displayName: null strId: '25' updateTime: 1644994563335 type: 1 revision: 1 fundId: 130 createBy: admin createTime: 1623303436605 updateBy: admin bizName: ASSETS name: HOBI digits: 12 initState: null id: 25 status: 1 - code: NFT displayName: null strId: '26' updateTime: 1641542767163 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1623741587336 updateBy: admin bizName: ASSETS name: NFT digits: 12 initState: null id: 26 status: 1 - code: XRP displayName: null strId: '27' updateTime: 1641550395850 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1623746533786 updateBy: admin bizName: ASSETS name: XRP digits: 8 initState: null id: 27 status: 1 - code: SAND displayName: null strId: '29' updateTime: 1641552842821 type: 1 revision: 5 fundId: 0 createBy: admin createTime: 1624263848177 updateBy: admin bizName: ASSETS name: SAND digits: 6 initState: null id: 29 status: 1 - code: BAT displayName: null strId: '30' updateTime: 1644994559212 type: 1 revision: 0 fundId: 135 createBy: admin createTime: 1624264226397 updateBy: admin bizName: ASSETS name: BAT digits: 4 initState: null id: 30 status: 1 - code: DOT displayName: null strId: '31' updateTime: 1641551997523 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1624264250273 updateBy: admin bizName: ASSETS name: DOT digits: 6 initState: null id: 31 status: 1 - code: LINK displayName: null strId: '32' updateTime: 1643188859668 type: 1 revision: 0 fundId: 136 createBy: admin createTime: 1624264265549 updateBy: admin bizName: ASSETS name: LINK digits: 3 initState: null id: 32 status: 1 - code: SUSHI displayName: null strId: '33' updateTime: 1624264282924 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1624264282924 updateBy: admin bizName: ASSETS name: SUSHI digits: 3 initState: null id: 33 status: 1 - code: UNI displayName: null strId: '34' updateTime: 1641552731391 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1624264570600 updateBy: admin bizName: ASSETS name: UNI digits: 3 initState: null id: 34 status: 1 - code: THETA displayName: null strId: '36' updateTime: 1641553256662 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625054328614 updateBy: admin bizName: ASSETS name: THETA digits: 6 initState: null id: 36 status: 1 - code: XLM displayName: null strId: '37' updateTime: 1641638027716 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625054341569 updateBy: admin bizName: ASSETS name: XLM digits: 6 initState: null id: 37 status: 1 - code: FIL displayName: null strId: '38' updateTime: 1641638022711 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625054361514 updateBy: admin bizName: ASSETS name: FIL digits: 6 initState: null id: 38 status: 1 - code: TRX displayName: null strId: '39' updateTime: 1625054373538 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625054373538 updateBy: admin bizName: ASSETS name: TRX digits: 6 initState: null id: 39 status: 1 - code: WBTC displayName: null strId: '40' updateTime: 1647854555974 type: 1 revision: 0 fundId: 172 createBy: admin createTime: 1625054386532 updateBy: admin bizName: ASSETS name: WBTC digits: 6 initState: null id: 40 status: 1 - code: LUNA displayName: null strId: '41' updateTime: 1641612291342 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625054400995 updateBy: admin bizName: ASSETS name: LUNA digits: 6 initState: null id: 41 status: 1 - code: EOS displayName: null strId: '42' updateTime: 1625552128208 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625552128208 updateBy: admin bizName: ASSETS name: EOS digits: 6 initState: null id: 42 status: 1 - code: FFT displayName: null strId: '43' updateTime: 1625557104549 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625557104549 updateBy: admin bizName: ASSETS name: FFT digits: 6 initState: null id: 43 status: 1 - code: BSV displayName: null strId: '44' updateTime: 1625559367944 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625559367944 updateBy: admin bizName: ASSETS name: BSV digits: 6 initState: null id: 44 status: 1 - code: OKB displayName: null strId: '45' updateTime: 1641638017032 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1625559377015 updateBy: admin bizName: ASSETS name: OKB digits: 6 initState: null id: 45 status: 1 - code: OMG displayName: null strId: '56' updateTime: 1632295709968 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1630043656170 updateBy: admin bizName: ASSETS name: OMG digits: 3 initState: 2 id: 56 status: 1 - code: USDTTRC displayName: null strId: '62' updateTime: 1642840102755 type: 1 revision: 0 fundId: 86 createBy: admin createTime: 1635388364409 updateBy: admin bizName: ASSETS name: USDTTRC digits: 8 initState: 2 id: 62 status: 1 - code: USDTERC displayName: null strId: '63' updateTime: 1635388385644 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1635388385644 updateBy: admin bizName: ASSETS name: USDTERC digits: 8 initState: 2 id: 63 status: 1 - code: DOGE displayName: null strId: '68' updateTime: 1642747937513 type: 1 revision: 2 fundId: 76 createBy: admin createTime: 1637293680897 updateBy: admin bizName: ASSETS name: DOGE digits: 6 initState: 2 id: 68 status: 1 - code: ADA displayName: null strId: '69' updateTime: 1641537309380 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1637575267243 updateBy: admin bizName: ASSETS name: ADA digits: 6 initState: 2 id: 69 status: 1 - code: BCH displayName: null strId: '70' updateTime: 1637575457071 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1637575457071 updateBy: admin bizName: ASSETS name: BCH digits: 6 initState: 2 id: 70 status: 1 - code: XMR displayName: null strId: '71' updateTime: 1637726720569 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1637726720569 updateBy: admin bizName: ASSETS name: XMR digits: 6 initState: 2 id: 71 status: 1 - code: MANA displayName: null strId: '72' updateTime: 1639367000336 type: 1 revision: 4 fundId: 0 createBy: admin createTime: 1638962569457 updateBy: admin bizName: ASSETS name: MANA digits: 6 initState: 2 id: 72 status: 1 - code: IOTA displayName: null strId: '77' updateTime: 1639641006887 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1639641006887 updateBy: admin bizName: ASSETS name: IOTA digits: 6 initState: 2 id: 77 status: 1 - code: AAVE displayName: null strId: '81' updateTime: 1640769813681 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1640769813680 updateBy: admin bizName: ASSETS name: AAVE digits: 5 initState: 2 id: 81 status: 1 - code: SOL displayName: null strId: '82' updateTime: 1641264702653 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641264702653 updateBy: admin bizName: ASSETS name: SOL digits: 6 initState: 2 id: 82 status: 1 - code: ARX20 displayName: null strId: '83' updateTime: 1646200014525 type: 2 revision: 0 fundId: 158 createBy: admin createTime: 1641447142673 updateBy: admin bizName: ASSETS name: ARX20 digits: 8 initState: 2 id: 83 status: 1 - code: AXS displayName: null strId: '84' updateTime: 1641460129723 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460129723 updateBy: admin bizName: ASSETS name: AXS digits: 6 initState: 2 id: 84 status: 1 - code: AVAX displayName: null strId: '85' updateTime: 1652930280440 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1641460163766 updateBy: admin bizName: ASSETS name: AVAX digits: 6 initState: 2 id: 85 status: 1 - code: DYDX displayName: null strId: '86' updateTime: 1641460204028 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460204028 updateBy: admin bizName: ASSETS name: DYDX digits: 6 initState: 2 id: 86 status: 1 - code: MATIC displayName: null strId: '87' updateTime: 1641460267955 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460267955 updateBy: admin bizName: ASSETS name: MATIC digits: 6 initState: 2 id: 87 status: 1 - code: XTZ displayName: null strId: '88' updateTime: 1641460306564 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460306564 updateBy: admin bizName: ASSETS name: XTZ digits: 6 initState: 2 id: 88 status: 1 - code: GALA displayName: null strId: '89' updateTime: 1641460526048 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460526048 updateBy: admin bizName: ASSETS name: GALA digits: 6 initState: 2 id: 89 status: 1 - code: SHIB displayName: null strId: '90' updateTime: 1641460539345 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460539345 updateBy: admin bizName: ASSETS name: SHIB digits: 6 initState: 2 id: 90 status: 1 - code: RACA displayName: null strId: '91' updateTime: 1641460551983 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641460551983 updateBy: admin bizName: ASSETS name: RACA digits: 6 initState: 2 id: 91 status: 1 - code: ATOM displayName: null strId: '92' updateTime: 1641606559274 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641606559274 updateBy: admin bizName: ASSETS name: ATOM digits: 5 initState: 2 id: 92 status: 1 - code: ALGO displayName: null strId: '93' updateTime: 1641606572114 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641606572114 updateBy: admin bizName: ASSETS name: ALGO digits: 5 initState: 2 id: 93 status: 1 - code: NEAR displayName: null strId: '94' updateTime: 1641638018866 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641606584179 updateBy: admin bizName: ASSETS name: NEAR digits: 5 initState: 2 id: 94 status: 1 - code: SPOT displayName: null strId: '95' updateTime: 1641638014402 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641607021808 updateBy: admin bizName: ASSETS name: SPOT digits: 5 initState: 2 id: 95 status: 1 - code: ARX19 displayName: null strId: '96' updateTime: 1652860472803 type: 1 revision: 1 fundId: 169 createBy: admin createTime: 1641614781197 updateBy: admin bizName: ASSETS name: ARX19 digits: 6 initState: 2 id: 96 status: 1 - code: ARX10 displayName: null strId: '97' updateTime: 1643008797711 type: 2 revision: 1 fundId: 97 createBy: admin createTime: 1641800688196 updateBy: admin bizName: ASSETS name: ARX10 digits: 8 initState: 2 id: 97 status: 1 - code: ARX5 displayName: null strId: '98' updateTime: 1652860457219 type: 1 revision: 0 fundId: 249 createBy: admin createTime: 1641802854563 updateBy: admin bizName: ASSETS name: ARX5 digits: 8 initState: 2 id: 98 status: 1 - code: ARX4 displayName: null strId: '99' updateTime: 1642827161743 type: 2 revision: 0 fundId: 88 createBy: admin createTime: 1641870947669 updateBy: admin bizName: ASSETS name: ARX4 digits: 8 initState: 2 id: 99 status: 1 - code: ETH displayName: null strId: '100' updateTime: 1654083298812 type: 1 revision: 2 fundId: 247 createBy: admin createTime: 1641876576241 updateBy: admin bizName: ASSETS name: ETH digits: 6 initState: 2 id: 100 status: 1 - code: USO displayName: null strId: '101' updateTime: 1641971342365 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641971342365 updateBy: admin bizName: ASSETS name: USO digits: 6 initState: 2 id: 101 status: 1 - code: UKO displayName: null strId: '102' updateTime: 1641971355600 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641971355600 updateBy: admin bizName: ASSETS name: UKO digits: 6 initState: 2 id: 102 status: 1 - code: XNG displayName: null strId: '103' updateTime: 1641971369725 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641971369725 updateBy: admin bizName: ASSETS name: XNG digits: 6 initState: 2 id: 103 status: 1 - code: XAG displayName: null strId: '104' updateTime: 1641971666453 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641971666453 updateBy: admin bizName: ASSETS name: XAG digits: 3 initState: 2 id: 104 status: 1 - code: XAU displayName: null strId: '105' updateTime: 1641971683706 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1641971683706 updateBy: admin bizName: ASSETS name: XAU digits: 3 initState: 2 id: 105 status: 1 - code: V10 displayName: null strId: '111' updateTime: 1642749401538 type: 2 revision: 0 fundId: 80 createBy: admin createTime: 1642130124017 updateBy: admin bizName: ASSETS name: V10 digits: 2 initState: 2 id: 111 status: 1 - code: JJ10 displayName: null strId: '112' updateTime: 1642745175274 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1642745175274 updateBy: admin bizName: ASSETS name: JJ10 digits: 8 initState: 2 id: 112 status: 1 - code: FTM displayName: null strId: '113' updateTime: 1642748293104 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1642748293104 updateBy: admin bizName: ASSETS name: FTM digits: 7 initState: 2 id: 113 status: 1 - code: USD displayName: null strId: '114' updateTime: 1661416958692 type: 1 revision: 5 fundId: 0 createBy: admin createTime: 1642750802788 updateBy: admin bizName: ASSETS name: USD digits: 2 initState: 2 id: 114 status: 1 - code: qa001 displayName: null strId: '116' updateTime: 1655187468050 type: 2 revision: 1 fundId: 270 createBy: admin createTime: 1642995107201 updateBy: admin bizName: ASSETS name: QA001 digits: 3 initState: 2 id: 116 status: 1 - code: qa002 displayName: null strId: '117' updateTime: 1643187148857 type: 2 revision: 0 fundId: 137 createBy: admin createTime: 1643160467657 updateBy: admin bizName: ASSETS name: QA002 digits: 3 initState: 2 id: 117 status: 1 - code: M10 displayName: null strId: '118' updateTime: 1652860583868 type: 2 revision: 0 fundId: 254 createBy: admin createTime: 1643166285967 updateBy: admin bizName: ASSETS name: M10 digits: 2 initState: 2 id: 118 status: 1 - code: USDC displayName: null strId: '120' updateTime: 1646057000195 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1646057000195 updateBy: admin bizName: ASSETS name: USDC digits: 6 initState: 2 id: 120 status: 1 - code: BUSD displayName: null strId: '121' updateTime: 1654515515371 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1646057041904 updateBy: admin bizName: ASSETS name: BUSD digits: 8 initState: 2 id: 121 status: 1 - code: UST displayName: null strId: '122' updateTime: 1646057056227 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1646057056227 updateBy: admin bizName: ASSETS name: UST digits: 6 initState: 2 id: 122 status: 1 - code: DAI displayName: null strId: '123' updateTime: 1646057100841 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1646057100841 updateBy: admin bizName: ASSETS name: DAI digits: 6 initState: 2 id: 123 status: 1 - code: HKMT displayName: null strId: '124' updateTime: 1646057238695 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1646057238695 updateBy: admin bizName: ASSETS name: HKMT digits: 6 initState: 2 id: 124 status: 1 - code: XEC displayName: null strId: '125' updateTime: 1646468568369 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1646468558457 updateBy: admin bizName: ASSETS name: XEC digits: 5 initState: 2 id: 125 status: 1 - code: QA003 displayName: null strId: '126' updateTime: 1647501788227 type: 2 revision: 0 fundId: 168 createBy: admin createTime: 1647495982669 updateBy: admin bizName: ASSETS name: QA003 digits: 2 initState: 2 id: 126 status: 1 - code: QA004 displayName: null strId: '127' updateTime: 1647575484673 type: 2 revision: 0 fundId: 170 createBy: admin createTime: 1647574726957 updateBy: admin bizName: ASSETS name: QA004 digits: 2 initState: 2 id: 127 status: 1 - code: QA005 displayName: null strId: '128' updateTime: 1661154805911 type: 1 revision: 2 fundId: 231 createBy: admin createTime: 1647581295070 updateBy: admin bizName: ASSETS name: QA005 digits: 2 initState: 2 id: 128 status: 1 - code: QA006 displayName: null strId: '129' updateTime: 1661154803791 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1647583664740 updateBy: admin bizName: ASSETS name: QA006 digits: 2 initState: 2 id: 129 status: 1 - code: QA007 displayName: null strId: '130' updateTime: 1661154794400 type: 1 revision: 2 fundId: 251 createBy: admin createTime: 1647585963624 updateBy: admin bizName: ASSETS name: QA007 digits: 2 initState: 2 id: 130 status: 1 - code: QA008 displayName: null strId: '131' updateTime: 1661154792176 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1647587322797 updateBy: admin bizName: ASSETS name: QA008 digits: 2 initState: 2 id: 131 status: 1 - code: qa009 displayName: null strId: '132' updateTime: 1661154790071 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1647589332368 updateBy: admin bizName: ASSETS name: qa009 digits: 2 initState: 2 id: 132 status: 1 - code: test001 displayName: null strId: '133' updateTime: 1661154787631 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1647589925800 updateBy: admin bizName: ASSETS name: test001 digits: 2 initState: 2 id: 133 status: 1 - code: testK displayName: null strId: '134' updateTime: 1661154800807 type: 1 revision: 2 fundId: 245 createBy: admin createTime: 1647598607548 updateBy: admin bizName: ASSETS name: testK digits: 5 initState: 2 id: 134 status: 1 - code: testki displayName: null strId: '135' updateTime: 1661154783915 type: 1 revision: 2 fundId: 244 createBy: admin createTime: 1648729146589 updateBy: admin bizName: ASSETS name: testki digits: 3 initState: 2 id: 135 status: 1 - code: STOCK displayName: null strId: '136' updateTime: 1650341969161 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1650341969161 updateBy: admin bizName: ASSETS name: 股票 digits: 4 initState: 2 id: 136 status: 1 - code: APE displayName: null strId: '137' updateTime: 1652323790731 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1652323790731 updateBy: admin bizName: ASSETS name: APE digits: 5 initState: 2 id: 137 status: 1 - code: BSW displayName: null strId: '138' updateTime: 1652406922547 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1652406922547 updateBy: admin bizName: ASSETS name: BSW digits: 5 initState: 2 id: 138 status: 1 - code: MBOX displayName: null strId: '139' updateTime: 1652407560791 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1652407560791 updateBy: admin bizName: ASSETS name: MBOX digits: 5 initState: 2 id: 139 status: 1 - code: ALICE displayName: null strId: '140' updateTime: 1652407738958 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1652407738958 updateBy: admin bizName: ASSETS name: ALICE digits: 5 initState: 2 id: 140 status: 1 - code: ENJ displayName: null strId: '141' updateTime: 1652407912955 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1652407912955 updateBy: admin bizName: ASSETS name: ENJ digits: 5 initState: 2 id: 141 status: 1 - code: hkd displayName: null strId: '142' updateTime: 1660102282547 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1652768868406 updateBy: admin bizName: ASSETS name: hkd digits: 5 initState: 2 id: 142 status: 1 - code: V20 displayName: null strId: '143' updateTime: 1660703371171 type: 2 revision: 0 fundId: 271 createBy: admin createTime: 1652866321883 updateBy: admin bizName: ASSETS name: V20 digits: 8 initState: 2 id: 143 status: 1 - code: V30 displayName: null strId: '144' updateTime: 1652968172950 type: 2 revision: 0 fundId: 261 createBy: admin createTime: 1652967350684 updateBy: admin bizName: ASSETS name: V30 digits: 6 initState: 2 id: 144 status: 1 - code: IDR displayName: null strId: '145' updateTime: 1653534458130 type: 1 revision: 0 fundId: 0 createBy: Martin createTime: 1653534458130 updateBy: Martin bizName: ASSETS name: IDR digits: 6 initState: 2 id: 145 status: 1 - code: HKDD displayName: null strId: '146' updateTime: 1661154778293 type: 1 revision: 2 fundId: 0 createBy: Martin createTime: 1653546699930 updateBy: Martin bizName: ASSETS name: HKDD digits: 2 initState: 2 id: 146 status: 1 - code: PHP displayName: null strId: '147' updateTime: 1655284022946 type: 1 revision: 1 fundId: 0 createBy: Jensen createTime: 1653560311767 updateBy: admin bizName: ASSETS name: PHP digits: 2 initState: 2 id: 147 status: 1 - code: LUNC displayName: null strId: '148' updateTime: 1654498186213 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1654498186213 updateBy: admin bizName: ASSETS name: LUNC digits: 8 initState: 2 id: 148 status: 1 - code: '002' displayName: null strId: '150' updateTime: 1661154767601 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1655775216800 updateBy: admin bizName: ASSETS name: dylan.test2 digits: 8 initState: 2 id: 150 status: 1 - code: SQLTest displayName: null strId: '151' updateTime: 1661154765751 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1656034575050 updateBy: admin bizName: ASSETS name: SQLTest digits: 6 initState: 2 id: 151 status: 1 - code: SQLTest1 displayName: null strId: '152' updateTime: 1661154763776 type: 1 revision: 4 fundId: 0 createBy: admin createTime: 1656052234974 updateBy: admin bizName: ASSETS name: SQLTest1 digits: 8 initState: 2 id: 152 status: 1 - code: '123' displayName: null strId: '153' updateTime: 1661154760529 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1656655280035 updateBy: admin bizName: ASSETS name: BTCDYLAN digits: 6 initState: 2 id: 153 status: 1 - code: MBG displayName: null strId: '154' updateTime: 1658381610587 type: 1 revision: 2 fundId: 0 createBy: Martin createTime: 1657011088277 updateBy: admin bizName: ASSETS name: MBG digits: 2 initState: 2 id: 154 status: 1 - code: '12345' displayName: null strId: '155' updateTime: 1661154758053 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1659406120437 updateBy: admin bizName: ASSETS name: cake digits: 8 initState: 2 id: 155 status: 1 - code: cake displayName: null strId: '156' updateTime: 1659407511035 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659407511035 updateBy: admin bizName: ASSETS name: CAKE digits: 7 initState: 2 id: 156 status: 1 - code: SRM displayName: null strId: '157' updateTime: 1659409565256 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659409565256 updateBy: admin bizName: ASSETS name: SRM digits: 8 initState: 2 id: 157 status: 1 - code: ENS displayName: null strId: '158' updateTime: 1659418123900 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418123900 updateBy: admin bizName: ASSETS name: ENS digits: 7 initState: 2 id: 158 status: 1 - code: DASH displayName: null strId: '159' updateTime: 1659418141850 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418141850 updateBy: admin bizName: ASSETS name: DASH digits: 7 initState: 2 id: 159 status: 1 - code: ONE displayName: null strId: '160' updateTime: 1659418156445 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418156445 updateBy: admin bizName: ASSETS name: ONE digits: 7 initState: 2 id: 160 status: 1 - code: KNC displayName: null strId: '161' updateTime: 1659418208900 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418208900 updateBy: admin bizName: ASSETS name: KNC digits: 7 initState: 2 id: 161 status: 1 - code: MKR displayName: null strId: '162' updateTime: 1659418310764 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418310764 updateBy: admin bizName: ASSETS name: MKR digits: 7 initState: 2 id: 162 status: 1 - code: SLP displayName: null strId: '163' updateTime: 1659418324625 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418324625 updateBy: admin bizName: ASSETS name: SLP digits: 7 initState: 2 id: 163 status: 1 - code: GHZ displayName: null strId: '164' updateTime: 1659418338399 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418338399 updateBy: admin bizName: ASSETS name: GHZ digits: 7 initState: 2 id: 164 status: 1 - code: YGG displayName: null strId: '165' updateTime: 1659418350338 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418350338 updateBy: admin bizName: ASSETS name: YGG digits: 7 initState: 2 id: 165 status: 1 - code: COMP displayName: null strId: '166' updateTime: 1659418415195 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418415195 updateBy: admin bizName: ASSETS name: COMP digits: 7 initState: 2 id: 166 status: 1 - code: GRT displayName: null strId: '167' updateTime: 1659418426940 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659418426940 updateBy: admin bizName: ASSETS name: GRT digits: 7 initState: 2 id: 167 status: 1 - code: CHZ displayName: null strId: '168' updateTime: 1659584827538 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1659584827538 updateBy: admin bizName: ASSETS name: CHZ digits: 5 initState: 2 id: 168 status: 1 - code: INR displayName: null strId: '169' updateTime: 1660631642492 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1660631479215 updateBy: admin bizName: ASSETS name: INR digits: 2 initState: 2 id: 169 status: 1 - code: THB displayName: null strId: '170' updateTime: 1661508922698 type: 1 revision: 2 fundId: 0 createBy: admin createTime: 1661497523914 updateBy: admin bizName: ASSETS name: THB digits: 5 initState: 2 id: 170 status: 1 - code: wheat303 displayName: null strId: '171' updateTime: 1664270259042 type: 1 revision: 1 fundId: 0 createBy: admin createTime: 1664270085784 updateBy: admin bizName: ASSETS name: 普小麦 digits: 0 initState: 2 id: 171 status: 1 - code: VND displayName: null strId: '182' updateTime: 1664526848650 type: 1 revision: 0 fundId: 0 createBy: admin createTime: 1664526848650 updateBy: admin bizName: ASSETS name: 越南盾 digits: 2 initState: 2 id: 182 status: 1 bizCode: '' tm: 3 msgParams: null ok: true headers: {} security: [] /config.admin.AdminDictDubboService.getCountryListByParentCode: post: summary: 获取国家字典列表 deprecated: false description: bizType=config.admin.AdminDictDubboService.getListByParentCode tags: - 基础数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端认证鉴权返回token required: false example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: parentCode: type: string description: 字典code,-1代表全部国家 required: - parentCode example: parentCode: '-1' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array description: 数据体 items: type: object properties: parentId: type: integer format: int64 description: 上级ID id: type: integer format: int64 description: 主键id name: type: string description: 国家地区名称 displayName: type: string description: 显示名称(前端显示) code: type: string description: 国家代码 parentCode: type: string description: 上级代码 nationalCode: type: string description: 国家简称 countryCode: type: string description: 国家区号 extend: type: string description: 扩展属性 sort: type: integer format: int32 description: 排序 status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 createTime: type: integer format: int64 description: 创建时间 updateTime: type: integer format: int64 description: 更新时间 hasLeaf: type: integer format: int32 description: 是否有子节点 childs: type: array description: 子节点数据 items: type: object properties: {} ok: type: boolean fail: type: boolean example: msg: Success fail: false trace: t-05hj-knr4r-4w37wl-w1gpg83-1668756938 code: '0' data: - nationalCode: AF code: AF displayName: null updateTime: 1618881547731 sort: 1 nameEn: Afghanistan childs: null parentId: 0 revision: 1 extend: '' nameTw: 阿富汗 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+93' name: 阿富汗 id: 2 hasLeaf: null status: 1 - nationalCode: AR code: AR displayName: null updateTime: 1618881547738 sort: 1 nameEn: Argentina childs: null parentId: 0 revision: 1 extend: '' nameTw: 阿根廷 createBy: admin createTime: 1618881547738 updateBy: admin parentCode: '-1' countryCode: '+54' name: 阿根廷 id: 9 hasLeaf: null status: 1 - nationalCode: AU code: AU displayName: null updateTime: 1618881547743 sort: 1 nameEn: Australia childs: null parentId: 0 revision: 1 extend: '' nameTw: 澳大利亚 createBy: admin createTime: 1618881547743 updateBy: admin parentCode: '-1' countryCode: '+61' name: 澳大利亚 id: 14 hasLeaf: null status: 1 - nationalCode: BE code: BE displayName: null updateTime: 1618881547747 sort: 1 nameEn: Belgium childs: null parentId: 0 revision: 1 extend: '' nameTw: 比利时 createBy: admin createTime: 1618881547747 updateBy: admin parentCode: '-1' countryCode: '+32' name: 比利时 id: 18 hasLeaf: null status: 1 - nationalCode: BG code: BG displayName: null updateTime: 1618881547752 sort: 1 nameEn: Bulgaria childs: null parentId: 0 revision: 1 extend: '' nameTw: 保加利亚 createBy: admin createTime: 1618881547752 updateBy: admin parentCode: '-1' countryCode: '+359' name: 保加利亚 id: 23 hasLeaf: null status: 1 - nationalCode: BR code: BR displayName: null updateTime: 1618881547761 sort: 1 nameEn: Brazil childs: null parentId: 0 revision: 1 extend: '' nameTw: 巴西 createBy: admin createTime: 1618881547761 updateBy: admin parentCode: '-1' countryCode: '+55' name: 巴西 id: 32 hasLeaf: null status: 1 - nationalCode: CA code: CA displayName: null updateTime: 1618881547768 sort: 1 nameEn: Canada childs: null parentId: 0 revision: 1 extend: '' nameTw: 加拿大 createBy: admin createTime: 1618881547768 updateBy: admin parentCode: '-1' countryCode: '+1' name: 加拿大 id: 39 hasLeaf: null status: 1 - nationalCode: CH code: CH displayName: null updateTime: 1618881547770 sort: 1 nameEn: Switzerland childs: null parentId: 0 revision: 1 extend: '' nameTw: 瑞士 createBy: admin createTime: 1618881547770 updateBy: admin parentCode: '-1' countryCode: '+41' name: 瑞士 id: 41 hasLeaf: null status: 1 - nationalCode: CL code: CL displayName: null updateTime: 1618881547771 sort: 1 nameEn: Chile childs: null parentId: 0 revision: 1 extend: '' nameTw: 智利 createBy: admin createTime: 1618881547771 updateBy: admin parentCode: '-1' countryCode: '+56' name: 智利 id: 42 hasLeaf: null status: 1 - nationalCode: CN code: CN displayName: null updateTime: 1660182621760 sort: 1 nameEn: Côte dIvoire childs: null parentId: 0 revision: 7 extend: ^[1]([3-9])[0-9]{9}$ nameTw: 中國 createBy: admin createTime: 1618881547772 updateBy: admin parentCode: '-1' countryCode: '+86' name: 中国 id: 43 hasLeaf: null status: 1 - nationalCode: CG code: CG displayName: null updateTime: 1618881547776 sort: 1 nameEn: Republic of the Congo childs: null parentId: 0 revision: 1 extend: '' nameTw: 刚果共和国 createBy: admin createTime: 1618881547776 updateBy: admin parentCode: '-1' countryCode: '+242' name: 刚果共和国 id: 47 hasLeaf: null status: 1 - nationalCode: CO code: CO displayName: null updateTime: 1618881547778 sort: 1 nameEn: Colombia childs: null parentId: 0 revision: 1 extend: '' nameTw: 哥伦比亚 createBy: admin createTime: 1618881547778 updateBy: admin parentCode: '-1' countryCode: '+57' name: 哥伦比亚 id: 49 hasLeaf: null status: 1 - nationalCode: CR code: CR displayName: null updateTime: 1618881547781 sort: 1 nameEn: Costa Rica childs: null parentId: 0 revision: 1 extend: '' nameTw: 哥斯达黎加 createBy: admin createTime: 1618881547781 updateBy: admin parentCode: '-1' countryCode: '+506' name: 哥斯达黎加 id: 52 hasLeaf: null status: 1 - nationalCode: CU code: CU displayName: null updateTime: 1618881547782 sort: 1 nameEn: Cuba childs: null parentId: 0 revision: 1 extend: '' nameTw: 古巴 createBy: admin createTime: 1618881547782 updateBy: admin parentCode: '-1' countryCode: '+53' name: 古巴 id: 53 hasLeaf: null status: 1 - nationalCode: IN code: IN displayName: null updateTime: 1618881547731 sort: 1 nameEn: India childs: null parentId: 0 revision: 1 extend: '' nameTw: 印度 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+91' name: 印度 id: 43710 hasLeaf: null status: 1 - nationalCode: JP code: JP displayName: null updateTime: 1618881547731 sort: 1 nameEn: Japan childs: null parentId: 0 revision: 1 extend: '' nameTw: 日本 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+81' name: 日本 id: 43711 hasLeaf: null status: 1 - nationalCode: SA code: SA displayName: null updateTime: 1618881547731 sort: 1 nameEn: Saudi Arabia childs: null parentId: 0 revision: 1 extend: '' nameTw: 沙特阿拉伯 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+966' name: 沙特阿拉伯 id: 43712 hasLeaf: null status: 1 - nationalCode: KR code: KR displayName: null updateTime: 1618881547731 sort: 1 nameEn: Korea childs: null parentId: 0 revision: 1 extend: '' nameTw: 韩国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+82' name: 韩国 id: 43713 hasLeaf: null status: 1 - nationalCode: KP code: KP displayName: null updateTime: 1618881547731 sort: 1 nameEn: North Korea childs: null parentId: 0 revision: 1 extend: '' nameTw: 朝鲜 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+850' name: 朝鲜 id: 43714 hasLeaf: null status: 1 - nationalCode: PH code: PH displayName: null updateTime: 1618881547731 sort: 1 nameEn: Philippines childs: null parentId: 0 revision: 1 extend: '' nameTw: 菲律宾 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+63' name: 菲律宾 id: 43715 hasLeaf: null status: 1 - nationalCode: SG code: SG displayName: null updateTime: 1618881547731 sort: 1 nameEn: Singapore childs: null parentId: 0 revision: 1 extend: '' nameTw: 新加坡 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+65' name: 新加坡 id: 43716 hasLeaf: null status: 1 - nationalCode: KZ code: KZ displayName: null updateTime: 1618881547731 sort: 1 nameEn: Kazakstan childs: null parentId: 0 revision: 1 extend: '' nameTw: 哈萨克斯坦 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+327' name: 哈萨克斯坦 id: 43717 hasLeaf: null status: 1 - nationalCode: ID code: ID displayName: null updateTime: 1618881547731 sort: 1 nameEn: Indonesia childs: null parentId: 0 revision: 1 extend: '' nameTw: 印度尼西亚 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+62' name: 印度尼西亚 id: 43718 hasLeaf: null status: 1 - nationalCode: IQ code: IQ displayName: null updateTime: 1618881547731 sort: 1 nameEn: Iraq childs: null parentId: 0 revision: 1 extend: '' nameTw: 伊拉克 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+964' name: 伊拉克 id: 43719 hasLeaf: null status: 1 - nationalCode: PK code: PK displayName: null updateTime: 1618881547731 sort: 1 nameEn: Pakistan childs: null parentId: 0 revision: 1 extend: '' nameTw: 巴基斯坦 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+92' name: 巴基斯坦 id: 43720 hasLeaf: null status: 1 - nationalCode: TR code: TR displayName: null updateTime: 1618881547731 sort: 1 nameEn: Turkey childs: null parentId: 0 revision: 1 extend: '' nameTw: 土耳其 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+90' name: 土耳其 id: 43721 hasLeaf: null status: 1 - nationalCode: RU code: RU displayName: null updateTime: 1618881547731 sort: 1 nameEn: Russia childs: null parentId: 0 revision: 1 extend: '' nameTw: 俄罗斯 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+7' name: 俄罗斯 id: 43722 hasLeaf: null status: 1 - nationalCode: GB code: GB displayName: null updateTime: 1618881547731 sort: 1 nameEn: United Kingdom childs: null parentId: 0 revision: 1 extend: '' nameTw: 英国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+44' name: 英国 id: 43723 hasLeaf: null status: 1 - nationalCode: FR code: FR displayName: null updateTime: 1618881547731 sort: 1 nameEn: France childs: null parentId: 0 revision: 1 extend: '' nameTw: 法国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+33' name: 法国 id: 43724 hasLeaf: null status: 1 - nationalCode: DE code: DE displayName: null updateTime: 1618881547731 sort: 1 nameEn: Germany childs: null parentId: 0 revision: 1 extend: '' nameTw: 德国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+49' name: 德国 id: 43725 hasLeaf: null status: 1 - nationalCode: IT code: IT displayName: null updateTime: 1618881547731 sort: 1 nameEn: Italy childs: null parentId: 0 revision: 1 extend: '' nameTw: 意大利 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+39' name: 意大利 id: 43726 hasLeaf: null status: 1 - nationalCode: 'NO' code: 'NO' displayName: null updateTime: 1618881547731 sort: 1 nameEn: Norway childs: null parentId: 0 revision: 1 extend: '' nameTw: 挪威 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+47' name: 挪威 id: 43727 hasLeaf: null status: 1 - nationalCode: IS code: IS displayName: null updateTime: 1618881547731 sort: 1 nameEn: Iceland childs: null parentId: 0 revision: 1 extend: '' nameTw: 冰岛 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+354' name: 冰岛 id: 43728 hasLeaf: null status: 1 - nationalCode: DK code: DK displayName: null updateTime: 1618881547731 sort: 1 nameEn: Denmark childs: null parentId: 0 revision: 1 extend: '' nameTw: 丹麦 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+45' name: 丹麦 id: 43729 hasLeaf: null status: 1 - nationalCode: UA code: UA displayName: null updateTime: 1618881547731 sort: 1 nameEn: Ukraine childs: null parentId: 0 revision: 1 extend: '' nameTw: 乌克兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+380' name: 乌克兰 id: 43730 hasLeaf: null status: 1 - nationalCode: PL code: PL displayName: null updateTime: 1618881547731 sort: 1 nameEn: Poland childs: null parentId: 0 revision: 1 extend: '' nameTw: 波兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+48' name: 波兰 id: 43731 hasLeaf: null status: 1 - nationalCode: NL code: NL displayName: null updateTime: 1618881547731 sort: 1 nameEn: Netherlands childs: null parentId: 0 revision: 1 extend: '' nameTw: 荷兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+31' name: 荷兰 id: 43732 hasLeaf: null status: 1 - nationalCode: GR code: GR displayName: null updateTime: 1618881547731 sort: 1 nameEn: Greece childs: null parentId: 0 revision: 1 extend: '' nameTw: 希腊 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+30' name: 希腊 id: 43733 hasLeaf: null status: 1 - nationalCode: ES code: ES displayName: null updateTime: 1618881547731 sort: 1 nameEn: Spain childs: null parentId: 0 revision: 1 extend: '' nameTw: 西班牙 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+34' name: 西班牙 id: 43734 hasLeaf: null status: 1 - nationalCode: PT code: PT displayName: null updateTime: 1618881547731 sort: 1 nameEn: Portugal childs: null parentId: 0 revision: 1 extend: '' nameTw: 葡萄牙 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+351' name: 葡萄牙 id: 43735 hasLeaf: null status: 1 - nationalCode: EG code: EG displayName: null updateTime: 1618881547731 sort: 1 nameEn: Egypt childs: null parentId: 0 revision: 1 extend: '' nameTw: 埃及 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+20' name: 埃及 id: 43736 hasLeaf: null status: 1 - nationalCode: ZA code: ZA displayName: null updateTime: 1618881547731 sort: 1 nameEn: South Africa childs: null parentId: 0 revision: 1 extend: '' nameTw: 南非 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+27' name: 南非 id: 43737 hasLeaf: null status: 1 - nationalCode: ET code: ET displayName: null updateTime: 1618881547731 sort: 1 nameEn: Ethiopia childs: null parentId: 0 revision: 1 extend: '' nameTw: 埃塞俄比亚 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+251' name: 埃塞俄比亚 id: 43738 hasLeaf: null status: 1 - nationalCode: ZW code: ZW displayName: null updateTime: 1618881547731 sort: 1 nameEn: Zimbabwe childs: null parentId: 0 revision: 1 extend: '' nameTw: 津巴布韦 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+263' name: 津巴布韦 id: 43739 hasLeaf: null status: 1 - nationalCode: MG code: MG displayName: null updateTime: 1618881547731 sort: 1 nameEn: Madagascar childs: null parentId: 0 revision: 1 extend: '' nameTw: 马达加斯加 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+261' name: 马达加斯加 id: 43740 hasLeaf: null status: 1 - nationalCode: NZ code: NZ displayName: null updateTime: 1618881547731 sort: 1 nameEn: New Zealand childs: null parentId: 0 revision: 1 extend: '' nameTw: 新西兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+64' name: 新西兰 id: 43741 hasLeaf: null status: 1 - nationalCode: PG code: PG displayName: null updateTime: 1618881547731 sort: 1 nameEn: Papua New Cuinea childs: null parentId: 0 revision: 1 extend: '' nameTw: 巴布亚新几内亚 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+675' name: 巴布亚新几内亚 id: 43742 hasLeaf: null status: 1 - nationalCode: US code: US displayName: null updateTime: 1618881547731 sort: 1 nameEn: United States of America childs: null parentId: 0 revision: 1 extend: '' nameTw: 美国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+1' name: 美国 id: 43743 hasLeaf: null status: 1 - nationalCode: MX code: MX displayName: null updateTime: 1618881547731 sort: 1 nameEn: Mexico childs: null parentId: 0 revision: 1 extend: '' nameTw: 墨西哥 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+52' name: 墨西哥 id: 43744 hasLeaf: null status: 1 - nationalCode: JM code: JM displayName: null updateTime: 1618881547731 sort: 1 nameEn: Jamaica childs: null parentId: 0 revision: 1 extend: '' nameTw: 牙买加 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+1876' name: 牙买加 id: 43745 hasLeaf: null status: 1 - nationalCode: PE code: PE displayName: null updateTime: 1618881547731 sort: 1 nameEn: Peru childs: null parentId: 0 revision: 1 extend: '' nameTw: 秘鲁 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+51' name: 秘鲁 id: 43746 hasLeaf: null status: 1 - nationalCode: TH code: TH displayName: null updateTime: 1618881547731 sort: 1 nameEn: Thailand childs: null parentId: 0 revision: 1 extend: '' nameTw: 泰国 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+66' name: 泰国 id: 43747 hasLeaf: null status: 1 - nationalCode: SE code: SE displayName: null updateTime: 1618881547731 sort: 1 nameEn: Sweden childs: null parentId: 0 revision: 1 extend: '' nameTw: 瑞典 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+46' name: 瑞典 id: 43748 hasLeaf: null status: 1 - nationalCode: NP code: NP displayName: null updateTime: 1618881547731 sort: 1 nameEn: Nepal childs: null parentId: 0 revision: 1 extend: '' nameTw: 尼泊尔 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+977' name: 尼泊尔 id: 43749 hasLeaf: null status: 1 - nationalCode: NG code: NG displayName: null updateTime: 1618881547731 sort: 1 nameEn: Nigeria childs: null parentId: 0 revision: 1 extend: '' nameTw: 尼日利亚 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+234' name: 尼日利亚 id: 43750 hasLeaf: null status: 1 - nationalCode: SK code: SK displayName: null updateTime: 1618881547731 sort: 1 nameEn: Slovakia childs: null parentId: 0 revision: 1 extend: '' nameTw: 斯洛伐克 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+421' name: 斯洛伐克 id: 43751 hasLeaf: null status: 1 - nationalCode: VN code: VN displayName: null updateTime: 1618881547731 sort: 1 nameEn: Vietnam childs: null parentId: 0 revision: 1 extend: '' nameTw: 越南 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+84' name: 越南 id: 43752 hasLeaf: null status: 1 - nationalCode: HK code: HK displayName: null updateTime: 1618881547731 sort: 1 nameEn: Hongkong childs: null parentId: 0 revision: 1 extend: '' nameTw: 中国香港 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+852' name: 中国香港 id: 43753 hasLeaf: null status: 1 - nationalCode: TW code: TW displayName: null updateTime: 1618881547731 sort: 1 nameEn: Taiwan childs: null parentId: 0 revision: 1 extend: '' nameTw: 中国台湾 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+886' name: 中国台湾 id: 43754 hasLeaf: null status: 1 - nationalCode: MO code: MO displayName: null updateTime: 1618881547731 sort: 1 nameEn: Macao childs: null parentId: 0 revision: 1 extend: '' nameTw: 中国澳门 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+853' name: 中国澳门 id: 43755 hasLeaf: null status: 1 - nationalCode: FI code: FI displayName: null updateTime: 1618881547731 sort: 1 nameEn: Finland childs: null parentId: 0 revision: 1 extend: '' nameTw: 芬兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+358' name: 芬兰 id: 43756 hasLeaf: null status: 1 - nationalCode: HU code: HU displayName: null updateTime: 1618881547731 sort: 1 nameEn: Hungary childs: null parentId: 0 revision: 1 extend: '' nameTw: 匈牙利 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+36' name: 匈牙利 id: 43757 hasLeaf: null status: 1 - nationalCode: IR code: IR displayName: null updateTime: 1618881547731 sort: 1 nameEn: Iran childs: null parentId: 0 revision: 1 extend: '' nameTw: 伊朗 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+98' name: 伊朗 id: 43758 hasLeaf: null status: 1 - nationalCode: IE code: IE displayName: null updateTime: 1618881547731 sort: 1 nameEn: Ireland childs: null parentId: 0 revision: 1 extend: '' nameTw: 爱尔兰 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+353' name: 爱尔兰 id: 43759 hasLeaf: null status: 1 - nationalCode: IL code: IL displayName: null updateTime: 1618881547731 sort: 1 nameEn: Israel childs: null parentId: 0 revision: 1 extend: '' nameTw: 以色列 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+972' name: 以色列 id: 43760 hasLeaf: null status: 1 - nationalCode: KH code: KH displayName: null updateTime: 1618881547731 sort: 1 nameEn: Kampuchea(Cambodia) childs: null parentId: 0 revision: 1 extend: '' nameTw: 柬埔寨 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+855' name: 柬埔寨 id: 43761 hasLeaf: null status: 1 - nationalCode: MY code: MY displayName: null updateTime: 1618881547731 sort: 1 nameEn: Malaysia childs: null parentId: 0 revision: 1 extend: '' nameTw: 马来西亚 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+60' name: 马来西亚 id: 43762 hasLeaf: null status: 1 - nationalCode: MC code: MC displayName: null updateTime: 1618881547731 sort: 1 nameEn: Monaco childs: null parentId: 0 revision: 1 extend: '' nameTw: 摩纳哥 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+377' name: 摩纳哥 id: 43763 hasLeaf: null status: 1 - nationalCode: MN code: MN displayName: null updateTime: 1618881547731 sort: 1 nameEn: Mongolia childs: null parentId: 0 revision: 1 extend: '' nameTw: 蒙古 createBy: admin createTime: 1618881547731 updateBy: admin parentCode: '-1' countryCode: '+976' name: 蒙古 id: 43764 hasLeaf: null status: 1 - nationalCode: other code: other displayName: null updateTime: 1639036328159 sort: 1 nameEn: other childs: null parentId: 0 revision: 0 extend: null nameTw: 其他 createBy: admin createTime: 1639036328159 updateBy: admin parentCode: '-1' countryCode: null name: 其他 id: 43765 hasLeaf: null status: 1 - nationalCode: Philippines code: Philippines displayName: null updateTime: 20220311035247 sort: 1 nameEn: Philippines childs: null parentId: 0 revision: 1 extend: '' nameTw: 菲律賓 createBy: admin createTime: 20220311035247 updateBy: admin parentCode: '-1' countryCode: '+63' name: 菲律賓 id: 43766 hasLeaf: null status: 1 - nationalCode: anda code: anda displayName: null updateTime: 1649819891979 sort: 1 nameEn: anda childs: null parentId: 0 revision: 0 extend: null nameTw: anda createBy: admin createTime: 1649819891979 updateBy: admin parentCode: '-1' countryCode: '+667' name: 安达一列 id: 43767 hasLeaf: null status: 1 - nationalCode: freedom code: '12345' displayName: null updateTime: 1657004156536 sort: 2 nameEn: freedom childs: null parentId: 0 revision: 0 extend: null nameTw: 自由王国 createBy: admin createTime: 1657004156536 updateBy: admin parentCode: '-1' countryCode: '38' name: 自由王国 id: 43768 hasLeaf: null status: 1 - nationalCode: test001 code: test001 displayName: null updateTime: 1660120913853 sort: 74 nameEn: test001 childs: null parentId: 0 revision: 0 extend: null nameTw: '222' createBy: admin createTime: 1660120913853 updateBy: admin parentCode: '-1' countryCode: '1' name: test001 id: 43769 hasLeaf: null status: 1 - nationalCode: test005 code: test005 displayName: null updateTime: 1660120928245 sort: 75 nameEn: test005 childs: null parentId: 0 revision: 0 extend: null nameTw: test005 createBy: admin createTime: 1660120928245 updateBy: admin parentCode: '-1' countryCode: '2' name: test005 id: 43770 hasLeaf: null status: 1 - nationalCode: test006 code: test006 displayName: null updateTime: 1660120946036 sort: 76 nameEn: test006 childs: null parentId: 0 revision: 0 extend: null nameTw: test006 createBy: admin createTime: 1660120946036 updateBy: admin parentCode: '-1' countryCode: '2' name: test006 id: 43771 hasLeaf: null status: 1 - nationalCode: test007 code: test007 displayName: null updateTime: 1660181680702 sort: 76 nameEn: '007' childs: null parentId: 0 revision: 2 extend: null nameTw: test007 createBy: admin createTime: 1660120967347 updateBy: admin parentCode: '-1' countryCode: '3' name: test007 id: 43772 hasLeaf: null status: 1 - nationalCode: test008 code: test008 displayName: null updateTime: 1660184213856 sort: 79 nameEn: test008 childs: null parentId: 0 revision: 1 extend: null nameTw: test008 createBy: admin createTime: 1660184179162 updateBy: admin parentCode: '-1' countryCode: 809,808,807 name: test008 id: 43773 hasLeaf: null status: 1 bizCode: '' tm: 7 msgParams: null ok: true headers: {} security: [] /config.admin.AdminAssetsDubboService.getTradeTypeList: post: summary: 获取公司客户组资产权限 deprecated: false description: bizType=config.admin.AdminAssetsDubboService.getTradeTypeList tags: - 基础数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: {} example: companyId: '360' responses: '200': description: '' content: application/json: schema: type: object properties: code: type: string description: 状态返回码 msg: type: string description: 状态描述 bizCode: type: string description: 模块标识码 tm: description: 处理时长(毫秒) type: number trace: type: string description: 跟踪码 msgParams: description: 返回描述中占位符参数串,多个参数间以,分割 type: string nullable: true data: type: array items: type: object properties: tradeType: type: integer description: 交易模式ID tradeTypeName: type: string description: 交易模式名称 customerGroupList: type: array items: type: object properties: customerGroupId: type: integer description: 客户组ID customerGroupName: type: string description: 客户组名称 assetsVoList: type: array items: *ref_0 description: 资产权限列表 required: - customerGroupId - customerGroupName - assetsVoList description: 客户组列表 required: - tradeTypeName - customerGroupList - tradeType description: 数据体 required: - code - msg - bizCode - tm - trace - msgParams - data example: msg: Success fail: false trace: t-l7cx-c6qmk4-k7k91h1-v753-1668758128 code: '0' data: - tradeType: 5 tradeTypeName: 现货 customerGroupList: - customerGroupId: 1 customerGroupName: 默认客户组 assetsVoList: - code: USDT displayName: null strId: '13' updateTime: 1661241474156 type: 1 revision: 51 fundId: 147 createBy: admin createTime: 1621394862993 updateBy: admin bizName: ASSETS name: USDT digits: 4 initState: null id: 13 status: 1 bizCode: '' tm: 194 msgParams: null ok: true headers: {} security: [] /config.admin.AdminSymbolDubboService.getSymbolTradeTypeByCompanyId: post: summary: 获取客户组玩法配置信息 deprecated: false description: >- bizType=config.admin.AdminSymbolDubboService.getSymbolTradeTypeByCompanyId tags: - 产品数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: companyId: type: string description: 公司Id title: 公司Id tradeType: type: string description: 交易模式ID title: 交易模式ID customerGroupId: type: string description: 客户组ID title: 客户组ID required: - companyId - tradeType - customerGroupId example: companyId: '{{company}}' tradeType: 1 customerGroupId: 50 responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: type: object properties: symbolId: type: integer title: 产品ID description: 产品ID symbolCode: type: string title: 产品代码 description: 产品代码 symbolName: type: string title: 产品名称 description: 产品名称 customerGroupId: type: string title: 客户组ID description: 客户组ID tradeType: type: string title: 交易模式ID description: 交易模式ID tradeTypeName: type: string title: 交易模式名称 description: 交易模式名称 required: - symbolId - tradeType - customerGroupId - symbolName - symbolCode - tradeTypeName title: 数据体 description: 数据体 title: '' required: - bizCode - code - tm example: msg: Success fail: false trace: t-3c2bj-9t7sp-kds4-y4snw4-1668760117 code: '0' data: - customerGroupId: '3' symbolCode: BINAN_ATOM_USDT symbolId: 695 tradeTypeName: 合约全仓 symbolName: BINAN_ATOM_USDT tradeType: 1 bizCode: '' tm: 225 msgParams: null ok: true headers: {} security: [] /config.admin.AdminSymbolDubboService.getSymbolList: post: summary: 获取客户组产品列表 deprecated: false description: bizType=config.admin.AdminSymbolDubboService.getSymbolList tags: - 产品数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: name: type: string description: 产品名称,进行搜索, 不传查客户组下所有产品 customerGroupId: type: number description: 客户组ID required: - customerGroupId example: customerGroupId: 1 name: EURUSD responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array description: 数据体 items: type: object properties: id: type: integer format: int64 description: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 name: type: string description: 交易产品名称 code: type: string description: 交易产品代码 baseCurrency: type: string description: 基础货币 profitCurrency: type: string description: 盈利货币 sourceId: type: string description: 行情源 tradeTypes: type: string description: 支持玩法数组 ok: type: boolean fail: type: boolean example: msg: Success fail: false trace: t-125g-l4emdt9-z68t54-25x09p-1668758881 code: '0' data: - sourceId: CA_BINANCE_SPOT_ATOM_USDT code: BINAN_ATOM_USDT etf: false tradeTypes: 1,5 name: BINAN_ATOM_USDT profitCurrency: USDT id: 695 baseCurrency: ATOM status: 1 bizCode: '' tm: 74 msgParams: null ok: true headers: {} security: [] /config.admin.AdminSymbolDubboService.getSymbolGroupList: post: summary: 获取产品组列表 deprecated: false description: bizType=config.admin.AdminSymbolDubboService.getSymbolGroupList tags: - 产品数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: {} example: {} responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: $ref: '#/components/schemas/SymbolGroup' title: 数据体 description: 数据体 required: - bizCode - code - tm example: msg: Success fail: false trace: t-u3lnq71-fq8qog-6rp1335-j4i54-1668759046 code: '0' data: - companyId: 360 createBy: admin createTime: 1639809358108 updateBy: admin bizName: SYMBOL_GROUP strId: '109' name: bethy updateTime: 1639809358108 id: 109 status: 1 revision: 0 bizCode: '' tm: 8 msgParams: null ok: true headers: {} security: [] /config.admin.AdminSymbolDubboService.getSymbolByCompanyId: post: summary: 获取产品基础信息列表 deprecated: false description: |- version=0.0.1 bizType=config.admin.AdminSymbolDubboService.getSymbolByCompanyId tags: - 产品数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: companyId: type: string description: 公司Id tradeType: type: integer description: 玩法类型 trace: type: string description: 跟踪码。最好有,方便定位问题 required: - companyId example: companyId: '{{company}}' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array description: 数据体 items: type: object properties: tradeType: type: integer format: int64 description: 玩法 symbolId: type: integer format: int64 description: 产品ID symbolCode: type: string description: 产品代码 symbolName: type: string description: 产品名称 baseCurrency: type: string description: 基础货币 profitCurrency: type: string description: 盈利货币 customerGroupIds: type: string description: 客户组权限 symbolGroupIds: type: string description: 产品组关系 symbolDigits: type: integer format: int32 description: 小数位 askSpread: type: string description: askSpread bidSpread: type: string description: bidSpread pointRatio: type: integer format: int32 description: 大点比率 dealMode: type: integer format: int32 description: 成交模式 etf: type: boolean description: 是否是ETF fundId: type: integer format: int64 description: 关联基金ID labels: type: string description: 标签 sortNum: type: integer format: int32 description: 排序字段 enableShortLoan: type: integer format: int32 description: 是否可融券 enableLongLoan: type: integer format: int32 description: 是否可融资 dividend: type: integer format: int32 description: 是否可交易 inHolidayTime: type: integer description: 是否假期中,0:不在假期中,1:在假期中 inTradeTime: type: integer description: 是否交易时间中,0:不在交易时间,1:在交易时间 holidayTimeList: type: array items: $ref: '#/components/schemas/HolidayTime' description: 假期时间 tradeTimeList: type: array items: $ref: '#/components/schemas/TradeTime' description: 交易时间 required: - inHolidayTime - inTradeTime - holidayTimeList - tradeTimeList ok: type: boolean fail: type: boolean example: msg: Success fail: false trace: t-7ui24-xb7pok5-3g6l3-730jh83-1668759433 code: '0' data: - symbolId: 2 pointRatio: 0 customerGroupIds: 2,3,4,6,7,8,9,10,13,15,19,21,23,27,35,42,66,1011,1361 dealMode: 1 baseCurrency: null bidSpread: '0' labels: null enableShortLoan: 0 symbolGroupIds: '118' symbolCode: USDCHF fundId: null etf: false enableLongLoan: 0 dividend: 0 profitCurrency: null symbolName: 美元瑞郎 sortNum: 0 symbolDigits: null askSpread: '0' tradeType: 3 bizCode: '' tm: 52 msgParams: null ok: true headers: {} security: [] /config.admin.AdminSymbolDubboService.getFundByCompanyId: post: summary: 获取基金信息列表 deprecated: false description: bizType=config.admin.AdminSymbolDubboService.getFundByCompanyId tags: - 产品数据相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string requestBody: content: application/json: schema: type: object properties: companyId: type: string description: 公司Id trace: type: string description: 跟踪码。最好有,方便定位问题 required: - companyId example: companyId: '{{company}}' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: type: object properties: fundId: type: integer title: 基金ID description: 基金ID shareTokenCode: type: string title: 交易基金代码 description: 交易基金代码 fundName: type: string title: 交易基金名称 description: 交易基金名称 customerGroupIds: type: string title: 客户组权限 description: 客户组权限 required: - fundId - shareTokenCode - fundName - customerGroupIds title: 数据体 description: 数据体 required: - bizCode - code - tm example: msg: Success fail: false trace: t-zn775-2j7se85-p9cc55x1-f172vc-1668764481 code: '0' data: - shareTokenCode: V10 fundId: 80 customerGroupIds: >- 1,2,11,12,16,29,40,41,44,45,47,48,54,55,61,63,64,66,67,70,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: V10 Index Fund111 - shareTokenCode: ARX4 fundId: 88 customerGroupIds: >- 1,11,12,16,29,40,41,44,45,47,48,54,55,61,63,64,66,67,70,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: ARX4 FUND - shareTokenCode: ARX10 fundId: 97 customerGroupIds: 11,12,16,29,47,51,66,2258,2266 fundName: ARX10-1 - shareTokenCode: qa002 fundId: 137 customerGroupIds: >- 1,11,12,16,29,54,55,61,63,64,66,67,70,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: QA002-new - shareTokenCode: QA003 fundId: 168 customerGroupIds: 2,12,16,29,61,66,2258,2266 fundName: QA003-FUND - shareTokenCode: QA004 fundId: 170 customerGroupIds: >- 1,2,12,16,29,61,63,64,66,67,70,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: QA004 FUND - shareTokenCode: M10 fundId: 254 customerGroupIds: >- 1,94,1005,1006,1007,1008,1359,1360,1718,1812,2157,2258,2266,2286,3057 fundName: M10-111 - shareTokenCode: GBP fundId: 256 customerGroupIds: 1,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: 5.19基金 - shareTokenCode: AUD fundId: 262 customerGroupIds: 1,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: 5.19-1基金 - shareTokenCode: qa001 fundId: 270 customerGroupIds: 1,2,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: QA001 - shareTokenCode: V20 fundId: 271 customerGroupIds: 1,1005,1006,1008,1359,1360,1812,2157,2258,2266,2286,3057 fundName: V20 bizCode: '' tm: 15 msgParams: null ok: true headers: {} security: [] /fund.admin.CustomerAdjustProposalAdminDubboService.addCustomerAdjustProposal: post: summary: 赠金发放/回扣 deprecated: false description: >- bizType=fund.admin.CustomerAdjustProposalAdminDubboService.addCustomerAdjustProposal tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 accountId: description: 账户id type: integer accountCurrency: type: string description: 发送赠金的币种 tradeType: description: 玩法类型:1是合约全仓 type: integer businessType: description: 固定值4 type: integer amount: description: 发放赠金数量,正数是发放赠金,负数是回扣赠金 type: number withdraw: type: boolean description: 固定true remark: description: 选填 type: string required: - customerNo - accountCurrency - tradeType - businessType - amount - withdraw example: "{\r\n \"customerNo\": \"{{customerNo}}\",\r\n \"accountId\": {{accountId}},\r\n \"accountCurrency\": \"USDT\",\r\n \"tradeType\": 1,\r\n \"businessType\": 4,\r\n \"amount\": 5,\r\n \"withdraw\": true,\r\n \"remark\": \"test\"\r\n}" responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: string title: 提案编号 description: 额度调整提案编号 title: '' required: - bizCode - code - tm example: msg: Success fail: false trace: t-7vgm5-bu0337-blbkp-024w3k84-1660120108 code: '0' data: true bizCode: '' tm: 189 msgParams: null ok: true class: com.cats.common.core.base.vo.BaseResult headers: {} security: [] /fund.admin.CustomerActivityBonusAdminDubboService.operationBonus: post: summary: 现货发放/扣回赠金 deprecated: false description: |- version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.operationBonus **accountId 变成非必填 tags: - 资金服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: 鉴权token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: customerNo: type: string description: 客户编号 tradeType: type: integer description: 玩法类型;目前只支持现货玩法 accountId: type: string description: 帐户ID companyId: type: string description: 公司id activityId: type: string description: 活动记录ID currencyBonus: type: string description: 赠金币种 bonus: type: number description: 赠金金额 activityCustomerNo: type: string description: 活动帐户 type: type: integer description: 类型,1.发放,2.扣回 required: - customerNo - companyId - activityId - activityCustomerNo - bonus - currencyBonus - type - tradeType example: customerNo: '{{customer}}' companyId: '{{company}}' activityId: '87' activityCustomerNo: '' bonus: 58 currencyBonus: '' type: 52 tradeType: 5 accountId: '40' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: object properties: result: type: boolean title: 处理结果 description: 处理结果 actionAmount: type: string title: 实际扣款的金额 description: 实际扣款的金额 title: 数据体 description: 数据体 required: - result - actionAmount required: - bizCode - code - tm headers: {} security: [] /fund.admin.CustomerFundAdminDubboService.getExchangeRate: post: summary: 批量获取充值提现汇率 deprecated: false description: |- version=0.0.1 bizType=fund.admin.CustomerFundAdminDubboService.getExchangeRate tags: - 资金服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: companyId: type: string description: 公司ID currencyMap: type: object properties: BTC: type: string BNB: type: string description: key:来源货币 value:兑换货币 required: - BTC - BNB type: type: integer description: 类型:1.充值 2.提现 required: - currencyMap example: companyId: '{{company}}' type: 1 currencyMap: BTC: USDT BNB: USDT responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: $ref: '#/components/schemas/ExchangeRateConvertDto' title: 数据体 description: 数据体 required: - bizCode - code - tm example: msg: Success fail: false trace: t-7e3s5yi-y18svvj-68bj9lv1-5z5i-1668770226 code: '0' data: - targetCurrency: USDT rate: 16755.38 formulaSymbol: multiply targetDigits: 4 sourceCurrency: BTC class: com.cats.fund.api.dto.ExchangeRateConvertDto sourceDigits: 8 bizCode: '' tm: 69 msgParams: null ok: true class: com.cats.common.core.base.vo.BaseResult headers: {} security: [] /fund.admin.CustomerActivityBonusAdminDubboService.lockTradeAccount: post: summary: 锁定划转 deprecated: false description: >- bizType=fund.admin.CustomerActivityBonusAdminDubboService.lockTradeAccount tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer companyId: type: integer description: 公司id type: description: 类型:1=转入,2=转出,3=转入转出 type: integer lockTime: type: integer description: 锁定时长,单位秒,不传则使用平台默认值 lockEndTime: type: integer description: 锁定截至时间-时间戳,不传则使用平台默认值:优先使用lockEndTime required: - customerNo - tradeType - companyId - type example: customerNo: proident tradeType: 78 companyId: '{{company}}' type: 24 responses: '200': description: '' content: application/json: schema: &ref_1 $ref: '#/components/schemas/BaseResult' example: msg: Success fail: false trace: t-9jrx4-7xr6-kv3q630-b8ifcvi3-1660127587 code: '0' data: null bizCode: '' tm: 4 msgParams: null ok: true class: com.cats.common.core.base.vo.BaseResult headers: {} security: [] /fund.admin.CustomerActivityBonusAdminDubboService.unlockTradeAccount: post: summary: 解锁划转 deprecated: false description: >- bizType=fund.admin.CustomerActivityBonusAdminDubboService.unlockTradeAccount tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer companyId: description: 公司id type: integer type: description: 类型:1=转入,2=转出,3=转入转出 type: integer required: - customerNo - tradeType - companyId - type example: |- { "customerNo": "{{customerNo}}", "tradeType": 1, "companyId": {{company}}, "type": 3 } responses: '200': description: '' content: application/json: schema: *ref_1 example: msg: Success fail: false trace: t-1vt1006-5sr1g55n-q3pl3-e9jg38ji-1660127628 code: '0' data: null bizCode: '' tm: 4 msgParams: null ok: true class: com.cats.common.core.base.vo.BaseResult headers: {} security: [] /fund.admin.CustomerActivityBonusAdminDubboService.queryOneLockTradeAccount: post: summary: 锁定状态单个查询 deprecated: false description: >- bizType=fund.admin.CustomerActivityBonusAdminDubboService.queryOneLockTradeAccount tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer companyId: description: 公司id type: integer type: description: 类型:1=转入,2=转出,3=转入转出 type: integer required: - customerNo - tradeType - companyId - type example: |- { "customerNo": "{{customerNo}}", "tradeType": 1, "companyId": {{company}}, "type": 3 } responses: '200': description: '' content: application/json: schema: *ref_1 headers: {} security: [] /fund.admin.CustomerAdjustProposalAdminDubboService.getCustomerAdjustProposalById: post: summary: 根据提案编号查询额度调整详情 deprecated: false description: '' tags: - 资金服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: proposalNo: type: string description: 额度调整提案编号 companyId: type: string description: 公司id required: - proposalNo - companyId example: customerNo: '86000020' tradeType: 5 companyId: '{{company}}' type: 1 responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: title: 数据体 description: 数据体 $ref: '#/components/schemas/CustomerAdjustProposalDto' required: - bizCode - code - tm headers: {} security: [] /fund.admin.CustomerActivityBonusAdminDubboService.queryTradeTypeLockTradeAccount: post: summary: 锁定状态查询 deprecated: false description: >- bizType=fund.admin.CustomerActivityBonusAdminDubboService.queryTradeTypeLockTradeAccount tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer companyId: description: 公司id type: integer required: - customerNo - tradeType - companyId example: |- { "customerNo": "{{customerNo}}", "tradeType": 1, "companyId": {{company}} } responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: type: object properties: lockStatus: type: boolean title: 锁定状态 description: 锁定状态 type: type: string title: 类型:1=转入,2=转出,3=转入转出 description: 类型:1=转入,2=转出,3=转入转出 required: - lockStatus - type title: 数据体 description: 数据体 required: - bizCode - code - tm example: "lockStatus:是否被锁定,true被锁定\r\n{\r\n \"msg\": \"Success\",\r\n \"fail\": false,\r\n \"trace\": \"t-c88b6-no22of4-2je3o88-t6o3s5-1660556892\",\r\n \"code\": \"0\",\r\n \"data\": [\r\n {\r\n \"lockStatus\": false,\r\n \"type\": 1,\r\n \"class\": \"com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto\"\r\n },\r\n {\r\n \"lockStatus\": false,\r\n \"type\": 2,\r\n \"class\": \"com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto\"\r\n },\r\n {\r\n \"lockStatus\": true,\r\n \"type\": 3,\r\n \"class\": \"com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto\"\r\n }\r\n ],\r\n \"bizCode\": \"\",\r\n \"tm\": 54,\r\n \"msgParams\": null,\r\n \"ok\": true,\r\n \"class\": \"com.cats.common.core.base.vo.BaseResult\"\r\n}" headers: {} security: [] /customer.app.CustomerWebApiService.checkCustomerExist: post: summary: 检测客户信息是否存在 deprecated: false description: |- version=0.0.1 bizType=customer.app.CustomerWebApiService.checkCustomerExist tags: - 客户服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: type: type: integer description: 注册登录方式:1邮箱,2手机号码,3客户账号 loginName: type: string description: 账号:邮箱/手机号码 phoneArea: type: string description: 手机区号,区号默认为+86 emailArea: type: string description: 邮箱区号,区号默认为+86 required: - type - loginName example: type: 2 loginName: '{{mock_phone}}' protocol: 'true' emailArea: '+86' phoneArea: '+86' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: integer title: 1已存在,2不存在 description: 1已存在,2不存在 required: - bizCode - code - tm headers: {} security: [] /customer.admin.WhiteCustomerAdminApiService.addCusAndOpenAccountAndKyc: post: summary: 客户注册 deprecated: false description: |- ``` 公司默认客户组资产列表示例:*通过前端H5/PCUI数据提供* "tradeTypeCurrencyList": [ { "allCurrency": "USDT", "tradeType": "1", "isWallet": "", "alias": "", "id": "1", "name": "合约全仓" }, { "allCurrency": "USDT", "tradeType": "2", "isWallet": "", "alias": "", "id": "2", "name": "合约逐仓" }, { "allCurrency": "USDT,USD,BTC,SAND,LINK,AAVE,DOGE,BCH,ETH,BNB,SOL,AVAX,SHIB,UNI,DOT,XRP,ADA,FIL,V10", "tradeType": "3", "isWallet": "", "alias": "", "id": "3", "name": "杠杆" }, { "allCurrency": "USDT,BTC,LINK,ETH,SAND,USD,REEF,ADA,AAVE,DOT,ARX4,BNB,DOGE,ARX10,V10,qa001,qa002,M10,XRP,SHIB,EOS,XEC,FIL,FFT,NFT,QA003,QA004,QA005,QA006,QA007,QA008", "tradeType": "5", "isWallet": "", "alias": "", "id": "5", "name": "现货" } ] ``` ``` 邮箱注册示例:*登录密码(pwd)MD5加密* { "email": "16612339304927@qq.com", "emailArea": "+86", "pwd": "dc483e80a7a0bd9ef71d8cf973673924", "country": "CN", "customerGroupId": 1, "registerSource": 1, "tradeTypeCurrencyList": [...] } ``` ``` 手机注册示例:*登录密码(pwd)MD5加密* { "phone": "15167651757", "country": "CN", "customerGroupId": 1, "registerSource": 1, "tradeTypeCurrencyList": [...], "phoneArea": "+86", "pwd": "dc483e80a7a0bd9ef71d8cf973673924" } ``` tags: - 客户服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: token in: header description: 鉴权码 required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string requestBody: content: application/json: schema: type: object properties: phone: type: string description: 账号:手机号码 email: type: string description: 账号:邮箱 phoneArea: type: string description: 手机区号,区号默认为+86 emailArea: type: string description: 邮箱区号,区号默认为+86 pwd: type: string description: 登录密码,MD5加密、a123456 country: type: string description: 国家:CN=中国 registerSource: type: integer description: >- 注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台平仓:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他 customerGroupId: type: number description: 客户组ID:1=默认客户组; customerFroupId与tradeTypeCurrencyList相互对应 remark: type: string description: 备注 registerDevice: type: string description: 注册的设备型号 utmSource: type: string description: 广告来源(开户链接参数source) utmMedium: type: string description: 广告媒介(开户链接参数medium) utmCampaign: type: string description: 广告系列(开户链接参数campaign) utmContent: type: string description: 广告组(开户链接参数content) utmTerm: type: string description: 关键词(开户链接参数term) tradeTypeCurrencyList: type: array items: type: object properties: allCurrency: type: string description: 资产币种,多个资产以,拼接 tradeType: type: string description: 玩法类型 required: - allCurrency - tradeType description: 玩法币种集合 required: - phone - country - customerGroupId - registerSource - tradeTypeCurrencyList - pwd example: email: test439@chixi88.com emailArea: '+86' pwd: dc483e80a7a0bd9ef71d8cf973673924 country: CN customerGroupId: 1 registerSource: 1 tradeTypeCurrencyList: - allCurrency: USDT tradeType: '1' responses: '200': description: '' content: application/json: schema: type: object properties: code: type: string description: 系统通用返回码。0-成功,其他异常 msg: type: string description: 返回信息 bizCode: type: string description: 模块标识码 tm: description: 处理时长(毫秒) type: number trace: type: string description: 全局链路标志信息 msgParams: description: 返回描述中占位符参数串,多个参数间以,分割 type: string nullable: true data: type: string description: 返回结果,客户编号 required: - code - msg - bizCode - tm - trace - msgParams - data example: msg: Success fail: false trace: t-h2jv9x-4to64-9mp4wd7-793nv-1661227305 code: '0' data: '86021976' bizCode: '' tm: 236026513 msgParams: null ok: true headers: {} security: [] /customer.admin.WhiteCustomerAdminApiService.page: post: summary: 客户基础信息 deprecated: false description: |- version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.page tags: - 客户服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: token in: header description: 鉴权码 required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string requestBody: content: application/json: schema: type: object properties: customerNo: type: string description: 客户编号 size: type: number description: 每页显示多少行,默认20 current: type: number description: 当前页,默认1 required: - customerNo example: customerNo: '86002678' size: 20 current: 1 responses: '200': description: '' content: application/json: schema: type: object properties: agentCustomerNo: type: string description: 代理编号 refType: null companyId: type: integer format: int64 description: 公司 refType: null createTime: type: integer format: int64 description: 创建时间/申请时间 refType: null customerGroupId: type: integer format: int64 description: 客户组Id refType: null customerGroupName: type: string description: 客户组名称 refType: null customerNo: type: string description: 客户账号 refType: null customerType: type: integer format: int32 description: 客户类型0默认1代理2授信3活动结算 refType: null email: type: string description: 邮箱 refType: null firstAccountActivateTime: type: integer format: int64 description: 交易账号首次激活时间 refType: null firstName: type: string description: 名 refType: null id: type: integer format: int64 description: id refType: null idCard: type: string description: 证件号码 refType: null idCardType: type: string description: 证件类型 refType: null lastName: type: string description: 姓 refType: null loginTime: type: integer format: int64 description: 登录时间 refType: null name: type: string description: 姓名 refType: null openAccountType: type: integer format: int32 description: '开户类型:0.个人 1.企业 ' refType: null phone: type: string description: 手机 refType: null phoneArea: type: string description: 手机区号 refType: null registerSource: type: integer format: int32 description: 注册来源 refType: null remark: type: string description: 备注 refType: null status: type: integer format: int32 description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中 refType: null tgUserId: type: string description: tgUserId refType: null tgUserName: type: string description: tgUserName refType: null thirdAccountNo: type: string description: 三方账户 refType: null thirdLoginSource: type: string description: thirdLoginSource refType: null thirdUserId: type: string description: thirdUserId refType: null unitId: type: integer format: int64 description: 机构id refType: null unitName: type: string description: 机构名称 refType: null updateTime: type: integer format: int64 description: 更新时间 refType: null title: WhiteCustomerAdminPageVO example: bizCode: '' code: '' data: current: 0 records: - agentCustomerNo: '' companyId: 0 createTime: 0 customerGroupId: 0 customerGroupName: '' customerNo: '' customerType: 0 email: '' firstAccountActivateTime: 0 firstName: '' id: 0 idCard: '' idCardType: '' lastName: '' loginTime: 0 name: '' openAccountType: 0 phone: '' phoneArea: '' registerSource: 0 remark: '' status: 0 tgUserId: '' tgUserName: '' thirdAccountNo: '' thirdLoginSource: '' thirdUserId: '' unitId: 0 unitName: '' updateTime: 0 size: 0 total: 0 fail: true msg: '' msgParams: '' ok: true tm: 0 trace: '' headers: {} security: [] /customer.admin.WhiteCustomerAdminApiService.detail: post: summary: 客户详情 deprecated: false description: |- version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.detail tags: - 客户服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: token in: header description: 鉴权码 required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string requestBody: content: application/json: schema: type: object properties: type: type: string description: >- 类型信息,baseInfo=基础信息,tradeAccount=交易账户,kyc=kyc信息,allKyc=详情页面kyc信息,bankList=银行卡列表,walletList=钱包地址,otherInfo=其他 id: type: string description: 客户id customerNo: type: string description: 客户编号 required: - type - id - customerNo example: type: tradeAccount id: '{{customerId}}' customerNo: '{{customer}}' responses: '200': description: '' content: application/json: schema: type: object properties: accountList: type: object description: 交易账户列表 refType: null properties: {} accountRemark: type: string description: 客户是否有交易账户备注 refType: null activateStatus: type: integer format: int32 description: 激活状态 refType: null activateTime: type: integer format: int64 description: 激活时间 refType: null address: type: string description: 通讯地址 refType: null apiCheckRule: type: string description: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。 refType: null apiCheckSwitch: type: boolean description: API 校验开关 refType: null assertPassStatus: type: string description: 设置资金密码提醒标志,1需要设置密码,2不需要 refType: null associationCompanyId: type: integer format: int64 description: 关联公司Id refType: null companyId: type: integer format: int64 description: 公司 refType: null companyKycStatus: type: integer format: int32 description: 公司KYC开户状态,1开启2未开启 refType: null companyType: type: string description: 公司类型 refType: null country: type: string description: 国家 refType: null createTime: type: integer format: int64 description: 创建时间 refType: null customerAgentMark: type: string description: 客户代理标示 refType: null customerGroupId: type: integer format: int64 description: 客户组 refType: null customerNo: type: string description: 客户账号 refType: null customerType: type: integer format: int32 description: 客户类型0默认1代理2授信3活动结算 refType: null deposit: type: integer format: int32 description: 可存款,1可存款 refType: null earlyWarningLevel: type: object description: 预警水平 refType: null properties: {} email: type: string description: 邮箱 refType: null firstName: type: string description: 名 refType: null forceLevel: type: object description: 强平水平 refType: null properties: {} googleId: type: integer format: int64 description: 是否开启MFA,大于0,开启,其余未开启 refType: null id: type: integer format: int64 description: 客户id refType: null idCard: type: string description: 证件号码 refType: null idCardType: type: string description: 证件类型 refType: null isFund: type: integer format: int32 description: 是否为基金经理,1是,默认0否 refType: null kycAuditRemark: type: string description: 注册KYC审核备注,审核拒绝不为空 refType: null kycAuditStatus: type: integer format: int32 description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过 refType: null kycRemark: type: string description: KYC状态名称 refType: null kycStatus: type: integer format: int32 description: KYC状态 refType: null lastName: type: string description: 姓 refType: null loginPassStatus: type: string description: 设置密码提醒标志,1需要设置密码,2不需要 refType: null loginTime: type: integer format: int64 description: 登陆时间 refType: null name: type: string description: 姓名 refType: null openAccountType: type: integer format: int32 description: '开户类型:0.个人 1.企业 ' refType: null optional: type: integer format: int32 description: 自选标志0未添加1已添加 refType: null payPassStatus: type: string description: 支付密码是否存在状态,1不存在,2存在 refType: null phone: type: string description: 手机 refType: null phoneArea: type: string description: 手机区号 refType: null postalCode: type: string description: 邮政编码 refType: null registerSource: type: integer format: int32 description: 注册来源 refType: null registerTime: type: integer format: int64 description: 注册时间 refType: null relationCustomerId: type: integer format: int64 description: 关联账户id refType: null source: type: string description: 来源 refType: null status: type: integer format: int32 description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中 refType: null thirdIntactMsg: type: string description: 第三方登录完整数据 refType: null thirdLoginSource: type: string description: 第三方登录源 google,facebook,twitter refType: null thirdServerCode: type: string description: 第三方系统唯一编号 refType: null thirdUserId: type: string description: 第三方userId refType: null type: type: integer format: int32 description: 组类型 <0真实,1模拟,2游客> refType: null unitId: type: integer format: int64 description: 机构ID refType: null unitName: type: string description: 机构名称 refType: null utmSource: type: string description: 广告来源 refType: null withdraw: type: integer format: int32 description: 可取款,1可取款 refType: null withdrawLevel: type: object description: 取款水平 refType: null properties: {} title: CustomerAllInfoVO example: bizCode: '' code: '' data: accountList: {} accountRemark: '' activateStatus: 0 activateTime: 0 address: '' apiCheckRule: '' apiCheckSwitch: true assertPassStatus: '' associationCompanyId: 0 companyId: 0 companyKycStatus: 0 companyType: '' country: '' createTime: 0 customerAgentMark: '' customerGroupId: 0 customerNo: '' customerType: 0 deposit: 0 earlyWarningLevel: {} email: '' firstName: '' forceLevel: {} googleId: 0 id: 0 idCard: '' idCardType: '' isFund: 0 kycAuditRemark: '' kycAuditStatus: 0 kycRemark: '' kycStatus: 0 lastName: '' loginPassStatus: '' loginTime: 0 name: '' openAccountType: 0 optional: 0 payPassStatus: '' phone: '' phoneArea: '' postalCode: '' registerSource: 0 registerTime: 0 relationCustomerId: 0 source: '' status: 0 thirdIntactMsg: '' thirdLoginSource: '' thirdServerCode: '' thirdUserId: '' type: 0 unitId: 0 unitName: '' utmSource: '' withdraw: 0 withdrawLevel: {} fail: true msg: '' msgParams: '' ok: true tm: 0 trace: '' headers: {} security: [] /customer.admin.CustomerAdminApiService.queryAccountList: post: summary: 查询客户余额 deprecated: false description: bizType=customer.admin.CustomerAdminApiService.queryAccountList tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer required: - customerNo - tradeType example: customerNo: '{{customerNo}}' tradeType: 1 responses: '200': description: '' content: application/json: schema: type: object properties: {} example: |- 余额用balance字段 { "msg": "Success", "fail": false, "trace": "t-23uee2-go44-se70u4w7-jyx6bvb-1660187117", "code": "0", "data": [ { "netAssets": "47.319290", "available": "47.319290", "remark": null, "type": 1, "equity": "47.319290", "firstDepositTime": 1646123635909, "lockMargin": "0.000000", "balance": "47.319290", "interest": "0.000000", "customerId": 189, "liabilities": "0.000000", "currency": "USDT", "activateStatus": 2, "withdrawAmount": "0.000000", "profit": "0", "tradeType": 1, "wholeWarehouseBalance": null, "freeMargin": "0", "margin": "0", "firstWithdrawTime": null, "activateTime": 1646123635934, "frozen": "0.000000", "wholeWarehouseRate": null, "accountId": 1003496, "openAccountStatus": true, "companyId": 1, "liabilitiesPrincipal": "0.000000", "interestProportion": null, "createTime": 1646123590664, "lockAmount": "0.000000", "marginRadio": null, "notWithdrawAmount": "10000000.000000", "availableLoan": null, "digits": 6, "customerNo": "86000188", "status": 2, "assetsId": 1 } ], "bizCode": "C", "tm": 18737968, "msgParams": null, "ok": true } headers: {} security: [] /customer.admin.CustomerGroupAdminApiService.groupList: post: summary: 查询客户组列表 deprecated: false description: |- version=0.0.1 bizType=customer.admin.CustomerGroupAdminApiService.groupList B端鉴权之后可访问 tags: - 客户服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: {} example: tradeType: 5 customerNo: '86000020' responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: $ref: '#/components/schemas/CustomerGroupBizVO' description: 数据体 ok: type: boolean fail: type: boolean headers: {} security: [] /message.admin.VerificationAdminService.queryCodeSendStatus: post: summary: 查询验证码状态 deprecated: false description: '' tags: - 消息服务相关 parameters: - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: companyId in: header description: '' required: true example: '{{company}}' schema: type: string requestBody: content: application/json: schema: type: object properties: bizType: type: string title: 业务类型 description: >- EMAIL_COMMON_VERIFICATION_CODE-邮件通用验证码; EMAIL_LOGIN_VERIFICATION_CODE-邮件登录验证码; EMAIL_REGISTER_VERIFICATION_CODE-邮件注册验证码 EMAIL_PASSWORD_VERIFICATION_CODE-邮件忘记密码验证码 SMS_COMMON_VERIFICATION_CODE-短信通用验证码; SMS_LOGIN_VERIFICATION_CODE-短信登录验证码; SMS_REGISTER_VERIFICATION_CODE-短信注册验证码 SMS_PASSWORD_VERIFICATION_CODE-短信忘记密码验证码 toUser: type: string title: 接收人 code: type: string title: 验证码 sendToken: type: string title: 发送票据 description: C端发送验证码接口返回token required: - bizType - toUser - code - sendToken responses: '200': description: '' content: application/json: schema: type: object properties: code: type: string title: 系统通用返回码 description: 0-成功,其他异常 msg: type: string title: 返回信息 description: 返回信息 bizCode: type: string title: 模块标识码 description: 模块标识码 tm: type: integer title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 全局链路标志信息 description: 全局链路标志信息 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: object properties: bizType: type: string title: 业务类型 description: 业务类型 toUser: type: string title: 接收人 description: 接收人 sendToken: type: string title: 发送票据 description: 发送票据 code: type: string title: 验证码 description: 验证码 status: type: string title: 验证码状态码 description: 0-初始化;1-待使用;2-已使用;3-已过期 name: type: string title: 验证码状态名称 description: 验证码状态名称 desc: type: string title: 验证码状态描述 description: 验证码状态描述 required: - bizType - toUser - sendToken - code - status - name - desc title: 返回体 description: 返回体 required: - code - msg - bizCode - tm - trace - msgParams - data headers: {} security: [] /message.admin.PlatFormMessageThirdSendAdminService.add: post: summary: 向客户发站内信 deprecated: false description: bizType=message.admin.PlatFormMessageThirdSendAdminService.add tags: - 新客推广活动 parameters: - name: token in: header description: '' required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: true example: 0.0.1 schema: type: string - name: trace in: header description: '' required: true example: '{{mock_trace}}' schema: type: string requestBody: content: application/json: schema: title: '' type: object properties: customerNo: type: string description: 客户编号 tradeType: description: 交易玩法 type: integer language: type: string description: 语种(zh-HK,en-US,zh-CN),根据实际填写即可 content: type: string description: 内容,长度未限制 title: type: string description: 标题,长度为100个字符 showType: type: integer description: 弹窗类型EnumShowType:0无动作,1弹窗 refreshType: type: integer description: 刷新类型EnumRefreshType:0无动作,1仓位,2挂单,3资金,4踢出,5挂单仓位,6挂单资金 customerId: type: integer description: 客户ID companyId: type: integer description: 公司ID required: - customerNo - tradeType - showType - title - content - language - companyId - customerId example: |- { "customerNo": "{{customerNo}}", "tradeType": 1, "language": "en-US", "content": "HHAHHAHHAHHAHHAHHAHHA", "title": "CESHTEST", "showType": 0, "refreshType": 1, "customerId": {{customerId}}, "companyId": {{company}} } responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: object properties: {} title: 数据体 description: 数据体 required: - bizCode - code - tm example: msg: Success fail: false trace: t-f7l5w542-o2c8p9-l8810-l1gpm-1660189534 code: '0' data: null bizCode: '' tm: 2 msgParams: null ok: true class: com.cats.common.core.base.vo.BaseResult headers: {} security: [] /global/report.admin.CatsTradeDealService.getTradeDealInfoByDealId: post: summary: 根据dealId获取成交详情 deprecated: false description: |- 说明:根据dealId查询成交记录详情 ``` version=0.0.1 bizType=report.admin.CatsTradeDealService.getTradeDealInfoByDealId ``` tags: - 交易服务相关/现货交易 parameters: - name: companyId in: header description: '' required: false example: '{{company}}' schema: type: string - name: token in: header description: '' required: false example: '{{LoginResult.data.token}}' schema: type: string - name: lang in: header description: '' required: false example: en-US schema: type: string - name: group in: header description: '' required: false example: tradeApi schema: type: string - name: trace in: header description: '' required: false example: '{{mock_trace}}' schema: type: string - name: version in: header description: '' required: false example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: dealId: type: integer format: uint64 required: - dealId example: '' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/BaseResultTradeDeal' examples: '1': summary: 异常示例 value: msg: System error fail: true trace: x-n9et4-yp4g8q3-0t31r-lopx-1677573670 code: E00003 data: tradeapi.app.OrderApiService.queryTradeRecordPage bizCode: O tm: 3 msgParams: null ok: false '2': summary: Success value: msg: Success fail: false trace: c0359d3a-b8e5-44cf-a2fb-02cc0d780326 code: '0' data: orderId: 1699 fee: 46768 accountCurrency: null accountDigits: 4 alarmMargin: null symbolName: BTC/USDT convertFee: 199998 matchCompanyId: null matchDealIds: null executeMargin: null revision: null pnl: null accountId: 1004460 occupyMargin: null companyId: 463 hedgingOrderNo: null executePrice: 4276400 currentTradeAmount: 10000000 maintainMargin: null customerGroupId: 1 symbolId: 706 bizType: 12 dealId: 1512 orderInCurrency: null orderStatus: null remark: null matchOrderId: null baseCurrency: BTC convertFeeDigits: 4 updateBy: null interest: null customerId: 281 contractSize: null event: null tradeType: 5 direction: 1 pointRatio: null convertExchangeRate: 42763.99 rateDigits: null executeRate: null updateTime: 1705567915141 hedgingDealTime: null spread: null symbolCode: null tradeAmount: null createBy: null positionId: null createTime: 1705567915141 executeNum: 0.02338415 digits: 2 exchangeName: null executeMarginCategoryId: null openTradeAmount: null feeDigits: 8 customerNo: '86000280' executeTime: 1705567918138 bizCode: '' tm: 2 msgParams: null ok: true headers: {} security: [] /global/report.admin.CatsTradeDealService.getTradeDealInfoByOrderId: post: summary: 根据orderId获取成交详情 deprecated: false description: |- 说明:根据orderId获取成交详情 ``` version=0.0.1 bizType=report.admin.CatsTradeDealService.getTradeDealInfoByOrderId ``` tags: - 交易服务相关/现货交易 parameters: - name: companyId in: header description: '' required: false example: '{{company}}' schema: type: string - name: token in: header description: '' required: false example: '{{LoginResult.data.token}}' schema: type: string - name: lang in: header description: '' required: false example: en-US schema: type: string - name: group in: header description: '' required: false example: tradeApi schema: type: string - name: trace in: header description: '' required: false example: '{{mock_trace}}' schema: type: string - name: version in: header description: '' required: false example: 0.0.1 schema: type: string requestBody: content: application/json: schema: type: object properties: orderId: type: integer format: uint64 description: 订单id tradeType: type: integer format: uint64 description: 玩法类型 required: - orderId - tradeType example: '' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/BaseResultTradeDealList' examples: '1': summary: 异常示例 value: msg: System error fail: true trace: x-n9et4-yp4g8q3-0t31r-lopx-1677573670 code: E00003 data: tradeapi.app.OrderApiService.queryTradeRecordPage bizCode: O tm: 3 msgParams: null ok: false '2': summary: Success value: msg: Success fail: false trace: c0359d3a-b8e5-44cf-a2fb-02cc0d780326 code: '0' data: orderId: 1699 fee: 46768 accountCurrency: null accountDigits: 4 alarmMargin: null symbolName: BTC/USDT convertFee: 199998 matchCompanyId: null matchDealIds: null executeMargin: null revision: null pnl: null accountId: 1004460 occupyMargin: null companyId: 463 hedgingOrderNo: null executePrice: 4276400 currentTradeAmount: 10000000 maintainMargin: null customerGroupId: 1 symbolId: 706 bizType: 12 dealId: 1512 orderInCurrency: null orderStatus: null remark: null matchOrderId: null baseCurrency: BTC convertFeeDigits: 4 updateBy: null interest: null customerId: 281 contractSize: null event: null tradeType: 5 direction: 1 pointRatio: null convertExchangeRate: 42763.99 rateDigits: null executeRate: null updateTime: 1705567915141 hedgingDealTime: null spread: null symbolCode: null tradeAmount: null createBy: null positionId: null createTime: 1705567915141 executeNum: 0.02338415 digits: 2 exchangeName: null executeMarginCategoryId: null openTradeAmount: null feeDigits: 8 customerNo: '86000280' executeTime: 1705567918138 bizCode: '' tm: 2 msgParams: null ok: true headers: {} security: [] /tradeapi.admin.OrderAdminApiService.cancelPboOrder: post: summary: 单客户批量取消预埋单 deprecated: false description: |- group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.cancelPboOrder tags: - 交易服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: group in: header description: 接口分组 required: true example: tradeApi schema: type: string requestBody: content: application/json: schema: type: object properties: tradeType: type: integer description: 交易玩法 customerNo: type: string description: 客户编号 customerId: type: integer description: 客户Id customerGroupId: type: integer description: 客户组Id trace: type: string description: 全局链路唯一标志 required: - tradeType - customerNo - customerId - customerGroupId example: tradeType: 1 customerNo: '86000020' customerId: 21 customerGroupId: 1 responses: '200': description: '' content: application/json: schema: *ref_1 example: msg: Success fail: false trace: t-2wrm8-8eq82jj-uo22f7-dze1q865-1668773417 code: '0' data: null bizCode: '' tm: 5 msgParams: null ok: true headers: {} security: [] /tradeapi.admin.OrderAdminApiService.forcedOrder: post: summary: 单客户批量平仓 deprecated: false description: |- group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.forcedOrder tags: - 交易服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: group in: header description: 接口分组 required: true example: tradeApi schema: type: string requestBody: content: application/json: schema: type: object properties: tradeType: type: integer description: 交易玩法 customerNo: type: string description: 客户编号 customerId: type: integer description: 客户Id customerGroupId: type: integer description: 客户组Id trace: type: string description: 全局链路唯一标志 required: - tradeType - customerNo - customerId - customerGroupId example: tradeType: 1 customerNo: '86000020' customerId: 21 customerGroupId: 1 responses: '200': description: '' content: application/json: schema: *ref_1 example: msg: Success fail: false trace: t-y1c7d-758waq-6p2d6ip-8igu-1668773738 code: '0' data: null bizCode: '' tm: 7 msgParams: null ok: true headers: {} security: [] /tradeapi.admin.OrderAdminApiService.queryCapitalFlowList: post: summary: 资金明细查询 deprecated: false description: |- group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.queryCapitalFlowList tags: - 交易服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: group in: header description: 接口分组 required: true example: tradeApi schema: type: string requestBody: content: application/json: schema: type: object properties: customerId: type: string customerGroupId: type: string customerNo: type: string tradeType: type: integer description: 玩法ID accountId: type: number description: 账户ID accountCurrency: type: string description: 账户货币 size: type: integer description: 每页条数 current: type: integer description: 当前页 businessType: type: number description: >- 业务类型。0-不限制; CFD-全仓: 1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励; CFD-逐仓: 7-存款;8-取款;9-系统清零;10-额度调整;11-冻结;12-交易;13-调整保证金;37-划转;43-奖励; 杠杆: 14-存款;15-取款;16-额度调整;17-冻结;18-交易;19-自动借款;20-手动借款;21-自动还款;22-手动还款;23-借款利息;35-后台还款;38-划转;40-强平还款;44-奖励; ABCC: 24-存款;25-取款;26-额度调整;27-冻结;28-交易;29-自动借款;30-手动借款;31-自动还款;32-手动还款;33-借款利息;34-后台还款;39-划转;41-强平还款;45-奖励; 现货杠杆撮合: 50-存款;51-取款;52-额度调整;53-冻结;54-交易;55-划转;59-奖励; 股票: 601-存款;602-取款;603-额度调整;604-冻结;605-担保品;606-交易;607-借款;608-还款;609-划转;610-利息计算;611-利息结算;612-奖励;613-系统清零;614-公司行动 status: type: integer description: 状态。0-不限制;1-初始化;2-处理成功;3-处理失败; startTime: type: number description: 开始时间。13位时间戳;以当天往前推7天 endTime: type: number description: 结束时间。13位时间戳;一般为当天 operate: type: integer description: 流向。0-不限制;1.增加,2.减少; assetsId: type: number description: 资产Id; lang: type: string description: 语种(zh_CN-中文;en_US-英文。不填或者填错默认中文); required: - tradeType - customerNo - customerGroupId - customerId example: tradeType: 5 customerNo: '86000020' customerGroupId: '1' customerId: '21' current: 1 size: 20 startTime: 1668528000000 endTime: 1669219199999 responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码,0成功,其他失败 msg: type: string title: 状态描述 description: 状态描述 tm: type: integer format: int64 title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 ok: type: boolean description: 成功标志 fail: type: boolean description: 失败标志 data: type: object properties: total: type: integer title: 总数 format: long description: 总数 size: type: integer format: long title: 每页条数 description: 每页条数 current: type: integer format: long title: 当前页 description: 当前页 records: type: array items: type: object properties: remark: type: string title: 备注 description: 备注 createTime: type: integer title: 创建日期 description: 创建日期,13位时间戳 format: long updateTime: type: integer format: long title: 更新时间 description: 更新时间,13位时间戳 subjectId: type: integer format: long title: 科目ID description: 科目ID bookkeepId: type: integer format: long title: 凭证ID description: 凭证ID amountIn: type: string title: 增加金额 description: 增加金额 amountOut: type: string title: 减少金额 description: 减少金额 status: type: integer format: int32 title: 状态 description: 状态,1-初始化;2-处理成功;3-处理失败; amountAfter: type: string title: 变动后余额 description: 变动后余额 businessType: type: integer title: 业务类型 format: int32 description: >- 业务类型,1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励; businessType1: type: integer format: int32 description: >- 业务子类型,1001-前端存款;1002-存款手续费;2001-前端取款;2002-取消取款;2003-取款手续费;2004-取消手续费;2005-确认转账;3001-系统清零;4001-额度调整_存款;4002-额度调整_取款;4003-额度调整_其他;4004-额度调整_赠金;4005-额度调整_释放不可提;4006-额度调整_不可提;4007-额度调整_转入返佣;5001-冻结;5002-解冻;6001-开仓手续费;6002-平仓手续费;6003-隔夜利息;6004-市价平仓盈亏;6005-止损平仓盈亏;6006-止盈平仓盈亏;6007-系统强平盈亏;6008-到期强平盈亏;6009-手动强平盈亏;36001-划入金额;36002-划出金额;42001-发放奖励;42002-扣回奖励;42003-发放返佣;42004-扣回返佣; title: 业务子类型 customerNo: type: string title: 客户编号 description: 客户编号 digits: type: string title: 小数位 description: 小数位 currency: type: string title: 币种 description: 币种 businessTypeName: type: string title: 业务类型名称 description: 业务类型名称,按传入`lang`确认语种 businessType1Name: type: string title: 业务子类型名称 description: 业务子类型名称,按传入`lang`确认语种 accountId: type: integer title: 账户Id format: long description: 账户Id orderId: type: integer format: long description: 订单id dealId: type: integer format: long description: 成交id title: 数据体 description: 数据体 title: 流水集合 description: 流水集合 description: 数据体 headers: {} security: [] /tradeapi.admin.OrderAdminApiService.queryPositionPage: post: summary: 查看持仓列表 deprecated: false description: |- group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.queryPositionPage tags: - 交易服务相关 parameters: - name: trace in: header description: 全局链路唯一标志 required: true example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: 公司ID required: true example: '{{company}}' schema: type: string - name: token in: header description: B端鉴权后token required: true example: '{{auto_token}}' schema: type: string - name: version in: header description: 接口版本号 required: true example: 0.0.1 schema: type: string - name: group in: header description: 接口分组 required: true example: tradeApi schema: type: string requestBody: content: application/json: schema: type: object properties: tradeType: type: integer description: 玩法ID;只有玩法1、2、6才有持仓 customerGroupId: type: integer format: long description: 客户组Id customerId: type: integer description: 客户ID format: long customerNo: type: string description: 客户编号 accountId: type: number description: 账户ID symbolId: type: number description: 产品ID sortFieldName: type: string description: 排序字段名。orderId-订单Id;openTime-执行时间;symbolId-产品Id;pnl-盈亏; sortType: type: string description: 排序方式。asc-升序;desc-降序;(默认desc) size: type: integer format: long description: 每页数据数。默认20 current: type: integer format: long description: 当前页。默认1 querySource: type: string title: 订单来源 description: >- H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考) thirdPartyOrder: type: string title: 三方订单标识 required: - tradeType - customerId - customerGroupId example: tradeType: 1 customerId: '22441' customerGroupId: '1' customerNo: '86022441' accountId: 1291816 sortType: desc sortFieldName: openTime responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: integer format: int64 title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 ok: type: boolean title: 是否成功 description: 是否成功 fail: type: boolean title: 是否失败 description: 是否失败 data: type: array items: type: object properties: positionId: type: integer title: 仓位ID format: long description: 仓位ID orderId: type: integer title: 订单ID format: long description: 订单ID dealId: type: integer title: 成交单ID format: long description: 成交单ID status: type: string title: 仓位状态 description: 仓位状态;0-初始化;1-持仓中;2-已完成;3-部分平仓; direction: type: integer format: int32 title: 买卖方向 description: 1-买;2-卖; symbolId: type: integer title: 产品ID format: long description: 产品ID symbolName: type: string title: 产品名称 description: 产品名称 openAccountDigits: type: integer title: 开仓账户小数位 format: int32 description: 开仓账户小数位 openSymbolDigits: type: integer format: int32 title: 开仓产品小数位 description: 开仓产品小数位 openContractSize: type: integer format: int32 title: 合约大小 description: 合约大小 openPrice: type: string title: 开仓单价 description: 开仓单价 openNum: type: string title: 开仓数量 description: 开仓数量 closeAccountDigits: type: integer title: 平仓账户小数位 format: int32 description: 平仓账户小数位 closeSymbolDigits: type: integer title: 平仓产品小数位 format: int32 description: 平仓产品小数位 closePrice: type: string title: 平仓单价 description: 平仓单价 closeFreeDigits: type: string title: 平仓手续费小数位 description: 平仓手续费小数位 profit: type: string title: 盈亏 description: 盈亏 openMargin: type: string title: 开仓占用保证金 description: 开仓占用保证金 stopLoss: type: string title: 止损单价 description: 原始登记值,未处理 takeProfit: type: string title: 止盈单价 description: 原始登记值,未处理 remark: type: string title: 备注 description: 备注 margin: type: string title: 实时占用保证金 description: 实时占用保证金 openTime: type: integer format: long title: 开仓时间 description: 开仓时间 closeTime: type: integer format: long title: 平仓时间 description: 平仓时间 openFee: type: string title: 开仓手续费 description: 开仓手续费 closeFee: type: string title: 平仓手续费 description: 平仓手续费 closeNum: type: string title: 平仓数量 description: 平仓数量 openVolume: type: string title: 开仓手数 description: 开仓手数 closeVolume: type: string title: 平仓手数 description: 平仓手数 minVolume: type: string title: 单边最小手数 description: 单边最小手数 stopLossDecimal: type: string title: 止损单价 description: 止损单价,`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示 takeProfitDecimal: type: string title: 止盈单价 description: 止盈单价,`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示 volume: type: string title: 手数 description: 手数 marginSetType: type: string title: 保证金类型 description: 保证金类型,1-比例;2-范围; querySource: type: string title: 订单来源 description: >- H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考) thirdPartyOrder: type: string title: 三方订单标识 title: 数据体 description: 数据体 example: msg: Success fail: false trace: x-00d1c642-3c96-4b00-abcc-ad16569658d4-1669277642254 code: '0' data: - symbolId: 810 orderId: 21650935 dealId: 11971285 canReduceMargin: '0.2493' openPrice: '5.540' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.0000' takeProfit: '0' occupyTheMargin: '1.6620' interest: '0.0000' maintenanceMargin: '0.8310' closeVolume: 0 openVolume: 1 closeTime: 0 symbolName: UNI/USDT_PRD closeAccountDigits: 4 openTime: 1669267968638 profit: null tradeType: 2 direction: 1 singleMargin: '16620.0000000000000000' margin: null openContractSize: 1 resp: null openMargin: '1.6620' openNum: 1 closeSymbolDigits: 3 openFee: '0.2770' warningMargin: '1.3296' stopLossDecimal: '0.000' adjustCrossLevel: 0-0 volume: 1 openSymbolDigits: 3 accountId: 1031768 companyId: 360 positionId: 2022112423089 closeFreeDigits: null stopLoss: '0' minVolume: null marginSetType: '1' crossLevelNum: 3 openAccountDigits: 4 closePrice: '0.0000' status: '1' bizCode: C tm: 16 msgParams: null ok: true headers: {} security: [] /tradeapi.admin.PositionAdminApiService.queryAllPositionPage: post: summary: 分页查询持仓信息 deprecated: false description: |- group=tradeApi version=0.0.1 bizType=tradeapi.admin.PositionAdminApiService.queryAllPositionPage tags: - 交易服务相关 parameters: - name: trace in: header description: '' required: false example: '{{mock_trace}}' schema: type: string - name: companyId in: header description: '' required: false example: '{{company}}' schema: type: string - name: token in: header description: '' required: false example: '{{auto_token}}' schema: type: string - name: version in: header description: '' required: false example: 0.0.1 schema: type: string - name: group in: header description: '' required: false example: tradeApi schema: type: string requestBody: content: application/json: schema: type: object properties: tradeType: type: integer description: 玩法ID。1-全仓合约;2-逐仓合约; customerGroupId: type: integer format: long description: 客户组Id customerId: type: integer description: 客户ID format: long customerNo: type: string description: 客户编号 accountId: type: integer description: 账户ID format: long symbolId: type: integer description: 产品ID format: long orderId: type: integer format: long description: 订单ID direction: type: integer format: int32 description: 买卖方向。1-买;2-卖;不传时查全部,传其他值无数据 startTime: type: integer format: long description: 开仓时间-起始。(13位时间戳,包含本身) endTime: type: integer format: long description: 开仓时间-结束。(13位时间戳,包含本身) sortFieldName: type: string description: >- 排序字段名。id-持仓单号;orderId-订单Id;openTime-执行时间;symbolId-产品Id;(默认id) sortType: type: string description: 排序方式。asc-升序;desc-降序;(默认desc) size: type: integer format: long description: 每页数据数。默认20 current: type: integer format: long description: 当前页。默认1 querySource: type: string title: 订单来源 description: >- H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考) thirdPartyOrder: type: string title: 三方订单标识 required: - tradeType responses: '200': description: '' content: application/json: schema: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码,0成功,其他失败 msg: type: string title: 状态描述 description: 状态描述 tm: type: integer format: int64 title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 ok: type: boolean description: 成功标志 fail: type: boolean description: 失败标志 data: type: object properties: current: type: integer format: int32 description: 当前页码 size: type: integer format: int32 description: 每页数据量 total: type: integer format: int32 description: 总数 records: type: array items: type: object properties: positionId: type: integer format: long description: 仓位ID orderId: type: integer format: long description: 订单ID dealId: type: integer format: long description: 成交单ID status: type: string description: 仓位状态。0-初始化;1-持仓中;2-已完成;3-部分平仓; direction: type: integer format: int32 description: 买卖方向。1-买;2-卖; symbolId: type: integer format: long description: 产品ID symbolName: type: string description: 产品名称 openAccountDigits: type: integer format: int32 description: 开仓账户小数位 openSymbolDigits: type: integer format: int32 description: 开仓产品小数位 openContractSize: type: integer format: int32 description: 合约大小 openPrice: type: string description: 开仓单价 openNum: type: string description: 开仓数量 closeAccountDigits: type: integer format: int32 description: 平仓账户小数位 closeSymbolDigits: type: integer format: int32 description: 平仓产品小数位 closePrice: type: string description: 平仓单价 closeFreeDigits: type: string description: 平仓手续费小数位 openMargin: type: string description: 开仓占用保证金 stopLoss: type: string description: 止损单价。整型 takeProfit: type: string description: 止盈单价。整型 remark: type: string description: 备注 openTime: type: integer format: long description: 开仓时间。13位时间戳 closeTime: type: integer format: long description: 平仓时间。13位时间戳 openFee: type: string description: 开仓手续费 closeFee: type: string description: 平仓手续费 closeNum: type: string description: 平仓数量 openVolume: type: string description: 开仓手数 closeVolume: type: string description: 平仓手数 minVolume: type: string description: 单边最小手数 stopLossDecimal: type: string description: >- 止损单价。`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示 takeProfitDecimal: type: string description: >- 止盈单价。`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示 volume: type: string description: 手数 marginSetType: type: string description: 保证金类型。1-比例;2-范围; accountId: type: integer format: long description: 账户ID tradeType: type: integer description: 玩法ID format: long bizType: type: integer format: int32 description: >- 开仓业务类型。玩法1(1-市价开;2-市价平;3-止损平仓单;4-止盈平仓单;5-爆仓强平单;6-到期平仓单;7-销户平仓单;8-手动强平单;10-限价预埋单;11-停损预埋单;12-限价开;);玩法2(1-市价开;2-市价平;3-止损平仓单;4-止盈平仓单;5-爆仓强平单;6-到期平仓单;7-销户平仓单;8-手动强平单;10-限价预埋单;11-停损预埋单;13-撮合限价开仓单;14-撮合限价平仓单;); customerNo: type: string description: 客户编号 customerId: type: integer description: 客户ID format: long querySource: type: string title: 订单来源 description: >- H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考) thirdPartyOrder: type: string title: 三方订单标识 description: 结果列表 title: 数据体 description: 数据体 example: msg: Success fail: false trace: ryder_test code: '0' data: total: 11 current: 1 size: 20 records: - symbolId: 1352 bizType: 12 orderId: 22270983 dealId: 97686693 openPrice: '1939.880' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.0000' takeProfit: '0' closeVolume: 0 customerId: 286835 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 4 openTime: 1693832472898 tradeType: 1 direction: 2 openContractSize: 100 openMargin: '0.0000' openNum: 1 closeSymbolDigits: 3 openFee: '0.0000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 5953422 companyId: 360 positionId: 20230904498875 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 4 closePrice: '0.0000' customerNo: '86286820' status: '1' - symbolId: 1352 bizType: 12 orderId: 22270982 dealId: 97686692 openPrice: '1939.910' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.0000' takeProfit: '0' closeVolume: 0 customerId: 286835 closeTime: 0 openVolume: 0.02 symbolName: GOLD-MM closeAccountDigits: 4 openTime: 1693832415377 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.1000' openNum: 2 closeSymbolDigits: 3 openFee: '0.0000' stopLossDecimal: '0.000' volume: 0.02 openSymbolDigits: 3 accountId: 5953422 companyId: 360 positionId: 20230904498780 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 4 closePrice: '0.0000' customerNo: '86286820' status: '1' - symbolId: 1352 bizType: 12 orderId: 22270981 dealId: 97686691 openPrice: '1940.050' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.0000' takeProfit: '0' closeVolume: 0 customerId: 286835 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 4 openTime: 1693832340769 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.0500' openNum: 1 closeSymbolDigits: 3 openFee: '0.0000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 5953422 companyId: 360 positionId: 20230904498635 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 4 closePrice: '0.0000' customerNo: '86286820' status: '1' - symbolId: 1352 bizType: 12 orderId: 30465551 dealId: 103790191 openPrice: '2027.790' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704865586698 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024011001083 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110800 dealId: 101434970 openPrice: '2027.780' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704865478795 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024011001082 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110799 dealId: 101434969 openPrice: '2027.790' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704865451692 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024011001081 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110798 dealId: 101434968 openPrice: '2033.390' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704787818311 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024010901984 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110797 dealId: 101434967 openPrice: '2033.890' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704784473702 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024010901781 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110796 dealId: 101434966 openPrice: '2034.299' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704784417830 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024010901764 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 12 orderId: 28110795 dealId: 101434965 openPrice: '2033.200' remark: null takeProfitDecimal: '0.000' closeNum: 0 closeFee: '0.00000' takeProfit: '0' closeVolume: 0 customerId: 381534 closeTime: 0 openVolume: 0.01 symbolName: GOLD-MM closeAccountDigits: 5 openTime: 1704783605219 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '0.05000' openNum: 1 closeSymbolDigits: 3 openFee: '0.00000' stopLossDecimal: '0.000' volume: 0.01 openSymbolDigits: 3 accountId: 6428695 companyId: 360 positionId: 2024010901668 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 5 closePrice: '0.00000' customerNo: '86381519' status: '1' - symbolId: 1352 bizType: 1 orderId: 22270984 dealId: 97686694 openPrice: '1911.980' remark: null takeProfitDecimal: '0.000' closeNum: 50 closeFee: '0.0000' takeProfit: '0' closeVolume: 0.5 customerId: 1159 closeTime: 0 openVolume: 1 symbolName: GOLD-MM closeAccountDigits: 4 openTime: 1694592867404 tradeType: 1 direction: 1 openContractSize: 100 openMargin: '5.0000' openNum: 100 closeSymbolDigits: 3 openFee: '0.0000' stopLossDecimal: '0.000' volume: 0.5 openSymbolDigits: 3 accountId: 1031236 companyId: 360 positionId: 2023091377112 closeFreeDigits: null stopLoss: '0' marginSetType: '1' openAccountDigits: 4 closePrice: '0.0000' customerNo: '86001158' status: '1' bizCode: C tm: 414 msgParams: null ok: true headers: {} security: [] /quote-b-api/depth-tick: get: summary: 最新盘口报价查询【外汇、贵金属、加密货币】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: 65b31e26-312c-4e71-89ae-f5e33073d1c8-1676446387481 schema: type: string - name: query in: query description: |- 请对如下字段进行encode,后台服务收到之后会decode { "trace": "enim occaecat dolore esse voluptate", "data": { "symbol_list": [ { "code": "GBPJPY" }, { "code": "CADJPY" } ] } } trace:追踪码,用来查询日志使用,请保证每次请求时唯一 code:请查看code列表,选择你要查询的code required: true example: >- %7B%20%20%20%20%22trace%22%3A%20%22enim%20occaecat%20dolore%20esse%20voluptate%22%2C%20%20%20%20%22data%22%3A%20%7B%20%20%20%20%20%20%20%20%22symbol_list%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22GBPJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22CADJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%5D%20%20%20%20%7D%7D schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer description: 返回code msg: type: string description: 返回code对应消息 trace: type: string description: 请求的trace data: type: object properties: tick_list: type: array items: type: object properties: code: type: string description: 代码 seq: type: string description: 报价序号 tick_time: type: string description: 报价时间戳 bids: type: array items: type: object properties: price: type: string description: 价 volume: type: string description: 量 description: bid列表 asks: type: array items: type: object properties: price: type: string description: 价 volume: type: string description: 量 description: ask列表 required: - tick_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: tick_list: - code: 857.HK seq: '30686349' tick_time: '1677830357227' bids: - price: '136.424' volume: '100000.00' asks: - price: '136.427' volume: '400000.00' headers: {} security: [] /quote-stock-b-api/depth-tick: get: summary: '最新盘口报价查询【股票】 ' deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806 schema: type: string - name: query in: query description: |- 请对如下字段进行encode,后台服务收到之后会decode { "trace": "enim occaecat dolore esse voluptate", "data": { "symbol_list": [ { "code": "GBPJPY" }, { "code": "CADJPY" } ] } } trace:追踪码,用来查询日志使用,请保证每次请求时唯一 code:请查看code列表,选择你要查询的code required: true example: >- %7B%20%20%20%20%22trace%22%3A%20%22enim%20occaecat%20dolore%20esse%20voluptate%22%2C%20%20%20%20%22data%22%3A%20%7B%20%20%20%20%20%20%20%20%22symbol_list%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22GBPJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22CADJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%5D%20%20%20%20%7D%7D schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer description: 返回code msg: type: string description: 返回code对应消息 trace: type: string description: 请求的trace data: type: object properties: tick_list: type: array items: type: object properties: code: type: string description: 代码 seq: type: string description: 报价序号 tick_time: type: string description: 报价时间戳 bids: type: array items: type: object properties: price: type: string description: 价 volume: type: string description: 量 description: bid列表 asks: type: array items: type: object properties: price: type: string description: 价 volume: type: string description: 量 description: ask列表 required: - tick_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: tick_list: - code: 857.HK seq: '30686349' tick_time: '1677830357227' bids: - price: '136.424' volume: '100000.00' asks: - price: '136.427' volume: '400000.00' headers: {} security: [] /quote-b-api/trade-tick: get: summary: 最新成交报价查询【外汇、贵金属、加密货币】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: 65b31e26-312c-4e71-89ae-f5e33073d1c8-1676446387481 schema: type: string - name: query in: query description: |- 请对如下字段进行encode,后台服务收到之后会decode { "trace": "enim occaecat dolore esse voluptate", "data": { "symbol_list": [ { "code": "GBPJPY" }, { "code": "CADJPY" } ] } } trace:追踪码,用来查询日志使用,请保证每次请求时唯一 code:请查看code列表,选择你要查询的code required: true example: >- %7B%20%20%20%20%22trace%22%3A%20%22enim%20occaecat%20dolore%20esse%20voluptate%22%2C%20%20%20%20%22data%22%3A%20%7B%20%20%20%20%20%20%20%20%22symbol_list%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22GBPJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22CADJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%5D%20%20%20%20%7D%7D schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer description: 返回code msg: type: string description: 返回code对应消息 trace: type: string description: 请求的trace data: type: object properties: tick_list: type: array items: type: object properties: code: type: string description: 代码 seq: type: string description: 序号 tick_time: type: string description: 时间戳 price: type: string description: 成交价 volume: type: string description: 成交量 turnover: type: string description: 成交额 trade_direction: type: integer description: 交易方向,0为默认值,1为BUY,2为SELL required: - tick_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: tick_list: - code: 857.HK seq: '30841439' tick_time: '1677831545217' price: '136.302' volume: '0' turnover: '0' trade_direction: 0 headers: {} security: [] /quote-stock-b-api/trade-tick: get: summary: 最新成交报价查询【股票】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806 schema: type: string - name: query in: query description: |- 请对如下字段进行encode,后台服务收到之后会decode { "trace": "enim occaecat dolore esse voluptate", "data": { "symbol_list": [ { "code": "GBPJPY" }, { "code": "CADJPY" } ] } } trace:追踪码,用来查询日志使用,请保证每次请求时唯一 code:请查看code列表,选择你要查询的code required: true example: >- %7B%20%20%20%20%22trace%22%3A%20%22enim%20occaecat%20dolore%20esse%20voluptate%22%2C%20%20%20%20%22data%22%3A%20%7B%20%20%20%20%20%20%20%20%22symbol_list%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22GBPJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22CADJPY%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%5D%20%20%20%20%7D%7D schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer description: 返回code msg: type: string description: 返回code对应消息 trace: type: string description: 请求的trace data: type: object properties: tick_list: type: array items: type: object properties: code: type: string description: 代码 seq: type: string description: 序号 tick_time: type: string description: 时间戳 price: type: string description: 成交价 volume: type: string description: 成交量 turnover: type: string description: 成交额 trade_direction: type: integer description: 交易方向,0为默认值,1为BUY,2为SELL required: - tick_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: tick_list: - code: 857.HK seq: '30841439' tick_time: '1677831545217' price: '136.302' volume: '0' turnover: '0' trade_direction: 0 headers: {} security: [] /quote-b-api/kline: get: summary: K线查询【外汇、贵金属、加密货币】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: 65b31e26-312c-4e71-89ae-f5e33073d1c8-1676446387481 schema: type: string - name: query in: query description: "请对如下字段进行encode,后台服务收到之后会decode\n{\n \"trace\": \"culpa cillum ea reprehenderit occaecat\",\n \"data\": {\n \"code\": \"GBPJPY\",\n \"kline_type\": 1,\n \"kline_timestamp_end\": 0,\n \"query_kline_num\": 2,\n\t\"adjust_type\": 0\n }\n}\ntrace:追踪码,用来查询日志使用,请保证每次请求时唯一\ncode:请查看code列表,选择你要查询的code\nkline_type:k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K\nkline_timestamp_end:从那个时间点往前查,为0表示从当前时间,非股票类的code才有效\nquery_kline_num:查询多少根K线,最多1000根\nadjust_type: 复权类型,对于股票类的code才有效,例如:0:除权,1:前复权" required: true example: "{% '{\"trace\": \"culpa cillum ea reprehenderit occaecat\",\"data\": {\"code\": \"GBPJPY\",\r\n\"kline_type\": 1,\"kline_timestamp_end\": 0,\"query_kline_num\": 2,\"adjust_type\": 0}}'|encodeURIComponent %}" schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer msg: type: string trace: type: string data: type: object properties: code: type: string description: 代码 kline_type: type: integer description: >- k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K kline_list: type: array items: type: object properties: timestamp: type: string description: 该K线时间戳 open_price: type: string description: 该K线开盘价 close_price: type: string description: 该K线收盘价 high_price: type: string description: 该K线最高价 low_price: type: string description: 该K线最低价 volume: type: string description: 该K线成交数量 turnover: type: string description: 该K线成交金额 required: - timestamp - open_price - close_price - high_price - low_price - volume - turnover required: - code - kline_type - kline_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: code: 857.HK kline_type: 1 kline_list: - timestamp: '1677829200' open_price: '136.421' close_price: '136.412' high_price: '136.422' low_price: '136.407' volume: '0' turnover: '0' - timestamp: '1677829260' open_price: '136.412' close_price: '136.401' high_price: '136.415' low_price: '136.397' volume: '0' turnover: '0' headers: {} security: [] /quote-b-api/batch-kline: get: summary: K线批量查询【外汇、贵金属、加密货币】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: 65b31e26-312c-4e71-89ae-f5e33073d1c8-1676446387481 schema: type: string requestBody: content: application/json: schema: type: object properties: trace: type: string data: type: object properties: data_list: type: array items: type: object properties: code: type: string kline_type: type: integer kline_timestamp_end: type: integer query_kline_num: type: integer adjust_type: type: integer required: - code - kline_type - kline_timestamp_end - query_kline_num - adjust_type required: - data_list required: - trace - data example: trace: '{{mock_trace}}' data: data_list: - code: EURJPY kline_type: 1 kline_timestamp_end: 0 query_kline_num: 2 adjust_type: 0 - code: EURJPY kline_type: 1 kline_timestamp_end: 0 query_kline_num: 2 adjust_type: 0 responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer msg: type: string trace: type: string data: type: object properties: code: type: string description: 代码 kline_type: type: integer description: >- k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K kline_list: type: array items: type: object properties: timestamp: type: string description: 该K线时间戳 open_price: type: string description: 该K线开盘价 close_price: type: string description: 该K线收盘价 high_price: type: string description: 该K线最高价 low_price: type: string description: 该K线最低价 volume: type: string description: 该K线成交数量 turnover: type: string description: 该K线成交金额 required: - timestamp - open_price - close_price - high_price - low_price - volume - turnover required: - code - kline_type - kline_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: code: 857.HK kline_type: 1 kline_list: - timestamp: '1677829200' open_price: '136.421' close_price: '136.412' high_price: '136.422' low_price: '136.407' volume: '0' turnover: '0' - timestamp: '1677829260' open_price: '136.412' close_price: '136.401' high_price: '136.415' low_price: '136.397' volume: '0' turnover: '0' headers: {} security: [] /quote-stock-b-api/kline: get: summary: 'K线查询【股票】 ' deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806 schema: type: string - name: query in: query description: "请对如下字段进行encode,后台服务收到之后会decode\n{\n \"trace\": \"culpa cillum ea reprehenderit occaecat\",\n \"data\": {\n \"code\": \"GBPJPY\",\n \"kline_type\": 1,\n \"kline_timestamp_end\": 0,\n \"query_kline_num\": 2,\n\t\"adjust_type\": 0\n }\n}\ntrace:追踪码,用来查询日志使用,请保证每次请求时唯一\ncode:请查看code列表,选择你要查询的code\nkline_type:k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K\nkline_timestamp_end:从那个时间点往前查,为0表示从当前时间,非股票类的code才有效\nquery_kline_num:查询多少根K线,最多1000根\nadjust_type: 复权类型,对于股票类的code才有效,例如:0:除权,1:前复权" required: true example: "{% '{\"trace\": \"culpa cillum ea reprehenderit occaecat\",\"data\": {\"code\": \"GBPJPY\",\r\n\"kline_type\": 1,\"kline_timestamp_end\": 0,\"query_kline_num\": 2,\"adjust_type\": 0}}'|encodeURIComponent %}" schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer msg: type: string trace: type: string data: type: object properties: code: type: string description: 代码 kline_type: type: integer description: >- k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K kline_list: type: array items: type: object properties: timestamp: type: string description: 该K线时间戳 open_price: type: string description: 该K线开盘价 close_price: type: string description: 该K线收盘价 high_price: type: string description: 该K线最高价 low_price: type: string description: 该K线最低价 volume: type: string description: 该K线成交数量 turnover: type: string description: 该K线成交金额 required: - timestamp - open_price - close_price - high_price - low_price - volume - turnover required: - code - kline_type - kline_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: code: 857.HK kline_type: 1 kline_list: - timestamp: '1677829200' open_price: '136.421' close_price: '136.412' high_price: '136.422' low_price: '136.407' volume: '0' turnover: '0' - timestamp: '1677829260' open_price: '136.412' close_price: '136.401' high_price: '136.415' low_price: '136.397' volume: '0' turnover: '0' headers: {} security: [] /quote-stock-b-api/batch-kline: get: summary: K线批量查询【股票】 deprecated: false description: '' tags: - 行情订阅相关/http请求接口 parameters: - name: token in: query description: 如果不知道你的token,请联系相关人员索要 required: true example: e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806 schema: type: string requestBody: content: application/json: schema: type: object properties: trace: type: string data: type: object properties: data_list: type: array items: type: object properties: code: type: string kline_type: type: integer kline_timestamp_end: type: integer query_kline_num: type: integer adjust_type: type: integer required: - code - kline_type - kline_timestamp_end - query_kline_num - adjust_type required: - data_list required: - trace - data example: trace: '{{mock_trace}}' data: data_list: - code: EURJPY kline_type: 1 kline_timestamp_end: 0 query_kline_num: 2 adjust_type: 0 - code: USDJPY kline_type: 1 kline_timestamp_end: 0 query_kline_num: 2 adjust_type: 0 responses: '200': description: '' content: application/json: schema: type: object properties: ret: type: integer msg: type: string trace: type: string data: type: object properties: code: type: string description: 代码 kline_type: type: integer description: >- k线类型,1分钟K,2为5分钟K,3为15分钟K,4为30分钟K,5为小时K,6为2小时K,7为4小时K,8为日K,9为周K,10为月K kline_list: type: array items: type: object properties: timestamp: type: string description: 该K线时间戳 open_price: type: string description: 该K线开盘价 close_price: type: string description: 该K线收盘价 high_price: type: string description: 该K线最高价 low_price: type: string description: 该K线最低价 volume: type: string description: 该K线成交数量 turnover: type: string description: 该K线成交金额 required: - timestamp - open_price - close_price - high_price - low_price - volume - turnover required: - code - kline_type - kline_list required: - ret - msg - trace - data example: ret: 200 msg: ok trace: asdfsdfa data: code: 857.HK kline_type: 1 kline_list: - timestamp: '1677829200' open_price: '136.421' close_price: '136.412' high_price: '136.422' low_price: '136.407' volume: '0' turnover: '0' - timestamp: '1677829260' open_price: '136.412' close_price: '136.401' high_price: '136.415' low_price: '136.397' volume: '0' turnover: '0' headers: {} security: [] components: schemas: QueryAccountVo: type: object properties: accountId: type: integer format: int64 description: 系统唯一账户标识 activateStatus: type: integer format: int32 description: 激活状态(1-不可用,2-可用) activateTime: type: integer format: int64 description: 激活时间 assetsId: type: integer format: int64 description: 净资产 available: type: string description: 可用 availableLoan: type: string description: 可借 balance: type: string description: 余额 collateralFrozen: type: string description: 担保品冻结 companyId: type: integer format: int64 description: 公司ID createTime: type: integer format: int64 description: 开户时间 currency: type: string description: 开户币种 customerId: type: integer format: int64 description: 客户Id customerNo: type: string description: 客户编号 digits: type: integer format: int32 description: 资金小数位数 equity: type: string description: 净值 firstDepositTime: type: integer format: int64 description: 首次入金时间 firstWithdrawTime: type: integer format: int64 description: 首次出金时间 freeMargin: type: string description: 实时可用保证金 frozen: type: string description: 冻结 interest: type: string description: 利息 interestProportion: type: string description: 日利息率 liabilities: type: string description: 总负债 liabilitiesPrincipal: type: string description: 负债-本金 lockAmount: type: string description: 锁定金额 lockMargin: type: string description: 冻结保证金 margin: type: string description: 实时占用保证金 marginRadio: type: string description: 保证金比例 netAssets: type: string description: 净资产 notWithdrawAmount: type: string description: 可取冻结金额 openAccountStatus: type: boolean description: 开户状态 profit: type: string description: 实时盈亏 remark: type: string description: 备注 status: type: integer format: int32 description: 账户状态(1-不可用,2-可用) tradeType: type: integer format: int64 description: 玩法Id type: type: integer format: int32 description: 账户分类(1-用户,2-商户,3-平台) wholeWarehouseBalance: type: string description: 当前账号对全仓账户币种 wholeWarehouseRate: type: string description: 当前账号对全仓账户汇率 withdrawAmount: type: string description: 可取金额 title: QueryAccountVo AssetsVo: type: object properties: code: type: string description: 资产代码 refType: null createBy: type: string description: 创建人 refType: null createTime: type: integer format: int64 description: 创建时间 refType: null digits: type: integer format: int32 description: 小数位 refType: null displayName: type: string description: 显示名称 refType: null fundId: type: integer format: int64 description: 关联基金 refType: null id: type: integer format: int64 description: 主键id refType: null initState: type: integer format: int32 description: 初始化状态 1、2、初始化中、初始化完毕 refType: null name: type: string description: 资产名称 refType: null revision: type: integer format: int32 description: 乐观锁 refType: null status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 refType: null type: type: integer format: int32 description: 资产类型 refType: null updateBy: type: string description: 更新人 refType: null updateTime: type: integer format: int64 description: 更新时间 refType: null title: '' SymbolVO: type: object properties: id: type: integer format: int64 description: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 name: type: string description: 交易产品名称 code: type: string description: 交易产品代码 baseCurrency: type: string description: 基础货币 profitCurrency: type: string description: 盈利货币 sourceId: type: string description: 行情源 tradeTypes: type: string description: 支持玩法数组 SymbolGroup: type: object properties: id: type: integer format: int64 description: 主键id title: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 title: 状态 1、2、3、启用、禁用、删除 createBy: type: string description: 创建人 title: 创建人 createTime: type: integer format: int64 description: 创建时间 title: 创建时间 updateBy: type: string description: 更新人 title: 更新人 updateTime: type: integer format: int64 description: 更新时间 title: 更新时间 name: type: string description: 产品组名称 title: 产品组名称 HolidayTime: type: object properties: startTime: type: integer format: int64 description: 开始时间,13位时间戳 endTime: type: integer format: int64 description: 结束时间,13位时间戳 description: 假期时间 TradeTime: type: object properties: dayOfWeek: type: integer format: int32 description: 周几,1-7 星期一至星期日 startTime: type: integer format: int64 description: 开始时间,单位秒 endTime: type: integer format: int64 description: 结束时间,单位秒 description: 交易时间 ExchangeRateConvertDto: type: object properties: rate: type: string description: 兑换比率 formulaSymbol: type: string description: 运算规则乘或除,取值为multiply或divide sourceDigits: type: integer format: int32 description: 源货币小数位 targetDigits: type: integer format: int32 description: 目标货币小数位 sourceCurrency: type: string description: 源货币编码 targetCurrency: type: string description: 目标货币编码 CustomerAdjustProposalDto: type: object required: - tradeType properties: companyId: type: integer format: int64 description: 公司ID customerId: type: integer format: int64 description: 客户ID customerNo: type: string description: 客户编号 accountId: type: integer format: int64 description: 账户ID id: type: integer format: int64 description: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 createBy: type: string description: 创建人 createTime: type: integer format: int64 description: 创建时间 updateBy: type: string description: 更新人 updateTime: type: integer format: int64 description: 更新时间 tradeType: type: integer format: int64 proposalNo: type: string description: 提案号 businessType: type: integer format: int32 description: 业务类型编码 accountCurrency: type: string description: 账户货币(交易账号货币) amount: type: number description: 提案金额 withdraw: type: boolean description: 是否可提取 operatorPassword: type: string description: 操作员的资金密码 checkBy: type: string description: 审批人 checkStatus: type: integer format: int32 description: 提案状态,等待人工审批:1、审批成功:2、审批失败:3 remark: type: string description: 备注 thirdOrderId: type: string description: 三方订单ID resetAccount: type: boolean description: 是否清零 businessTypeText: type: string thirdAccount: type: string description: 三方账号 CustomerGroupBizVO: type: object properties: name: type: string description: 组名称 id: type: integer format: int64 description: id type: type: integer format: int32 description: 组类型 openAccountType: type: integer format: int32 description: 开户组类型,1是2否 tradeType: type: integer format: int64 description: 玩法Id assets: type: string description: 资产信息 BaseResultParamConfigPageVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: $ref: '#/components/schemas/ParamConfigPageVo' ok: type: boolean fail: type: boolean SpotQueryWaterPageDto: type: object required: - customerGroupId - tradeType properties: tradeType: type: integer format: int64 minimum: 1 description: 玩法类型 customerGroupId: type: integer format: int64 description: 客户组Id size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 sortFieldName: type: string sortType: type: string businessType: type: integer format: int32 status: type: integer format: int32 customerNoStr: type: string startTime: type: integer format: int64 endTime: type: integer format: int64 operate: type: integer format: int32 CustomerDirectAccVO: type: object properties: companyId: type: string description: 白标ID customerId: type: string description: 客户ID customerNo: type: string description: 客户编号 exchangeCode: type: string description: 交易所代码 accountType: type: string description: 账号类型 accountName: type: string description: 账号别名 apiKey: type: string description: apiKey required: - companyId - accountType - exchangeCode - customerNo - customerId - accountName - apiKey BaseResultTradeDealList: type: object properties: bizCode: type: string title: 模块标识码 code: type: string title: 状态返回码 msg: type: string title: 状态描述 tm: type: string title: 处理时长(毫秒) trace: type: string title: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 data: type: array items: &ref_2 $ref: '#/components/schemas/TradeDeal' title: 数据体 title: '' required: - bizCode - code - tm ParamConfigPageVo: type: object properties: records: type: array description: 结果列表 items: $ref: '#/components/schemas/ParamConfig' total: type: integer format: int64 description: 总数 size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 SpotSubjectWaterVo: type: object properties: id: type: integer format: int64 remark: type: string createdBy: type: integer format: int64 createTime: type: integer format: int64 updateBy: type: integer format: int64 updateTime: type: integer format: int64 subjectId: type: integer format: int64 version: type: integer format: int64 bookkeepId: type: integer format: int64 amountIn: type: string amountOut: type: string status: type: integer format: int32 amountAfter: type: string businessType: type: integer format: int32 businessType1: type: integer format: int32 customerNo: type: string amount: type: string digits: type: integer format: int32 currency: type: string businessTypeName: type: string businessType1Name: type: string TradeDeal: type: object properties: accountDigits: description: 账户小数位数,交易金额,小数位数 type: integer accountId: description: 入金账户id type: integer bizType: description: 业务类型 type: integer companyId: description: 公司id type: integer createTime: description: 创建时间 type: integer currentTradeAmount: description: 成交金额 type: integer customerGroupId: description: 客户组id type: integer customerId: description: 客户id type: integer customerNo: description: 客户编号 type: string digits: description: 成交均价小数位数 type: integer direction: description: 买卖方向,1买 2卖 type: integer executeNum: description: 成交数量 type: number executePrice: description: 成交均价 type: integer executeTime: description: 创建时间 type: integer fee: description: 手续费 type: integer feeDigits: description: 手续费小数位 type: integer orderInCurrency: description: 手续费币种 type: string id: description: 成交记录id type: string orderId: description: 订单记录id type: integer symbolId: description: 产品id type: integer symbolName: description: 产品名称 type: string tradeType: description: 玩法类型 type: integer updateTime: description: 更新时间 type: integer convertFee: description: 手续费转换成USDT币种后的值 type: integer convertFeeDigits: description: 手续费转换成USDT币种后小数位数 type: integer convertExchangeRate: description: 手续费币种转换成USDT使用的汇率 type: integer positionId: description: 持仓id,tradeTpe 为1和2时有值 type: integer pnl: description: 平仓盈亏,小数位数同账户小数位数,tradeTpe为1和2,bizType为2、3、4、5、6、7、8时有值, type: integer source: type: string title: 订单来源 description: >- H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考) thirdPartyOrder: type: string title: 三方订单标识 required: - customerGroupId - customerId - customerNo - digits - direction - companyId ParamConfig: type: object properties: companyId: type: integer format: int64 description: 公司ID customerId: type: integer format: int64 description: 客户ID customerNo: type: string description: 客户编号 accountId: type: integer format: int64 description: 账户ID trace: type: string description: 跟踪码 ip: type: string description: 操作ip lang: type: string description: 请求语言 id: type: integer format: int64 description: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 revision: type: integer format: int32 description: 乐观锁 createBy: type: string description: 创建人 createTime: type: integer format: int64 description: 创建时间 updateBy: type: string description: 更新人 updateTime: type: integer format: int64 description: 更新时间 tradeType: type: integer format: int32 description: 交易玩法 1、2、3、4、CFDMM、CFDWBW、SPOT、FUTURES customerGroupId: type: integer format: int64 description: 客户组 0表示全部组 symbolId: type: integer format: int64 description: 产品 0表示全部产品 symbolGroupId: type: integer format: int64 description: 产品组 0表示全部组 paramId: type: integer format: int64 description: 参数项 value: type: string description: 参数值 isInherit: type: integer format: int32 description: 是否继承 1继承,2不继承,默认是1白标可以继承,可以对参数修改 BasePageVoSubjectWaterVo: type: object properties: records: type: array description: 结果列表 items: $ref: '#/components/schemas/SpotSubjectWaterVo' total: type: integer format: int64 description: 总数 size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 BaseResultTradeDeal: type: object properties: bizCode: type: string title: 模块标识码 code: type: string title: 状态返回码 msg: type: string title: 状态描述 tm: type: string title: 处理时长(毫秒) trace: type: string title: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 data: *ref_2 title: '' required: - bizCode - code - tm ParamConfigUpdate: type: object properties: customerNo: type: string description: 客户编号 id: type: integer format: int64 description: 记录ID tradeType: type: integer format: int32 description: 交易玩法 customerGroupId: type: integer format: int64 description: 客户组 symbolId: type: integer format: int64 description: 产品 symbolGroupId: type: integer format: int64 description: 产品组 paramId: type: integer format: int64 description: 参数项 value: type: string description: 参数值 required: - id - paramId - value BaseResultBasePageVoSpotSubjectWaterVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: $ref: '#/components/schemas/BasePageVoSubjectWaterVo' ok: type: boolean fail: type: boolean ParamConfigSave: type: object properties: customerNo: type: string description: 客户编号 tradeType: type: integer description: 交易玩法 format: int32 customerGroupId: type: integer format: int64 description: 客户组 symbolId: type: integer format: int64 description: 产品 symbolGroupId: type: integer format: int64 description: 产品组 paramId: type: integer description: 参数项 format: int64 value: type: string description: 参数值 required: - value - paramId - tradeType SpotOrderAddDto: type: object required: - bizType - direction - requestPrice - symbolId - tradeType - requestNum properties: tradeType: type: integer format: int64 minimum: 1 description: 玩法类型,固定值5 bizType: type: integer format: int32 description: 订单业务类型(市价:12、限价:13) direction: type: integer format: int32 description: 订单买卖方向(买方向:1;卖方向:2) symbolId: type: integer format: int64 description: 产品ID accountCurrency: type: string requestTime: type: integer format: int64 requestPrice: type: number description: 请求价格 requestNum: type: number description: 请求数量(买方向,当请求金额;卖方向,当请求数量) accountDigits: type: integer format: int32 remark: type: string BaseResultBoolean: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: type: boolean description: 数据体 ok: type: boolean fail: type: boolean MarginGroupUpdate: type: object properties: id: type: integer format: int64 description: 记录ID name: type: string description: 名称 marginDtoList: type: array description: 明细 items: &ref_3 $ref: '#/components/schemas/MarginDto' type: type: integer format: int32 description: 类型 values: type: string description: 数值 required: - id - type SpotOrderAddVo: type: object properties: orderId: type: integer format: int64 tradeVolume: type: string executePrice: type: string openDirection: type: integer format: int32 direction: type: integer format: int32 symbolName: type: string symbolId: type: integer format: int64 digits: type: integer format: int32 fee: type: string lockToken: type: string inCurrency: type: string inDigits: type: integer format: int32 inAmount: type: number DeleteDto: type: object properties: id: type: integer description: 记录ID format: int64 required: - id BaseResultSpotOrderAddVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: $ref: '#/components/schemas/SpotOrderAddVo' ok: type: boolean fail: type: boolean BaseResultMarginGroupPageVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: $ref: '#/components/schemas/MarginGroupPageVo' ok: type: boolean fail: type: boolean MarginGroupSave: type: object properties: name: type: string description: 名称 marginDtoList: type: array description: 明细 items: *ref_3 type: type: integer format: int32 description: 类型 values: type: string description: 数值 required: - name - marginDtoList - type SpotQueryOrderPageDto: type: object required: - customerGroupId - tradeType properties: tradeType: type: integer format: int64 minimum: 1 customerGroupId: type: integer format: int64 description: 客户组Id size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 sortFieldName: type: string sortType: type: string orderIds: type: string symbolId: type: integer format: int64 bizType: type: integer format: int64 direction: type: integer format: int64 status: type: integer format: int64 positionId: type: integer format: int64 MarginGroupPageVo: type: object properties: records: type: array description: 结果列表 items: $ref: '#/components/schemas/MarginGroupDto' total: type: integer format: int64 description: 总数 size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 BasePageVoSpotQueryOrderVo: type: object properties: records: type: array description: 结果列表 items: &ref_4 $ref: '#/components/schemas/SpotQueryOrderVo' total: type: integer format: int64 description: 总数 size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 MarginGroupDto: type: object properties: companyId: type: integer format: int64 description: 公司ID customerId: type: integer format: int64 description: 客户ID customerNo: type: string description: 客户编号 accountId: type: integer format: int64 description: 账户ID trace: type: string description: 跟踪码 ip: type: string description: 操作ip lang: type: string description: 请求语言 id: type: integer format: int64 description: 主键id status: type: integer format: int32 description: 状态 1、2、3、启用、禁用、删除 revision: type: integer format: int32 description: 乐观锁 createBy: type: string description: 创建人 createTime: type: integer format: int64 description: 创建时间 updateBy: type: string description: 更新人 updateTime: type: integer format: int64 description: 更新时间 name: type: string description: 名称 marginDtoList: type: array description: 明细 items: *ref_3 type: type: integer format: int32 description: 类型 values: type: string description: 数值 BaseResultSpotQueryOrderPageVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: description: 数据体 $ref: '#/components/schemas/BasePageVoSpotQueryOrderVo' ok: type: boolean fail: type: boolean MarginDto: type: object properties: marginGroupId: type: integer format: int64 description: 保证金组ID type: type: integer format: int32 description: 类型 values: type: string description: 数值 rangeLeft: type: number format: double description: 范围开始 rangeRight: type: number format: double description: 范围结束 percent: type: number description: 万分比 required: - marginGroupId - type - values - rangeLeft - rangeRight - percent SpotQueryOrderDto: type: object properties: orderId: type: integer format: int64 OrderPageDto: type: object properties: size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 orders: type: array description: 排序字段列表 items: $ref: '#/components/schemas/FieldOrderDto' BaseResultSpotQueryOrderVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: *ref_4 ok: type: boolean fail: type: boolean FieldOrderDto: type: object properties: column: type: string description: 排序字段列 asc: type: boolean description: 顺序方式 SpotQueryOrderVo: type: object properties: busiiType: type: integer format: int32 direction: type: integer format: int32 status: type: integer format: int32 userGroupId: type: integer format: int64 symbolId: type: integer format: int64 digits: type: integer format: int64 contractSize: type: integer format: int32 requestPrice: type: number requestNum: type: number requestTime: type: integer format: int64 executeMarginRate: type: integer format: int32 executeMarginRateDigits: type: integer format: int32 spread: type: integer format: int32 pointRatio: type: integer format: int32 executePrice: type: number executeRate: type: integer format: int64 rateDigits: type: integer format: int64 fee: type: number feeDigits: type: integer format: int64 executeTime: type: integer format: int64 createTime: type: integer format: int64 updateTime: type: integer format: int64 positionId: type: integer format: int64 stopLoss: type: number takeProfit: type: number remark: type: string SpotQueryOrderRecordPageDto: type: object properties: username: type: string size: type: integer format: int64 description: 每页条数 current: type: integer format: int64 description: 当前页 downloadType: type: integer format: int32 description: 下载类型 1:直接下载,2:异步下载 sortFieldName: type: string sortType: type: string tradeType: type: string orderType: type: string symbolId: type: integer format: int64 executeStartTime: type: integer format: int64 executeEndTime: type: integer format: int64 direction: type: string accountIds: type: string BaseResultSpotTradeRecordVo: type: object properties: bizCode: type: string description: 模块标识码 code: type: string description: 状态返回码 msg: type: string description: 状态描述 tm: type: integer format: int64 description: 处理时长(毫秒) trace: type: string description: 跟踪码 msgParams: type: string description: 返回描述中占位符参数串,多个参数间以,分割 data: $ref: '#/components/schemas/SpotTradeRecordVo' ok: type: boolean fail: type: boolean SpotTradeRecordList: type: object properties: symbolId: type: integer format: int64 orderId: type: integer format: int64 dealId: type: integer format: int64 bizType: type: integer format: int32 symbolName: type: string direction: type: integer format: int32 requestPrice: type: string executePrice: type: string requestNum: type: string executeNum: type: string loanAmount: type: string executeTime: type: integer format: int64 outCurrency: type: string inCurrency: type: string stopLoss: type: string takeProfit: type: string commission: type: string profitLoss: type: string overnightInterest: type: string numberStatisticMode: type: integer format: int32 accountCurrency: type: string moneyAmountCurrency: type: string symbolCode: type: string tradeAmount: type: string SpotOrderUpdateDto: type: object required: - customerGroupId - orderId - tradeType properties: tradeType: type: integer format: int64 minimum: 1 customerGroupId: type: integer format: int64 description: 客户组Id orderId: type: integer format: int64 remark: type: string SpotTradeRecordVo: type: object properties: companyId: type: integer format: int64 description: 公司ID customerId: type: integer format: int64 description: 客户ID customerNo: type: string description: 客户编号 accountId: type: integer format: int64 description: 账户ID trace: type: string description: 跟踪码 ip: type: string description: 操作ip lang: type: string description: 请求语言 size: type: integer format: int64 current: type: integer format: int64 totalPage: type: integer format: int64 list: type: array items: $ref: '#/components/schemas/SpotTradeRecordList' bizTypeText: type: object additionalProperties: type: string properties: {} Dict: type: object properties: name: type: string title: 名称 value: type: string title: 变量 required: - name - value ArrayList<Dict>: type: array items: $ref: '#/components/schemas/Dict' BaseResult: type: object properties: bizCode: type: string title: 模块标识码 description: 模块标识码 code: type: string title: 状态返回码 description: 状态返回码 msg: type: string title: 状态描述 description: 状态描述 tm: type: string title: 处理时长(毫秒) description: 处理时长(毫秒) trace: type: string title: 跟踪码 description: 跟踪码 msgParams: type: string title: 返回描述中占位符参数串,多个参数间以,分割 description: 返回描述中占位符参数串,多个参数间以,分割 data: type: object properties: {} title: 数据体 description: 数据体 title: '' required: - bizCode - code - tm securitySchemes: {} servers: - url: https://pre-api-test.cmfbl.com/openapi-b description: PRE环境-公司439 security: []