Showing
1 changed file
with
1 additions
and
1 deletions
@@ -46,7 +46,7 @@ const shop = (shopId, req, res, next, brandInfo) => { | @@ -46,7 +46,7 @@ const shop = (shopId, req, res, next, brandInfo) => { | ||
46 | Object.assign(result, {page: 'list'}); | 46 | Object.assign(result, {page: 'list'}); |
47 | 47 | ||
48 | // 基础店铺装修为空则不cache | 48 | // 基础店铺装修为空则不cache |
49 | - if (!result.shopTopBannerBase) { | 49 | + if (!result.brand || !result.brand.shopBanner) { |
50 | res.set('Cache-Control', 'no-cache'); | 50 | res.set('Cache-Control', 'no-cache'); |
51 | } | 51 | } |
52 | res.render('list/brand', result); | 52 | res.render('list/brand', result); |
-
Please register or login to post a comment