Showing
1 changed file
with
1 additions
and
2 deletions
@@ -272,10 +272,9 @@ module.exports = class extends global.yoho.BaseModel { | @@ -272,10 +272,9 @@ module.exports = class extends global.yoho.BaseModel { | ||
272 | return res; | 272 | return res; |
273 | } | 273 | } |
274 | 274 | ||
275 | - _getNewProduct(sort) { | 275 | + _getNewProduct(sort) { // eslint-disable-line |
276 | return this.searchApi.getProductList({ | 276 | return this.searchApi.getProductList({ |
277 | limit: 10, | 277 | limit: 10, |
278 | - sort: sort, | ||
279 | order: 's_t_desc', | 278 | order: 's_t_desc', |
280 | page: _.random(1, 6000) | 279 | page: _.random(1, 6000) |
281 | }).then(result => { | 280 | }).then(result => { |
-
Please register or login to post a comment