Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
周少峰
9 years ago
Commit
b4b420b6e47d4abaca535071faa6b49c063df8da
2 parents
540ca076
6629d5cf
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Index/Home.php
yohobuy/www.yohobuy.com/configs/routes.product.ini
yohobuy/www.yohobuy.com/application/models/Index/Home.php
View file @
b4b420b
...
...
@@ -62,7 +62,6 @@ class HomeModel
if
(
empty
(
$data
))
{
return
array
();
}
$menu
=
array
();
$key
=
sprintf
(
'%s_%s_%s'
,
CacheConfig
::
KEY_WEB_HOME_NAVBAR_DATA
,
md5
(
serialize
(
$data
)),
$channel
);
$menu
=
Cache
::
get
(
$key
);
...
...
yohobuy/www.yohobuy.com/configs/routes.product.ini
View file @
b4b420b
...
...
@@ -4,3 +4,17 @@ routes.productsale.match = "/sale"
routes.productsale.route.module
=
Product
routes.productsale.route.controller
=
List
routes.productsale.route.action
=
sale
; list专区(new)
routes.productnew.type
=
"rewrite"
routes.productnew.match = "/new"
routes.productnew.route.module
=
Product
routes.productnew.route.controller
=
List
routes.productnew.route.action
=
new
;list(根据product_skn获取产品图片信息)
routes.productgetProductPic.type
=
"rewrite"
routes.productgetProductPic.match = "/getProductPic"
routes.productgetProductPic.route.module
=
Product
routes.productgetProductPic.route.controller
=
List
routes.productgetProductPic.route.action
=
getProductPic
...
...
Please
register
or
login
to post a comment