uni.request({
url: 'https://api.weixin.qq.com/cgi-bin/stable_token',
method: 'POST',
data: {
appid: '', //填写appid
secret: '', //填写secret
grant_type: 'client_credential'
},
success(res) {}
});
返回 :{"errcode":41002,"errmsg":"appid missing rid: 67a57221-05924054-3254eef6"}
后端实现:
别看了,无法配置合法域名,通了也是白写
都无法配置合法域名,如何正常
appid 传参不对呀,打印appid 看看