简要描述:
- 员工审批-审批记录-获取列表
请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号id}/plugin/StaffAudit/getRewardLog
请求类型
POST
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
search[uid] | 否 | int | 搜索条件-uid |
search[member] | 否 | string | 搜索条件-会员昵称等 |
search[apply_name] | 否 | string | 搜索条件-申请人 |
search[department_id] | 否 | int | 搜索条件-部门ID |
search[status] | 否 | int | 搜索条件-状态(0-待确认,1-待审核,2-审核通过,-1审核驳回)默认传空字符串 |
search[start_time] | 否 | int | 搜索条件-开始时间(时间戳) |
search[end_time] | 否 | int | 搜索条件-结束时间(时间戳) |
search[audit_staff_name] | 否 | string | 审批人姓名/手机号 |
search[admin_staff_name] | 否 | string | 管理员姓名/手机号 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 25,
"business_id": 11,
"uid": 164103,
"apply_name": "申请人2",//申请人
"department_id": 47,
"audit_staff_id": 0,
"admin_staff_id": 51,
"reward_point": "8.88",//奖励积分数
"status": 1,
"pass_time": 1669017242,
"created_at": "2022-11-21 15:54:02",
"updated_at": "2022-11-21 15:54:02",
"deleted_at": null,
"reward_status_str": "是",//到账状态
"department_name": "x测试部门1",//所在部门
"pass_time_str": "2022-11-21 15:54:02",//审批通过时间
//会员
"has_one_member": {
"avatar": "https://dev15.yunzmall.com/static/upload/newimage/abe46eca98c6e33fa82e3d6185bb3eb6.png",
"nickname": "15*******41",
"uid": 164103,
"avatar_image": "https://dev15.yunzmall.com/static/upload/newimage/abe46eca98c6e33fa82e3d6185bb3eb6.png",
"username": "15*******41"
},
//审批人
"has_one_audit_staff": {
"id": 51,
"name": "许家健233",//审批人昵称
"avatar": "",
"userid": null,
"avatar_mediaid": ""
}
"has_one_admin_staff": {
"id": 51,
"name": "许家健233",//管理员昵称
"avatar": "",
"userid": null,
"avatar_mediaid": ""
}
}
],
"first_page_url": "http://dev.yz/business/25/plugin/StaffAudit/getRewardLog?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://dev.yz/business/25/plugin/StaffAudit/getRewardLog?page=1",
"next_page_url": null,
"path": "http://dev.yz/business/25/plugin/StaffAudit/getRewardLog",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}