...
|
...
|
@@ -788,8 +788,9 @@ class CartModel |
|
|
}
|
|
|
|
|
|
// 结算数据
|
|
|
$result['price'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']);
|
|
|
$result['activityPrice'] = Helpers::transPrice($data['shopping_cart_data']['discount_amount']);
|
|
|
$result['formulaPrice'] = $data['shopping_cart_data']['promotion_formula'];
|
|
|
/*$result['price'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']);
|
|
|
$result['activityPrice'] = Helpers::transPrice($data['shopping_cart_data']['discount_amount']);*/
|
|
|
$result['count'] = $data['shopping_cart_data']['selected_goods_count'];
|
|
|
$result['isAllSelected'] = ($data['shopping_cart_data']['goods_count'] === $data['shopping_cart_data']['selected_goods_count']) && ($data['shopping_cart_data']['selected_goods_count'] >0);
|
|
|
$result['sumPrice'] = Helpers::transPrice($data['shopping_cart_data']['last_order_amount']);
|
...
|
...
|
|