Authored by OF1706

m

@@ -83,7 +83,7 @@ const detailHeader = (req, res, next) => { @@ -83,7 +83,7 @@ const detailHeader = (req, res, next) => {
83 .then((result) => { 83 .then((result) => {
84 if (result.code === 200) { 84 if (result.code === 200) {
85 return res.render('product/detail-header', Object.assign({layout: false}, result.data)); 85 return res.render('product/detail-header', Object.assign({layout: false}, result.data));
86 - }else{ 86 + } else {
87 res.status(204).end(); 87 res.status(204).end();
88 } 88 }
89 }).catch(next); 89 }).catch(next);