...
|
...
|
@@ -852,7 +852,7 @@ const queryUserPromotionGift = (promotionId, uid, shoppingKey) => { |
|
|
if (promotionGifts && promotionGifts.code === 200) {
|
|
|
promotionGifts.data = chelper.formatPriceGiftOne(promotionGifts.data);
|
|
|
|
|
|
if(promotionGifts.data.goodsList && promotionGifts.data.goodsList.length) {
|
|
|
if (promotionGifts.data.goodsList && promotionGifts.data.goodsList.length) {
|
|
|
currentProduct = promotionGifts.data.goodsList[0];
|
|
|
}
|
|
|
|
...
|
...
|
@@ -875,7 +875,7 @@ const queryUserPromotionGift = (promotionId, uid, shoppingKey) => { |
|
|
}
|
|
|
|
|
|
// 获取选中商品的数据详情
|
|
|
if(currentProduct && currentProduct.id) {
|
|
|
if (currentProduct && currentProduct.id) {
|
|
|
promotionGifts.data.productInfo = yield getProductInfoAsync(currentProduct.id);
|
|
|
}
|
|
|
|
...
|
...
|
|