简要描述:
根据企业获取推荐客服列表
请求URL:
plugin.decorate.admin.decorate-common.get-group-chat-employees
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
crop_id | 是 | string | 企业ID |
pageSize | 否 | number | 分页数量 默认20 |
page | 否 | int | 分页 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": [{
"id": 4,
"nickname": "测试1",
"avatar": "https:\/\/localhost:82\/attachment\/image\/5f3d6b80fbf44ea3ae709805acc1fdaa.png",
"h5_url": "http:\/\/localhost:82\/addons\/yun_shop\/?menu#\/chatWindow\/?groupId=6&employeeId=4&chatType=1&i=2",
"mini_url": "\/packageH\/chitchat\/chatWindow\/chatWindow?chatType=1&employeeId=4&groupId=6"
}]
}
错误时返回:
{
"result": 0,
"msg": "暂无数据",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data[total] | int | 数据总条数 |
data[per_page] | int | 每页显示多少条数据 |
data[current_page] | int | 当前页 |
data[data]返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | id |
nickname | string | 昵称 |
avatar | string | 头像 |
h5_url | string | h5客服页面url |
mini_url | string | 小程序客服页面url |
备注:
- 更多返回错误代码请看首页的错误代码描述