Authored by 毕凯

Merge branch 'hotfix/guangNullGoods' into 'gray'

hotfix/guangNullGoods



See merge request !606
... ... @@ -381,7 +381,12 @@ const pushGoodsInfo = (finalDetail, goodsList, isApp) => {
_.forEach(finalDetail, (value, key) => {
if (value.relatedReco) {
_.forEach(value.relatedReco.goods, (item, subKey) => {
finalDetail[key].relatedReco.goods[subKey] = goodsObj[item.id];
if (goodsObj[item.id]) {
finalDetail[key].relatedReco.goods[subKey] = goodsObj[item.id];
} else {
delete finalDetail[key].relatedReco.goods[subKey];
finalDetail[key].relatedReco.moreNum--;
}
});
}
... ...