Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
hf
2015-11-05 08:12:59 +0800
Commit
4e01951573a95cfeaecaed32d66da91a19aa4ef5
2 parents
cc41f982
6651947f
Merge remote-tracking branch 'origin/develop'
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 @
4e01951
...
...
@@ -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 @
4e01951
...
...
@@ -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