Open yangboz opened 6 years ago
信息如下:
invalid appsecret, view more at http://t.cn/RAEkdVq, hints: [ req_id: jtjo.a0275shc1 ]
调用代码:
console.log("成功获取用户信息(公开信息)"); app.globalData.isGetUserInfo = true; self.setData({ userInfo: response.userInfo }); var url = Api.getOpenidUrl(); var data = { js_code: jscode, encryptedData: response.encryptedData, iv: response.iv, avatarUrl: response.userInfo.avatarUrl } var postOpenidRequest = wxRequest.postRequest(url, data); //获取openid postOpenidRequest.then(response =>
是不是旧版本代码问题?
报错很明显:错误的appsecret
信息如下:
调用代码:
是不是旧版本代码问题?