add limit-review by wenxue
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -25,10 +25,11 @@ exports.productLst = function(req, res, next) { | @@ -25,10 +25,11 @@ exports.productLst = function(req, res, next) { | ||
25 | filter_poolId: req.query.filter_poolId || '' | 25 | filter_poolId: req.query.filter_poolId || '' |
26 | }, req.query)); | 26 | }, req.query)); |
27 | } else if (req.query.is_ufo === 'Y') { | 27 | } else if (req.query.is_ufo === 'Y') { |
28 | - let keys = ['product_id', 'productPool', 'sort', 'brand', 'series', 'size', 'limit']; | 28 | + let keys = ['product_id', 'productPool', 'sort', 'brand', 'series', 'size']; |
29 | let params = { | 29 | let params = { |
30 | uid: uid, | 30 | uid: uid, |
31 | - udid: udid | 31 | + udid: udid, |
32 | + limit: req.query.limit || 20, | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | keys.forEach(function(k) { | 35 | keys.forEach(function(k) { |
-
Please register or login to post a comment