Authored by yyq

base shop cache

... ... @@ -46,7 +46,7 @@ const shop = (shopId, req, res, next, brandInfo) => {
Object.assign(result, {page: 'list'});
// 基础店铺装修为空则不cache
if (!result.shopTopBannerBase) {
if (!result.brand || !result.brand.shopBanner) {
res.set('Cache-Control', 'no-cache');
}
res.render('list/brand', result);
... ...