...
|
...
|
@@ -1054,6 +1054,14 @@ const getMiniCartData = (uid, shoppingKey) => { |
|
|
})();
|
|
|
};
|
|
|
|
|
|
// 套餐添加购物车
|
|
|
const addBundleData = (params) => {
|
|
|
// params.productSkuList = _getLimitProductData(params);
|
|
|
return cartApi.addBundle(params).then(result => { // eslint-disable-line
|
|
|
return result;
|
|
|
});
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
|
|
getProductInfoAsync, /** 获取商品信息 **/
|
|
|
getCartData, /** 购物车数据 **/
|
...
|
...
|
@@ -1071,5 +1079,6 @@ module.exports = { |
|
|
swapGift, /** 重选赠品或加价购商品 **/
|
|
|
queryUserPromotionGift, /** 查询指定优惠下的可选赠品或加价购 **/
|
|
|
getCoupons, /** 获取优惠券列表 **/
|
|
|
getMiniCartData /** 首页mini购物车数据 **/
|
|
|
getMiniCartData, /** 首页mini购物车数据 **/
|
|
|
addBundleData /** 套餐添加购物车 **/
|
|
|
}; |
...
|
...
|
|