$contentStr = "<a href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa26d8f7dca073ed8&redirect_uri=http://ffdb1d4.ngrok.natapp.cn/test.php&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect'>体验一下</a>";
下面是授权页面的配置:
$contentStr = "<a href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa26d8f7dca073ed8&redirect_uri=http://ffdb1d4.ngrok.natapp.cn/test.php&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect'>体验一下</a>";
下面是授权页面的配置:
微信提示redirect_uri参数错误时检查授权回调页面域名, 如图
......
答案就在这里:微信提示redirect_uri参数错误
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。