Authored by 陈峰

修复品牌主页数据验证bug

... ... @@ -296,7 +296,7 @@ const brand = (req, res, next) => {
}).then(brandHome => {
params.brandHome = brandHome;
if (!brandHome.id) {
if (!brandHome || !brandHome.id) {
res.set('Cache-Control', 'no-cache');
}
... ...