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