Authored by 刘传洋

sub-domain chg

... ... @@ -246,7 +246,8 @@ const getBrandShop = (query) => {
cache.set(cKey, ret.data, 3600);
return ret.data;
}
});return
return null;
});
}
});
};
... ... @@ -283,6 +284,7 @@ const getShopsByBrandId = bid => {
cache.set(cKey, ret.data, 3600);
return ret.data;
}
return null;
});
}
});
... ...
... ... @@ -16,10 +16,12 @@ module.exports = () => {
case 'item':// 商品详情页
break;
case 'search': // 搜索
if (!req.path) {
req.url = '/product/search/index';
if (req.path === '/product/search/suggest') {
req.url = '/product/search/suggest';
} else if (req.path === '/api/suggest') {
req.url = '/product/api/suggest';
} else {
req.url = '/product/search/index';
}
break;
case 'list': // 商品列表
... ...