Authored by 刘传洋

m

... ... @@ -371,10 +371,10 @@ const getRecommendProductAction = (req, res) => {
let channel = req.yoho.channel;
let uid = req.user.uid;
let udid = ghelper.getUdid(req, res);
let page = req.query.page || 1;
let page = Number(req.query.page || 1);
let ret;
if (page === '6') {
if (page <=0 || page >= 6) {
page = 1;
}
... ...