宝箱列表

请求URL:

  • /getBoxes

请求方式:

  • POST

参数:

参数名 必选 类型 说明
无 无 无 无

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "title": "免费宝箱",
            "price": 0,
            "commissionRate": 0,
            "isShow": 1,
            "createdAt": "2026-09-16T08:14:59Z",
            "updatedAt": "2026-09-16T08:14:59Z"
        },
        {
            "id": 2,
            "title": "",
            "price": 199,
            "commissionRate": 0.1,
            "isShow": 1,
            "createdAt": "2026-09-16T08:15:36Z",
            "updatedAt": "2026-09-16T08:15:36Z"
        },
        {
            "id": 3,
            "title": "",
            "price": 999,
            "commissionRate": 0.1,
            "isShow": 1,
            "createdAt": "2026-09-16T08:15:54Z",
            "updatedAt": "2026-09-16T08:15:54Z"
        },
        {
            "id": 4,
            "title": "",
            "price": 1999,
            "commissionRate": 0.2,
            "isShow": 1,
            "createdAt": "2026-09-16T08:16:05Z",
            "updatedAt": "2026-09-16T08:16:05Z"
        },
        {
            "id": 5,
            "title": "",
            "price": 4999,
            "commissionRate": 0.3,
            "isShow": 1,
            "createdAt": "2026-09-16T08:16:19Z",
            "updatedAt": "2026-09-16T08:16:19Z"
        },
        {
            "id": 6,
            "title": "",
            "price": 9999,
            "commissionRate": 0.3,
            "isShow": 1,
            "createdAt": "2026-09-16T08:16:31Z",
            "updatedAt": "2026-09-16T08:16:31Z"
        },
        {
            "id": 7,
            "title": "",
            "price": 19999,
            "commissionRate": 0.3,
            "isShow": 1,
            "createdAt": "2026-09-16T08:16:41Z",
            "updatedAt": "2026-09-16T08:16:41Z"
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data array 数据列表
-id int 宝箱ID
-title string 宝箱名称
-price int 宝箱价格(美分)
-commissionRate float 抽成

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-09-16 18:04:04

results matching ""

    No results matching ""