苹果上用redirect_uri参数错误,安卓的就可以这是为什么?
苹果调用https://open.weixin.qq.com/connect/oauth2/autho [图片],小程序是用了两年了的,回调域名也设置好了,昨天都是正常,今天就错误了,奇怪的是安卓机就是正常,苹果和pc端都报这个错 授权域名配置 [图片] H5页面的代码 // 登入 function login() { let user = { username: document.getElementById("username").value, password: document.getElementById("password").value, gssx: gssx }; if (user.username == "" || user.password == "") { alert("账号密码不能为空!"); return; } user = JSON.stringify(user); let REDIRECT_URI = encodeURIComponent("https://wl.msrenyi.com/h5/index.html"); location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx95xxxxxxxxx&redirect_uri=${REDIRECT_URI}&response_type=code&scope=snsapi_userinfo&state=${user}#wechat_redirect`; }