请求URL
http://xx.com/balance/payLogs
Headers
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
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 |
备注