Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
e7989eb016f501e257930af9f094f886aea54334
1 parent
4056b085
global in normal
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/router.js
apps/product/router.js
View file @
e7989eb
...
...
@@ -67,7 +67,7 @@ router.get('/outlets/:channel', outlets.channel); // 奥莱频道页
// 商品分类列表页
router
.
get
(
'/list'
,
outletsList
.
index
);
router
.
get
(
/
\/([\d]
+
)(
.*
)
/
,
detail
.
showMain
);
// 新的商品详情routers
router
.
get
(
/
^
\/([\d]
+
)(
.*
)
/
,
detail
.
showMain
);
// 新的商品详情routers
router
.
get
(
/
\/
p
([\d]
+
)(
.*
)
/
,
detail
.
showMainBack
);
// 新的商品详情routers
router
.
get
(
'/detail/comment'
,
detail
.
indexComment
);
// 商品评论
router
.
get
(
'/detail/consult'
,
detail
.
indexConsult
);
// 商品咨询
...
...
Please
register
or
login
to post a comment