Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
毕凯
7 years ago
Commit
7752e6bfbdc8ed95b8f147c3d33b76199ff1e2a1
2 parents
905357fe
6855d3ac
Merge branch 'master' of git.yoho.cn:fe/yohobuywap-node
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
apps/product/router.js
apps/product/router.js
View file @
7752e6b
...
...
@@ -155,6 +155,9 @@ router.get('/search/shop/goods', search.searchShopGoods); // 搜索店铺下的
router
.
get
(
'/list/global(/:pathParams)?'
,
rewrite
.
resolvePathParams
,
globalPro
.
list
);
// 全球购路由重写 全球购列表页
router
.
get
(
'/index/index'
,
rewrite
.
resolvePathParams
,
list
.
listNew
);
// 列表新的 URL
router
.
get
(
'/list/index'
,
rewrite
.
resolvePathParams
,
list
.
listNew
);
// 旧 兼容 PC 的链接
router
.
get
(
'/list(/:pathParams)?'
,
rewrite
.
resolvePathParams
,
list
.
listNew
);
// 列表新的 URL
router
.
get
(
'/search/category'
,
cors
,
...
...
Please
register
or
login
to post a comment