Authored by yangyang

增加Promotion字段

... ... @@ -64,7 +64,6 @@ class CartData
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.selected';
$param['product_sku_list'] = $sku;
if (!empty($uid)) {
$param['uid'] = $uid;
}
... ...
... ... @@ -634,6 +634,7 @@ class Helpers
$oneGoods['price'] = self::transPrice($value['last_vip_price']);
$oneGoods['isVipPrice'] = $value['sales_price'] !== $value['last_vip_price'];
$oneGoods['count'] = $value['buy_number'];
$oneGoods['promotion_id'] = $value['promotion_id'];
if ($isValid) {
// 库存不足
... ...