uni.login({ provider: "weixin", onlyAuthorize:true, success(wxRes) { console.log('wxRes',wxRes) } }) 返回的错误
猫的我吖 (作者)
后端没有在其他地方使用过,我这边就直接生成一个新的用微信官方的链接(https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code)改成自己的APPID和secret去测试,提示40029(错误码),确定是没用过的code
2022-07-25 10:32