- 微信开发者工具getUserProfile总是提示用户拒绝授权?
调试库用的2.15.0 wx.getUserProfile({ desc: '用于完善个人资料', success: function(res) { var userInfo = res.userInfo // console.log('userInfo==>', userInfo) wx.setStorageSync('storage_info', 1);//本地标记 //下面将userInfo存入服务器中的用户个人资料 //... }, fail() { console.log("用户拒绝授权") } }) })
2021-04-26 - 生成二维码报错?
errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 60851e5d-2edcf6df-1809984d" https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=44_CGzOAu3J_rrDc7CloOqiu-0cvKSfkybRkOds689NMzvNX8o8tlcFnXFT41PYmGO32aO3VpXCg8wXFAodwAxsM83dNucsJItpi3ZJGq7bQGlsLsW64PCS-JYRP6vXSLY9j52eJTe73IYOcjMzRFMbAHADRY access_token 跟调试工具生成的都是一样的啊
2021-04-25