简要描述:
- 客服列表--后台
请求URL:
GET/business/{公众号id}/plugin/YunChat/employeeGetList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页码 |
group_id | 否 | int | 客服组ID |
member_kwd | 否 | string | 会员昵称/手机号/id |
nickname | 否 | string | 客服昵称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [{
"id": 2,
"uniacid": 3,
"uid": 383,
"crop_id": 1,
"leader_id": 0,
"work_wechat_employee_id": 4,
"nickname": "zxc",
"group_id": 3,
"avatar": "https:\/\/release.yunzmall.com\/attachment\/image\/9e2cc6be3ec47e9b823c510584f45278.png",
"agent_id": "c16194302057813200003",
"status": 1,
"online_status": 0,
"created_at": "2021-04-22 14:26:41",
"member_avatar": "https:\/\/thirdwx.qlogo.cn\/mmopen\/q3ulwZqcp9wYhicb2gerwDSaUuct1z008uWCjZHpAwVC5IhJ2GszIbibicpicIEusEbKLyrN21pgYjuZIVLibFNiaWJ9icVKqgbxNor\/132",
"status_desc": "正常",
"h5_page_url": "https:\/\/release.yunzmall.com\/addons\/yun_shop\/?menu#\/chatWindow\/?groupId=3&employeeId=2&chatType=1&i=3",
"mini_url": "\/packageH\/chitchat\/chatWindow\/chatWindow?chatType=1&employeeId=2&groupId=3",
"agent_status": "已分配",
"has_one_member": {
"uid": 383,
"nickname": "卡卡",
"mobile": "15219025042",
"avatar": "http:\/\/thirdwx.qlogo.cn\/mmopen\/q3ulwZqcp9wYhicb2gerwDSaUuct1z008uWCjZHpAwVC5IhJ2GszIbibicpicIEusEbKLyrN21pgYjuZIVLibFNiaWJ9icVKqgbxNor\/132",
"avatar_image": "https:\/\/thirdwx.qlogo.cn\/mmopen\/q3ulwZqcp9wYhicb2gerwDSaUuct1z008uWCjZHpAwVC5IhJ2GszIbibicpicIEusEbKLyrN21pgYjuZIVLibFNiaWJ9icVKqgbxNor\/132",
"username": "卡卡"
},
"has_one_group": {
"id": 3,
"uniacid": 3,
"name": "客服三"
}
}],
"first_page_url": "https:\/\/release.yunzmall.com\/web\/index.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https:\/\/release.yunzmall.com\/web\/index.php?page=1",
"next_page_url": null,
"path": "https:\/\/release.yunzmall.com\/web\/index.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | 会话ID | |
has_one_member | obj | 会员信息 | |
nickname | string | 客服昵称 | |
avatar | string | 客服头像 | |
has_one_group | obj | 客服组信息 | |
h5_page_url | string | 客服页面链接 | |
mini_url | string | 客服小程序页面链接 | |
status | int | 状态 |