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
whb
9 years ago
Commit
67adc0385c21c485ad06a57f4c9395bbf4839b71
1 parent
1a55c9b7
找回密码
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Index/Home.php
yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php
yohobuy/www.yohobuy.com/application/models/Index/Home.php
View file @
67adc03
...
...
@@ -79,8 +79,8 @@ class HomeModel
'is_new'
=>
$val
[
'is_new'
]
==
'Y'
?
true
:
false
,
// 'subnav' => array()
);
$index_sub
=
0
;
foreach
(
$val
[
'sub'
]
as
$sub
)
{
// 二级
$index_sub
=
0
;
$subnav
=
array
(
'name'
=>
$sub
[
'sort_name'
],
'name_en'
=>
$sub
[
'sort_name_en'
],
...
...
yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php
View file @
67adc03
...
...
@@ -205,6 +205,7 @@ class BackController extends WebAction {
$code
=
AuthCode
::
encode
(
$str
,
PassportModel
::
BACK_FIND_SECRET_KEY
);
$url
=
'/passport/back/backcode?code='
.
base64_encode
(
$code
);
$this
->
redirect
(
SITE_MAIN
.
$url
);
return
true
;
}
}
//出错直接跳到找回密码页
...
...
Please
register
or
login
to post a comment