Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xiaowei
9 years ago
Commit
4fd21c8d2a0966e06ab5e9f961a9a890fa7239b5
1 parent
6d5e4cf4
login跳转手机绑定页跳转优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
View file @
4fd21c8
...
...
@@ -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'
])));
}
...
...
Please
register
or
login
to post a comment