...
|
...
|
@@ -31,9 +31,9 @@ module.exports = () => { |
|
|
req.url = '/product/sale/special/detail';
|
|
|
break;
|
|
|
default: // 其它(识别为品牌)
|
|
|
req.url = `/product/brand/${req.subdomains[0]}`;
|
|
|
|
|
|
if (req.path === '/about') {
|
|
|
if (!req.path) {
|
|
|
req.url = `/product/brand/${req.subdomains[0]}`;
|
|
|
} else if (req.path === '/about') {
|
|
|
req.url = `/product/about/${req.subdomains[0]}`;
|
|
|
}
|
|
|
break;
|
...
|
...
|
|