身体增强列表
请求URL:
/getBodyEnhances
请求方式:
- GET
header:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Authorization | 是 | string | 授权token |
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| 无 | 无 | 无 | 无 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 1,
"title": "Chest⁺",
"img": "",
"config": [
{
"id": 1,
"title": "Low",
"value": 2
}
],
"type": 1,
"workflowId": 0,
"sort": 0,
"createdAt": 1753062165,
"updatedAt": 1753134581
},
{
"id": 2,
"title": "Buttocks⁺",
"img": "",
"config": null,
"type": 1,
"workflowId": 0,
"sort": 0,
"createdAt": 1753062210,
"updatedAt": 1753134337
},
{
"id": 3,
"title": "Slim waist",
"img": "",
"config": null,
"type": 1,
"workflowId": 0,
"sort": 0,
"createdAt": 1753062242,
"updatedAt": 1753134339
},
{
"id": 4,
"title": "Videos🎬",
"img": "",
"config": null,
"type": 2,
"workflowId": 0,
"sort": 0,
"createdAt": 1753133967,
"updatedAt": 1753134171
},
{
"id": 5,
"title": "Photo✨",
"img": "",
"config": null,
"type": 3,
"workflowId": 0,
"sort": 0,
"createdAt": 1753133985,
"updatedAt": 1753134034
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | struct | 数据 |
| - id | int | 效果ID |
| - title | string | 效果标题 |
| - img | string | 图标 |
| - type | int | 类型:1-身体增强;2-视频;3-图片 |
| - workflowId | int | 工作流ID |
| - config | array | 效果配置 |
| -- id | int | 配置ID |
| -- title | string | 配置标题 |
| -- value | string|int | 参数值 |
备注 错误码: 510 系统异常 800 参数错误 900 无数据