...
|
...
|
@@ -69,7 +69,7 @@ module.exports = () => { |
|
|
|
|
|
if (/^\/shop/.test(req.url)) {
|
|
|
// SEO 店铺路由重写 新路由
|
|
|
req.url = `/product/${req.url}`;
|
|
|
req.url = `/product${req.url}`;
|
|
|
}
|
|
|
|
|
|
if (/^\/list\/global/.test(req.url)) {
|
...
|
...
|
@@ -79,7 +79,7 @@ module.exports = () => { |
|
|
|
|
|
if (/^\/list/.test(req.url)) {
|
|
|
// 列表页路由重写 跳转到新的列表路由,进行参数的前置处理
|
|
|
req.url = `/product/${req.url}`;
|
|
|
req.url = `/product${req.url}`;
|
|
|
}
|
|
|
|
|
|
if (/^\/boys-/.test(req.url)) {
|
...
|
...
|
|