Authored by yyq

Merge branch 'feature/1215' into release/6.9.17

... ... @@ -29,7 +29,7 @@ exports.productLst = function(req, res, next) {
let params = {
uid: uid,
udid: udid,
limit: 20
limit: req.query.limit || 20,
};
keys.forEach(function(k) {
... ... @@ -38,10 +38,6 @@ exports.productLst = function(req, res, next) {
}
});
if (req.query.limit < 100) {
params.limit = req.query.limit;
}
getProductList = req.ctx(model).ufoProductList(params);
} else {
let keys = ['sort', 'misort', 'msort', 'gender', 'brand'],
... ...