...
|
...
|
@@ -67,7 +67,7 @@ const shop = { |
|
|
if (brandId === 0) {
|
|
|
params.query = domain;
|
|
|
}
|
|
|
if (brandShop.length > 0) {
|
|
|
if (brandShop.length > 0 || brandLogo) {
|
|
|
params = _.assign({
|
|
|
brandWay: _.isEmpty(brandShop) ? brandLogo : brandShop,
|
|
|
search: {
|
...
|
...
|
@@ -97,6 +97,7 @@ const shop = { |
|
|
});
|
|
|
}
|
|
|
}).then((isBrand) => {
|
|
|
// console.log(params);
|
|
|
if (isBrand) {
|
|
|
res.render('newshop/brand', {
|
|
|
module: 'product',
|
...
|
...
|
|