...
|
...
|
@@ -227,8 +227,7 @@ class LoginController extends AbstractAction |
|
|
}
|
|
|
|
|
|
//判定是否需要绑定手机号
|
|
|
$isBind = $result['data']['is_bind'];
|
|
|
if ($isBind == 'N') {
|
|
|
if (isset($result['data']['is_bind']) && $result['data']['is_bind'] == 'N') {
|
|
|
$this->go(Helpers::url('/passport/bind/index', array('openId' => $access['openid'], 'sourceType' => 'qq', 'nickname' => $partnerInfo['nickname'])));
|
|
|
}
|
|
|
|
...
|
...
|
@@ -264,8 +263,7 @@ class LoginController extends AbstractAction |
|
|
$result = LoginData::signinByOpenID($partnerInfo['screen_name'], $access['uid'], 'sina');
|
|
|
}
|
|
|
//判定是否需要绑定手机号
|
|
|
$isBind = $result['data']['is_bind'];
|
|
|
if ($isBind == 'N') {
|
|
|
if (isset($result['data']['is_bind']) && $result['data']['is_bind'] == 'N') {
|
|
|
$this->go(Helpers::url('/passport/bind/index', array('openId' => $access['uid'], 'sourceType' => 'sina', 'nickname' => $partnerInfo['screen_name'])));
|
|
|
}
|
|
|
|
...
|
...
|
|