Showing
1 changed file
with
2 additions
and
2 deletions
@@ -69,7 +69,7 @@ module.exports = () => { | @@ -69,7 +69,7 @@ module.exports = () => { | ||
69 | 69 | ||
70 | if (/^\/shop/.test(req.url)) { | 70 | if (/^\/shop/.test(req.url)) { |
71 | // SEO 店铺路由重写 新路由 | 71 | // SEO 店铺路由重写 新路由 |
72 | - req.url = `/product/${req.url}`; | 72 | + req.url = `/product${req.url}`; |
73 | } | 73 | } |
74 | 74 | ||
75 | if (/^\/list\/global/.test(req.url)) { | 75 | if (/^\/list\/global/.test(req.url)) { |
@@ -79,7 +79,7 @@ module.exports = () => { | @@ -79,7 +79,7 @@ module.exports = () => { | ||
79 | 79 | ||
80 | if (/^\/list/.test(req.url)) { | 80 | if (/^\/list/.test(req.url)) { |
81 | // 列表页路由重写 跳转到新的列表路由,进行参数的前置处理 | 81 | // 列表页路由重写 跳转到新的列表路由,进行参数的前置处理 |
82 | - req.url = `/product/${req.url}`; | 82 | + req.url = `/product${req.url}`; |
83 | } | 83 | } |
84 | 84 | ||
85 | if (/^\/boys-/.test(req.url)) { | 85 | if (/^\/boys-/.test(req.url)) { |
-
Please register or login to post a comment