Authored by OF1706

limit goods

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