...
|
...
|
@@ -32,7 +32,7 @@ class LoginController extends AbstractAction |
|
|
'registerUrl' => '/reg.html', // 注册的URL链接
|
|
|
'aliLoginUrl' => '/passport/login/alipay', // 支付宝快捷登录的URL链接
|
|
|
'weiboLoginUrl' => '/passport/login/sina', // 微博登录的URL链接
|
|
|
'qqLoginUrl' => '/passport/login/qq', // 腾讯QQ登录的URL链接
|
|
|
'qqLoginUrl' => '/passport/auth/qq', // 腾讯QQ登录的URL链接
|
|
|
'internationalUrl' => '/login.html', // 国际号登录的URL链接
|
|
|
'phoneRetriveUrl' => '/passport/back/mobile', // 通过手机号找回密码的URL链接
|
|
|
'emailRetriveUrl' => '/passport/back/email', // 通过邮箱找回密码的URL链接
|
...
|
...
|
@@ -209,9 +209,8 @@ class LoginController extends AbstractAction |
|
|
$access = $qqconnect->getAccessToken();
|
|
|
/* 获取QQ腾讯用户的详细信息 */
|
|
|
$partnerInfo = $qqconnect->getUserInfo($access);
|
|
|
|
|
|
$result = array();
|
|
|
if ($partnerInfo && is_array($partnerInfo)) {
|
|
|
if (!empty($partnerInfo) && isset($partnerInfo['nickname'])) {
|
|
|
$result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq');
|
|
|
}
|
|
|
|
...
|
...
|
|