...
|
...
|
@@ -94,14 +94,20 @@ exports.intro = (req, res, next) => { |
|
|
return next();
|
|
|
}
|
|
|
|
|
|
introModel.getintroData({
|
|
|
introModel.getintroIntro({
|
|
|
productskn: req.params.productskn
|
|
|
}, req).then((result) => {
|
|
|
res.render('detail/intro', {
|
|
|
result: result,
|
|
|
layout: false
|
|
|
});
|
|
|
}).catch(next);
|
|
|
}, req).then(html => {
|
|
|
res.send(html);
|
|
|
});
|
|
|
|
|
|
// introModel.getintroData({
|
|
|
// productskn: req.params.productskn
|
|
|
// }, req).then((result) => {
|
|
|
// res.render('detail/intro', {
|
|
|
// result: result,
|
|
|
// layout: false
|
|
|
// });
|
|
|
// }).catch(next);
|
|
|
};
|
|
|
|
|
|
/**
|
...
|
...
|
|