用户钻石任务
请求URL:
/userTask
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| curDate | 是 | int | 用户当前日期(格式:20250919) |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 2,
"title": "Complete Search",
"howOften": 2,
"amount": 5,
"condition": 3,
"updatedAt": 1758266608,
"process": 0,
"gotten": fasle
},
{
"id": 3,
"title": "Deep Dialogue",
"howOften": 2,
"amount": 5,
"condition": 30,
"updatedAt": 1758266613,
"process": 2,
"gotten": fasle
},
{
"id": 1,
"title": "Follow role",
"howOften": 1,
"amount": 4,
"condition": 3,
"updatedAt": 1758266618,
"process": 1,
"gotten": fasle
},
{
"id": 4,
"title": "Reaches Level 5 on that day",
"howOften": 2,
"amount": 5,
"condition": 5,
"updatedAt": 1758266621,
"process": 1,
"gotten": fasle
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | Array | 提示信息 |
| -id | int | 任务ID |
| -title | string | 标题 |
| -amount | int | 任务奖励钻石数 |
| -condition | int | 任务达成条件 |
| -process | int | 任务进度 |
| -gotten | bool | 是否已领取 |
备注