简要描述:
- 关键词回复列表--后台
请求URL:
GET/business/{公众号id}/plugin/YunChat/wordsReplyGetList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页码 |
rule_kwd | 否 | string | 关键词/规则名称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [{
"id": 1,
"uniacid": 3,
"crop_id": 1,
"title": "规则",
"reply_type": 0,
"key_words": "你好,关键词1",
"key_words_rule": "[{\"type\":2,\"word\":\"\你\好\"},{\"type\":1,\"word\":\"\关\键\词1\"}]",
"reply_contents": "[\"#\会\员\昵\称#<img src=\\\"https:\\\/\\\/release.yunzmall.com\\\/attachment\\\/image\\\/64f528043abc4ba95ba59b1863de4d3d.png\\\" \\\/><link href=\\\"https:\\\/\\\/www.baidu.com\\\" weapp_id=\\\"\小\程\序\原\始ID\\\" weapp_url=\\\"\小\程\序\路\径\\\">\百\度<\\\/link>\",\"\添\加\回\复\内\容1\",\"\添\加\回\复\内\容2\"]",
"created_at": "2021-08-10 13:34:43",
"updated_at": "2021-08-10 13:37:37",
"deleted_at": null,
"reply_contents_txt": "#会员昵称#<img src=\"https:\/\/release.yunzmall.com\/attachment\/image\/64f528043abc4ba95ba59b1863de4d3d.png\" \/><link href=\"https:\/\/www.baidu.com\" weapp_id=\"小程序原始ID\" weapp_url=\"小程序路径\">百度<\/link>;添加回复内容1;添加回复内容2"
}],
"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": 4,
"total": 4
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | ID | |
title | string | 规则名称 | |
key_words | string | 关键词 | |
reply_contents_txt | obj | 回复内容 |