简要描述:
- 聊天工具栏列表-后台
请求URL:
POST/business/{公众号id}/plugin/YunChat/toolbarGetList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页码 |
name | 否 | string | 名称 |
tool_bar_type | 否 | string | 类型 |
status | 否 | string | 状态:0-关闭,1-开启 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [
{
"id": 2,
"uniacid": 2,
"crop_id": 1,
"name": "问题1",
"display_order": 10,
"status": 1,
"type": 1,
"key_word_id": 10,
"h5_url": "h5_url1",
"mini_app_link": "mini_app_link1",
"created_at": "2021-12-27 09:39:06",
"updated_at": "2021-12-27 09:45:32",
"deleted_at": null,
"type_desc": "链接跳转"
},
{
"id": 1,
"uniacid": 2,
"crop_id": 1,
"name": "问题1",
"display_order": 10,
"status": 1,
"type": 0,
"key_word_id": 10,
"h5_url": "",
"mini_app_link": "",
"created_at": "2021-12-27 09:37:47",
"updated_at": "2021-12-27 09:37:47",
"deleted_at": null,
"type_desc": "关键词回复"
}
],
"first_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost:82/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | ID | |
name | string | 名称 | |
display_order | int | 排序 | |
status | int | 状态 | |
type | int | 类型:0-关键词回复,1-链接跳转 | |
type_desc | string | 类型描述 |