流水

请求URL
  • http://xx.com/balance/payLogs
Headers
  • token
请求方式
  • GET
参数
参数名 必选 类型 说明
type int 1后台充值
searchWord string 用户ID或昵称搜索
timeStart string 记录时间搜索,秒级时间戳,开始时间
timeEnd string 记录时间搜索,秒级时间戳,结束时间
返回示例
{
    "error_code": 0,
    "msg": "success",
    "data": [
        {
            "id": 1, //记录ID
            "type": 1, //1后台充值
            "user_id": 5,
            "money": "5.00", //操作金额
            "operator_id": 386,
            "describe": "零钱充值", //描述
            "created_at": "2021-11-22 11:37:33",
            "updated_at": "2021-11-22 11:37:33",
            "user": null,
            "operator": {
                "id": 386,
                "username": "cyd",
                "phone": "13800000001"
            }
        },
        {
            "id": 2,
            "type": 1,
            "user_id": 5,
            "money": "10.00",
            "operator_id": 386,
            "describe": "零钱充值",
            "created_at": "2021-11-22 11:37:45",
            "updated_at": "2021-11-22 11:37:45",
            "user": null,
            "operator": {
                "id": 386,
                "username": "cyd", //操作者昵称
                "phone": "13800000001"
            }
        },
        {
            "id": 3,
            "type": 1,
            "user_id": 1,
            "money": "10.00",
            "operator_id": 386,
            "describe": "零钱充值",
            "created_at": "2021-11-23 14:18:08",
            "updated_at": "2021-11-23 14:18:08",
            "user": {
                "id": 1,
                "nickname": "cyd", //用户昵称
                "phone": "13800000000"
            },
            "operator": {
                "id": 386,
                "username": "cyd", //操作者昵称
                "phone": "13800000001"
            }
        }
    ],
    "total": 3
}
返回参数说明
参数名 类型 说明
error_code int 0成功
msg string ok
备注
  • 更多返回错误代码请看首页的错误代码描述