微信网页授权一直10003,不知道什么原因?

小程序 文章 2022-02-25 18:40 349 0 全屏看文

AI助手支持GPT4.0

微信网页授权一直10003,不知道什么原因?WeChat webpage authorization has been 10003, do not know why?

微信网页授权一直10003,不知道什么原因?

错误截图 :

配置截图:网页授权域名 + 域名备案 + 微信的txt文件放在根目录下,都做了


js 代码

window.location = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=我的appid&redirect_uri=" +encodeURIComponent('https://gzh.wlzxxls.com/wap.html') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";


请问哪位大神帮我解答一下,为什么还报10003

Error screenshot: configuration screenshot: the txt files of web page authorized domain name + domain name filing + wechat are placed in the root directory, with JS code window location = " https://open.weixin.qq.com/connect/oauth2/authorize?appid= My appid & redirect_ uri=" +encodeURIComponent(' https://gzh.wlzxxls.com/wap.html ') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"; Which God can help me answer it? Why do you still report 10003

回答:

圣殿骑士:

这个域名白名单 也加下 www.wlzxxls.com 试试看?

若认为该回答有用,给回答者点个[ 有用 ],让答案帮助更多的人

🐘:加了,也不行。能不能帮我邀请一下官网回答
微喵网络:

appid对吗?

🐘:对的
🐘:对的

-EOF-

AI助手支持GPT4.0