$gateUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb0212836f703df5d&response_type=code&scope=snsapi_userinfo&connect_redirect=1&state=&redirect_uri=$thisUrl#wechat_redirect";
header('Location: ' . $gateUrl);
提示
redirect_uri与后台配置不一致
$thisUrl 与后台是否一致?