Authored by 周少峰

Merge branch 'feature/cartAdd' into gray

... ... @@ -509,10 +509,13 @@ const addToCart = (productSku, buyNumber, goodsType, isEdit, promotionId, uid, s
if (ret && ret.code) {
result = {
code: ret.code,
data: yield getCartData(uid, shoppingKey, cartDelList)
data: yield getCartData(uid, shoppingKey || _.get(ret, 'data.shopping_key'), cartDelList)
};
}
if (!shoppingKey && result.data) {
result.data.shopping_key = _.get(ret, 'data.shopping_key');
}
/* if (empty($addCart) || (isset($addCart['code']) && $addCart['code'] !== 200) ) {
UdpLog::info('【购物车】校验参数传递auth','productSku:'.$productSku.'buyNumber:'.$buyNumber.
... ...