...
|
...
|
@@ -122,6 +122,10 @@ class WxloginController extends HomeBaseController |
|
|
}
|
|
|
} else {
|
|
|
$url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=".Config::get('WX_APPID')."&redirect_uri=" . $redirect_uri . "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
|
|
|
echo "<pre/>";
|
|
|
print_r(22222222222);
|
|
|
print_r($redirect_uri);
|
|
|
die;
|
|
|
Header("Location: $url");
|
|
|
exit;
|
|
|
}
|
...
|
...
|
|