|
@@ -241,9 +241,6 @@ class Order extends Model
|
|
|
// 运费
|
|
|
// $deliveryPrice = Delivery::algorithm($delivery, array_sum($numbers));
|
|
|
$deliveryPrice = '0';
|
|
|
- foreach ($products as $product) {
|
|
|
- $deliveryPrice = bcadd($deliveryPrice,$product['yunfei_price'],2);
|
|
|
- }
|
|
|
|
|
|
// 总费用
|
|
|
$totalPrice = bcadd(bcsub($orderPrice, $discountPrice, 2), $deliveryPrice, 2);
|