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
hf
9 years ago
Commit
46f8e74664c1a1c8c63f08109a1dd5d9e59406d9
1 parent
524c23d2
fixes bug to home page login show status
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/Bootstrap.php
yohobuy/m.yohobuy.com/configs/routes.product.ini
yohobuy/m.yohobuy.com/application/Bootstrap.php
View file @
46f8e74
...
...
@@ -89,6 +89,7 @@ class Bootstrap extends Bootstrap_Abstract
$module
=
'Guang'
;
break
;
case
'list'
:
// 商品列表
case
'item'
:
// 商品详情
$module
=
'Product'
;
break
;
default
:
// 其它(识别为品牌)
...
...
yohobuy/m.yohobuy.com/configs/routes.product.ini
View file @
46f8e74
...
...
@@ -4,3 +4,19 @@ routes.goodsfilter.match = "/search/filter"
routes.goodsfilter.route.module
=
Index
routes.goodsfilter.route.controller
=
Search
routes.goodsfilter.route.action
=
Filter
; 商品详情
routes.product.type
=
"regex"
routes.product.match
=
"#/product/pro_([0-9]+)_([0-9]+)/(.*)#"
routes.product.route.module
=
Product
routes.product.route.controller
=
Detail
routes.product.route.action
=
Index
routes.product.map.1
=
productId
routes.product.map.2
=
goodsId
routes.productintro.type
=
"regex"
routes.productintro.match
=
"#/product/intro_([0-9]+)/(.*).html#"
routes.productintro.route.module
=
Product
routes.productintro.route.controller
=
Detail
routes.productintro.route.action
=
Intro
routes.productintro.map.1
=
productSkn
...
...
Please
register
or
login
to post a comment