PVP类别
请求URL:
/pvpLevelList
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| 无 | 无 | 无 | 无 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 1,
"title": "PVP类别一",
"boxIds": "[2,3,6]",
"createdAt": "2026-09-18T09:36:46Z",
"updatedAt": "2026-09-18T09:36:46Z"
},
{
"id": 2,
"title": "PVP类别二",
"boxIds": "[4,5,7]",
"createdAt": "2026-09-18T09:37:13Z",
"updatedAt": "2026-09-18T09:37:13Z"
},
{
"id": 3,
"title": "PVP类别三",
"boxIds": "[5,6,7]",
"createdAt": "2026-09-18T09:37:25Z",
"updatedAt": "2026-09-18T09:37:25Z"
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | struct | 数据 |
| -id | int | 类别ID |
| -title | string | 类别名称 |
| -boxIds | []int | 该类别包含的宝箱ID |
备注