...
|
...
|
@@ -63,7 +63,7 @@ const formatAdvanceGoods = (advanceGood, isGift) => { |
|
|
promotionId: advanceGood.promotion_id,
|
|
|
promotionTitle: advanceGood.promotion_title,
|
|
|
status: advanceGood.status,
|
|
|
goods: _.get(advanceGood, 'gift_goods_List', []).map(good => {
|
|
|
goods: (_.get(advanceGood, 'gift_goods_List') || _.get(advanceGood, 'goods_list') || []).map(good => {
|
|
|
return {
|
|
|
id: good.product_skn,
|
|
|
name: good.product_name,
|
...
|
...
|
|