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
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
660fccf88db07903e330fdd95d04c23d514ec12a
1 parent
017602ef
passport
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
library/Action/WebAction.php
yohobuy/www.yohobuy.com/application/models/Passport/Passport.php
yohobuy/www.yohobuy.com/configs/routes.product.ini
library/Action/WebAction.php
View file @
660fccf
...
...
@@ -473,7 +473,8 @@ class WebAction extends Controller_Abstract
$header
=
array
(
'navbars'
=>
\Index\HomeModel
::
getNavBars
(
$channel
),
'gobytype'
=>
'gobuy'
.
$channel
,
'searchcate'
=>
'searchcate'
.
$channel
'searchcate'
=>
'searchcate'
.
$channel
,
'header'
=>
true
,
);
$this
->
_view
->
assign
(
'headerdata'
,
$header
);
}
...
...
yohobuy/www.yohobuy.com/application/models/Passport/Passport.php
View file @
660fccf
...
...
@@ -36,7 +36,7 @@ class PassportModel
'orderHref'
=>
Helpers
::
url
(
'/home/orders?t='
.
time
()),
//订单中心连接
'helpHref'
=>
Helpers
::
url
(
'/help'
),
);
$tool
+=
array
(
$tool
+=
array
(
'loginHref'
=>
Helpers
::
url
(
'/signin.html'
),
//登录链接,已登录不传
'registerHref'
=>
Helpers
::
url
(
'/reg.html'
),
//注册链接,已登录不传
);
...
...
@@ -45,7 +45,8 @@ class PassportModel
'img'
=>
'http://static.yohobuy.com/newheader/img/logo_e.png'
,
'url'
=>
SITE_MAIN
),
'tool'
=>
$tool
'tool'
=>
$tool
,
'simpleHeader'
=>
true
,
);
return
$simpleHeader
;
}
...
...
yohobuy/www.yohobuy.com/configs/routes.product.ini
View file @
660fccf
...
...
@@ -25,3 +25,11 @@ routes.searchsuggest.match = "/api/suggest"
routes.searchsuggest.route.module
=
Product
routes.searchsuggest.route.controller
=
Search
routes.searchsuggest.route.action
=
suggest
;about(品牌介绍)
routes.brandabout.type
=
"rewrite"
routes.brandabout.match = "/about"
routes.brandabout.route.module
=
Product
routes.brandabout.route.controller
=
Index
routes.brandabout.route.action
=
brandIntro
\ No newline at end of file
...
...
Please
register
or
login
to post a comment