Authored by OF1706

limit goods

... ... @@ -773,7 +773,6 @@ module.exports = class extends global.yoho.BaseModel {
return data;
},
video: data => {
console.log(data);
let result = {
video: []
... ... @@ -839,7 +838,8 @@ module.exports = class extends global.yoho.BaseModel {
_.forEach(it, (val, key) => {
if (key === 'goods') {
gpromises.push(that._articleContentFormat().goods(_.union(val.data, val.dataGlobal)));
gpromises.push(
that._articleContentFormat().goods(_.union(val.data, val.dataGlobal, val.dataLimit)));
return;
} else if (key === 'goodsGroup') {
... ...