域名绝对一致,redirect_uri域名与后台配置不一致?这是什么鬼?

小程序 文章 2022-02-25 16:00 1784 0 全屏看文

AI助手支持GPT4.0

域名绝对一致,redirect_uri域名与后台配置不一致?这是什么鬼?The domain name is absolutely consistent, and the redirect_uri domain name is inconsistent with the background configuration? What the hell is this?

域名绝对一致,redirect_uri域名与后台配置不一致?这是什么鬼?

这个是手机端的页码,在更新到线上之前是经过测试公众号进行测试过的,所有流程走通过,测试公众号用的http,线上走的是https

公众号配置的域名,因为测试公众号没有多余的路径,线上环境有个后缀subscribe_base,担心不生效,所有直接配置了2个以防出错

服务器验证Token的接口地址,这些都是正常配置

也没有使用支付,为什么就一直出现域名配置错误,这TMD复制粘贴的,同样的代码放在测试公众号上就完全没问题,谁能给我远程看一下

The mobile phone official account is official account official account. All processes go through the test of the official account number HTTP, and the HTTPS domain name is the domain name, because there is no redundant route to test the public number, and there is a suffix subscribe_ on the online environment. Base, worried that what will not be effective, all configured directly 2 error prevention servers to verify Token's interface address, which are normal configuration and no payment is used. Why has the domain name configuration error been present? This TMD copy and paste, the same code is placed on the official account number. It's all right. Who can give me a remote look?

回答:

青寒:

没看到网页授权域名啊。

Mr.Zhao:

网页授权跟服务器URL推送没关系,一点关系都没有。权限里面有个网页授权获取用户信息,配置域名即可

圣殿骑士:

所以是https吗? 必须是https哦

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

琴伴一生:测试公众号用的http能通过,线上环境用https,我觉得跟https没多大关系吧~ 下面是链接 完全没有写错啊~ 这复制粘贴还能错?
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx617496184fff7ff8&redirect_uri=https%3A%2F%2Fwww.thinkjob.com%2Fsubscribe-base%2Fwechat_api%2Fget_place&response_type=code&scope=snsapi_base
圣殿骑士:那你检查appid 是否和这个是一致,报10003有点奇怪

-EOF-

AI助手支持GPT4.0