账单流水

请求URL:

  • /getUserBill

请求方式:

  • GET

参数:

参数名 必选 类型 说明
page int 当前页
page_size int 每页展示数

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 359,
            "userId": 1,
            "amount": 100,
            "content": "账户充值",
            "type": 10,
            "createdAt": 1745705505,
            "updatedAt": 1745705505
        },
        {
            "id": 358,
            "userId": 1,
            "amount": 100,
            "content": "账户充值",
            "type": 10,
            "createdAt": 1745705397,
            "updatedAt": 1745705397
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data array 数据列表
- id int 流水ID
- userId int 用户ID
- amount int 变动金额
- content string 描述
- type int 类型
- createdAt int 创建时间
- updatedAt int 更新时间

备注 type(类型)值:

1-注册赠送

5-免费领取 

6-完善资料赠送 

7-看广告免费领取 

10-账户充值

20-生图消耗

30-任务失败退款 
2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-06-05 16:01:19

results matching ""

    No results matching ""