记录下微信公众号的测试开发
# 网址
mp.weixin.qq.com/debug/
进入该网页后可以进行一系列的测试开发
# 部分重要接口调试
# 获取token
{
"grant_type": "client_credential",
"appid": "xxx",
"secret": "xxx"
}
# 自定义菜单
{
"button":[
{
"name":"菜单",
"sub_button":[
{
"type":"view",
"name":"预约登记",
"url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=xxx&redirect_uri=https://xxxxxx/access&response_type=code&scope=snsapi_base#wechat_redirect"
}
]
}]
}
# 其他
参考网站