|
|
@@ -412,7 +412,7 @@ class OrderClass extends BaseClass
|
|
|
$itemPrice = $respond['price'] ?? 0;
|
|
|
$data['itemPrice'] = $itemPrice;
|
|
|
$currentPrice = bcadd($itemPrice, $sendCost, 2);
|
|
|
- $packCost = $data['packCost'] && $data['packCost'] > 0 ?? 0;
|
|
|
+ $packCost = isset($data['packCost']) && $data['packCost'] > 0 ? $data['packCost'] : 0;
|
|
|
$currentPrice = bcadd($currentPrice, $packCost, 2);
|
|
|
|
|
|
//预订单需要增加服务费
|