html52.com
我爱小程序-开发者交流社区

调用auth.code2Session,后端控制报错host parameter is null?

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

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

网友回复

杭州唯可趣:

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

你要请求的时候是否设置

contentType: "application/x-www-form-urlencoded",


评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付