Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
6651947f9a923932bde4b70bb0c53d4d65aaa3e1
1 parent
c4502e67
修复根据邮箱找回密码不能成功的bug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/LibModels/Wap/Passport/BackData.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Back.php
library/LibModels/Wap/Passport/BackData.php
View file @
6651947
...
...
@@ -63,7 +63,7 @@ class BackData
$param
[
'code'
]
=
$code
;
// 默认返回的不是json类型数据,是html
return
Yohobuy
::
pos
t
(
Yohobuy
::
YOHOBUY_URL
.
'passport/back/update'
,
$param
,
true
);
return
Yohobuy
::
ge
t
(
Yohobuy
::
YOHOBUY_URL
.
'passport/back/update'
,
$param
,
true
);
}
...
...
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Back.php
View file @
6651947
...
...
@@ -129,7 +129,8 @@ class BackController extends AbstractAction
$data
=
BackData
::
modifyPasswordByEmail
(
$pwd
,
$code
);
$result
=
array
(
'code'
=>
200
);
$result
=
array
(
'code'
=>
200
,
'data'
=>
'/signin.html'
);
print_r
(
$data
);
if
(
strpos
(
$data
,
'history.back'
)
!==
false
)
{
$result
[
'code'
]
=
400
;
...
...
Please
register
or
login
to post a comment