自定义菜单: 自定义菜单创建接口 /menu/create
请求地址:
返回结果:
- 200 OK
- Connection: keep-alive
- Date: Wed, 03 Jun 2020 03:22:12 GMT
- Content-Type: application/json; encoding=utf-8
- Content-Length: 27
{
"errcode": 0,
"errmsg": "ok"
}
提示:
Request successful
自定义菜单: 自定义菜单查询接口 /menu/get
请求地址:
返回结果:
- 200 OK
- Connection: keep-alive
- Date: Wed, 03 Jun 2020 03:27:51 GMT
- Content-Type: application/json; encoding=utf-8
- Content-Length: 292
{
"menu": {
"button": [
{
"type": "click",
"name": "今日歌曲",
"key": "V1001_TODAY_MUSIC",
"sub_button": [ ]
},
{
"name": "菜单",
"sub_button": [
{
"type": "view",
"name": "搜索",
"url": "http://www.soso.com/",
"sub_button": [ ]
},
{
"type": "click",
"name": "赞一下我们",
"key": "V1001_GOOD",
"sub_button": [ ]
}
]
}
]
}
}
老哥,接口调用错误了,需要使用https://api.weixin.qq.com/cgi-bin/menu/addconditional?access_token=ACCESS_TOKEN 这个接口创建个性化菜单