简要描述:
- 快捷回复列表--后台
请求URL:
GET/business/{公众号id}/plugin/YunChat/commonReplyGetList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页码 |
title | 否 | string | 标题 |
group_id | 否 | int | 客服组ID |
employee_nickname | 否 | string | 所属客服昵称关键词 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [{
"id": 8,
"uniacid": 3,
"group_id": 0,
"crop_id": 1,
"employee_id": 0,
"title": "编辑快捷",
"content": "管理员在后端添加的都是\"公共\"类型,客服在前端添加的是\"个人\"类型,快捷回复的类型是系统自动生成,不能修改\n",
"created_at": "2021-04-22 15:15:54",
"updated_at": "2021-04-22 15:15:54",
"deleted_at": null,
"group_name": "通用",
"type_desc": "公共",
"has_one_group": null,
"has_one_employee": null
}, {
"id": 5,
"uniacid": 3,
"group_id": 1,
"crop_id": 1,
"employee_id": 1,
"title": "物流",
"content": "物流物流物流物流物流物流物流物流物流",
"created_at": "2021-04-22 15:10:20",
"updated_at": "2021-04-22 15:10:20",
"deleted_at": null,
"group_name": "客服a",
"type_desc": "个人(Joyaa)",
"has_one_group": {
"id": 1,
"uniacid": 3,
"name": "客服a"
},
"has_one_employee": {
"id": 1,
"uniacid": 3,
"nickname": "Joyaa"
}
}],
"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": 7,
"total": 7
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | ID | |
title | string | 标题 | |
group_name | string | 所属客服组 | |
type_desc | string | 类型 | |
content | string | 内容 |