报错
{"errcode":85005,"errmsg":"appid not bind weapp hint: [8bRFoA0823vr20]"}
源代码$data=<<<php
{
"button":[
{
"type":"click",
"name":"今日歌曲",
"key":"V1001_TODAY_MUSIC"
},
{
"name":"菜单",
"sub_button":[
{
"type":"view",
"name":"搜索",
"url":"http://www.soso.com/"
},
{
"type":"miniprogram",
"name":"wxa",
"url":"http://mp.weixin.qq.com",
"appid":"wxcd09e4334c41e09e",
"pagepath":"pages/lunar/index.html",
},
{
"type":"click",
"name":"赞一下我们",
"key":"V1001_GOOD"
}]
}]
}
php;
{"errcode":85005,"errmsg":"appid not bind weapp hint: [8bRFoA0823vr20]"}
源代码$data=<<<php
{
"button":[
{
"type":"click",
"name":"今日歌曲",
"key":"V1001_TODAY_MUSIC"
},
{
"name":"菜单",
"sub_button":[
{
"type":"view",
"name":"搜索",
"url":"http://www.soso.com/"
},
{
"type":"miniprogram",
"name":"wxa",
"url":"http://mp.weixin.qq.com",
"appid":"wxcd09e4334c41e09e",
"pagepath":"pages/lunar/index.html",
},
{
"type":"click",
"name":"赞一下我们",
"key":"V1001_GOOD"
}]
}]
}
php;
获取ACESSTOKEN的API是'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
提示的错误是appid错误,检查appid是不是填写错误。