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
郭成尧
9 years ago
Commit
0eed0de16ac2092294c56b020542efd92d7d5562
1 parent
7e835413
'店铺介绍'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
yohobuy/www.yohobuy.com/configs/routes.product.ini
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
0eed0de
...
...
@@ -276,7 +276,7 @@ class IndexController extends WebAction
'shopBanner'
=>
array
(
'banner'
=>
$basisData
[
'shopTopBanner_base'
][
'banner'
],
// 2600x150
'shopHome'
=>
Helpers
::
url
(
'/'
,
array
(
'shopId'
=>
$shopId
),
$domain
),
'shopIntro'
=>
Helpers
::
url
(
'/aboutShop'
,
array
(
'shopId'
=>
$shopId
)),
'shopIntro'
=>
Helpers
::
url
(
'/aboutShop'
,
array
(
'shopId'
=>
$shopId
)
,
$domain
),
'coled'
=>
$shopIntro
[
'isFavorite'
],
'shopId'
=>
$shopId
),
...
...
yohobuy/www.yohobuy.com/configs/routes.product.ini
View file @
0eed0de
...
...
@@ -40,6 +40,13 @@ routes.brandabout.route.module = Product
routes.brandabout.route.controller
=
Index
routes.brandabout.route.action
=
About
;aboutShop(品牌介绍)
routes.brandabout.type
=
"rewrite"
routes.brandabout.match = "/aboutShop"
routes.brandabout.route.module
=
Product
routes.brandabout.route.controller
=
Index
routes.brandabout.route.action
=
aboutShop
; 商品详情
routes.item.type
=
"regex"
routes.item.match = "#/product/pro_([0-9]+)_([0-9]+)/(.*)#"
...
...
Please
register
or
login
to post a comment