Authored by 郝肖肖

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

... ... @@ -86,7 +86,6 @@ exports.resourcesGoodsList = (req, res, next) => {
param = {
productSkn: productSkn.split(','),
limit: req.body.limit,
yh_channel: req.body.yh_channel
};
... ...
... ... @@ -50,8 +50,7 @@ const getProductBatch = (param, options) => {
return api.get('', {
method: 'h5.product.batch',
productSkn: param.productSkn.join(','),
yh_channel: param.yh_channel,
limit: param.limit || param.productSkn.length
yh_channel: param.yh_channel
}).then(result => {
let data = {};
... ...
... ... @@ -231,7 +231,6 @@ plusstar = {
data: {
productSkn: skn.join(','),
app_version: isApp,
limit: that.common.pagesize,
yh_channel: that.ParentLiDom.index() + 1
},
dataType: 'html',
... ...