Authored by Rock Zhang

添加结算页快递运费

... ... @@ -404,6 +404,7 @@ class CartModel
$oneDeliv = array();
$oneDeliv['id'] = $val['delivery_way_id'];
$oneDeliv['name'] = $val['delivery_way_name'];
$oneDeliv['cost'] = $val['delivery_way_cost'];
($val['default'] === 'Y') && $defaultKey = $key;
$idArr[$key] = $oneDeliv['id'];
... ... @@ -505,7 +506,7 @@ class CartModel
$price = isset($orderCompute['last_order_amount']) ? $orderCompute['last_order_amount'] : $payReturn['shopping_cart_data']['last_order_amount'];
$result['price'] = Helpers::transPrice($price);
// 订单商品数
$result['num'] = $payReturn['shopping_cart_data']['goods_count'];
$result['num'] = $payReturn['shopping_cart_data']['selected_goods_count'];
// 商品金额
$result['goodsPrice'] = $payReturn['shopping_cart_data']['str_order_amount'];
}
... ...