调用auth.code2Session,后端控制报错host parameter is null?
发布于 5 年前 作者 wkong 2776 次浏览 来自 官方Issues

拼接地址直接浏览器直接访问,返回报错

{"errcode":40125,"errmsg":"invalid appsecret, view more at http:\/\/t.cn\/RAEkdVq, hints: [ req_id: XfofIfyFe-8hbgWA ]"}
1 回复

拼接的过程,appsecret 出错了吧。

你要请求的时候是否设置

contentType: “application/x-www-form-urlencoded”,

回到顶部