简要描述:

  • 后台首次访问自动回复接口

请求域名:

  • http://xx.com

请求URL:

GET:route=plugin.wechat.admin.reply.controller.welcome-auto-reply.index

参数:

无参数

返回示例:

正确时返回:

{
    "id": 47, 
    "content": "二维码", 
    "rid": 20, 
    "has_one_rule": {
        "id": 20, 
        "name": "yun_shop:wechat:aaa"
    }, 
    "is_set": 1
}

返回参数说明:

参数名 类型 说明
id int 关键字id
content string 关键字内容
rid int 规则id
is_set int 是否已设置自动回复,0为未设置,1为已设置,可通过该字段判断是否显示关键字
has_one_rule array 规则
has_one_rule参数名 类型 说明
id int 规则id
name string 规则名

备注:

  • 更多返回错误代码请看首页的错误代码描述