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