Authored by 郝肖肖

batch不加分页,否则商品顺序会乱

@@ -86,7 +86,6 @@ exports.resourcesGoodsList = (req, res, next) => { @@ -86,7 +86,6 @@ exports.resourcesGoodsList = (req, res, next) => {
86 86
87 param = { 87 param = {
88 productSkn: productSkn.split(','), 88 productSkn: productSkn.split(','),
89 - limit: req.body.limit,  
90 yh_channel: req.body.yh_channel 89 yh_channel: req.body.yh_channel
91 }; 90 };
92 91
@@ -50,8 +50,7 @@ const getProductBatch = (param, options) => { @@ -50,8 +50,7 @@ const getProductBatch = (param, options) => {
50 return api.get('', { 50 return api.get('', {
51 method: 'h5.product.batch', 51 method: 'h5.product.batch',
52 productSkn: param.productSkn.join(','), 52 productSkn: param.productSkn.join(','),
53 - yh_channel: param.yh_channel,  
54 - limit: param.limit || param.productSkn.length 53 + yh_channel: param.yh_channel
55 }).then(result => { 54 }).then(result => {
56 let data = {}; 55 let data = {};
57 56
@@ -231,7 +231,6 @@ plusstar = { @@ -231,7 +231,6 @@ plusstar = {
231 data: { 231 data: {
232 productSkn: skn.join(','), 232 productSkn: skn.join(','),
233 app_version: isApp, 233 app_version: isApp,
234 - limit: that.common.pagesize,  
235 yh_channel: that.ParentLiDom.index() + 1 234 yh_channel: that.ParentLiDom.index() + 1
236 }, 235 },
237 dataType: 'html', 236 dataType: 'html',