Showing
4 changed files
with
4 additions
and
3 deletions
@@ -63,7 +63,7 @@ const formatAdvanceGoods = (advanceGood, isGift) => { | @@ -63,7 +63,7 @@ const formatAdvanceGoods = (advanceGood, isGift) => { | ||
63 | promotionId: advanceGood.promotion_id, | 63 | promotionId: advanceGood.promotion_id, |
64 | promotionTitle: advanceGood.promotion_title, | 64 | promotionTitle: advanceGood.promotion_title, |
65 | status: advanceGood.status, | 65 | status: advanceGood.status, |
66 | - goods: _.get(advanceGood, 'gift_goods_List', []).map(good => { | 66 | + goods: (_.get(advanceGood, 'gift_goods_List') || _.get(advanceGood, 'goods_list') || []).map(good => { |
67 | return { | 67 | return { |
68 | id: good.product_skn, | 68 | id: good.product_skn, |
69 | name: good.product_name, | 69 | name: good.product_name, |
-
Please register or login to post a comment