...
|
...
|
@@ -25,11 +25,10 @@ exports.productLst = function(req, res, next) { |
|
|
filter_poolId: req.query.filter_poolId || ''
|
|
|
}, req.query));
|
|
|
} else if (req.query.is_ufo === 'Y') {
|
|
|
let keys = ['product_id', 'productPool', 'sort', 'brand', 'series', 'size'];
|
|
|
let keys = ['product_id', 'productPool', 'sort', 'brand', 'series', 'size', 'limit'];
|
|
|
let params = {
|
|
|
uid: uid,
|
|
|
udid: udid,
|
|
|
limit: 20
|
|
|
udid: udid
|
|
|
};
|
|
|
|
|
|
keys.forEach(function(k) {
|
...
|
...
|
@@ -38,10 +37,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'],
|
...
|
...
|
|