Authored by 郭成尧

banner-null-handle

... ... @@ -139,7 +139,11 @@ const shop = {
res.set('Cache-Control', 'no-cache');
}
params.brandHome.banner = brandBanner;
// 品牌没有 Banner 整个头部不显示
if (!brandBanner) {
params.brandHome = null;
}
params.newGoods = newGoods.list;
return true;
});
... ...