收藏
回答

redirect_uri域名与后台配置不一致,错误码10003?

用的测试号

网址: https://demo2.yinux.xyz/my

构造的授权链接:

let url = window.location.href

let appid = 'wxa600b3f50b79bea8'

let scope = 'snsapi_base'

let state = 100

 let wxurl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${encodeURIComponent(url)}&response_type=code&scope=${scope}&state=${state}#wechat_redirect`

开发工具里面给的提示是:

手机给的提示是:

有没有大神知道是哪里的问题?

回答关注问题邀请回答
收藏

4 个回答

登录 后发表内容
问题标签