...
|
...
|
@@ -433,7 +433,10 @@ const getCartData = (uid, shoppingKey, cartDelList) => { |
|
|
offShelves: chelper.formatOffShelves(_.get(advCartData, 'off_shelves_goods_list'), true, analysisData),
|
|
|
soldOuts: chelper.formatSoldOuts(_.get(advCartData, 'sold_out_goods_list'), true, analysisData),
|
|
|
promotionInfos: chelper.formatPromotionInfos(_.get(advCartData, 'promotion_info')),
|
|
|
stat: chelper.formatShoppingCartData(_.get(advCartData, 'shopping_cart_data'))
|
|
|
stat: chelper.formatShoppingCartData(_.get(advCartData, 'shopping_cart_data')),
|
|
|
ensureUrl: helpers.urlFormat('/cart/ensure', {
|
|
|
type: 2
|
|
|
})
|
|
|
};
|
|
|
|
|
|
let giftsList = chelper.formatPriceGifts(_.get(ordCartData, 'gift_list'));
|
...
|
...
|
@@ -454,7 +457,8 @@ const getCartData = (uid, shoppingKey, cartDelList) => { |
|
|
soldOuts: chelper.formatSoldOuts(_.get(ordCartData, 'sold_out_goods_list'), false, analysisData),
|
|
|
|
|
|
promotionInfos: chelper.formatPromotionInfos(_.get(ordCartData, 'promotion_info'), goodsList),
|
|
|
stat: chelper.formatShoppingCartData(_.get(ordCartData, 'shopping_cart_data'))
|
|
|
stat: chelper.formatShoppingCartData(_.get(ordCartData, 'shopping_cart_data')),
|
|
|
ensureUrl: helpers.urlFormat('/cart/ensure')
|
|
|
};
|
|
|
|
|
|
let advStat = result.advanceCart.stat;
|
...
|
...
|
|