简要描述:
- 用户登录接口
请求域名:
- http://xx.com
请求URL:
POST/business/{公众号id}/plugin/SopTask/getFriendsJobDetailsList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
job_id | 是 | int | 任务id |
search.keyword | 否 | string | 员工姓名 |
search.status | 否 | int | 0=未完成;1=完成 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"record_list": {
"current_page": 1,
"data": [
{
"user_id": "alncubus",
"status": 0,
"status_name": "未完成",
"staff": {
"user_id": "alncubus",
"name": "谢梓杰",
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0",
"userid": "alncubus",
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0"
}
},
{
"user_id": "happy",
"status": 1,
"status_name": "已完成",
"staff": {
"user_id": "happy",
"name": "朱家伟",
"avatar": "https://wework.qpic.cn/wwpic/360702_Q2-PIvfYSiWwX6Y_1655323375/0",
"userid": "happy",
"avatar_mediaid": "https://wework.qpic.cn/wwpic/360702_Q2-PIvfYSiWwX6Y_1655323375/0"
}
}
],
"first_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobDetailsList?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobDetailsList?page=1",
"next_page_url": null,
"path": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobDetailsList",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
},
"wait_count": 1,
"finish_count": 1,
"job_total": 2
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
wait_count | int | 未完成数量 |
finish_count | int | 完成数量 |
job_total | int | 任务总数 |