账单流水
请求URL:
/userBill
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| page | 否 | uint | 当前页码 |
| pageSize | 否 | uint | 每页数量 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 5,
"amount": 59,
"content": "完善资料奖励",
"type": 5,
"createdAt": 1746749051
},
{
"id": 4,
"amount": -15,
"content": "聊天消费",
"type": 20,
"createdAt": 1746747845
},
{
"id": 3,
"amount": -15,
"content": "聊天消费",
"type": 20,
"createdAt": 1746747726
},
{
"id": 2,
"amount": -15,
"content": "聊天消费",
"type": 20,
"createdAt": 1746747686
},
{
"id": 1,
"amount": 59,
"content": "免费领取",
"type": 5,
"createdAt": 1746747360
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | Array | 账单数据 |
| -id | int | 账单ID |
| -amount | int | 账单金额 |
| -type | int | 账单类型 |
| -createdAt | int64 | 账单时间 |
备注
账单类型:1-注册赠送;5-免费领取;6-完善资料奖励;7-看广告免费领取;8-签到送金币;10-充值;20-聊天消费