diff --git a/app/Service/Api/Order/PlaceOrderService.php b/app/Service/Api/Order/PlaceOrderService.php index 391ab5c..21e984b 100644 --- a/app/Service/Api/Order/PlaceOrderService.php +++ b/app/Service/Api/Order/PlaceOrderService.php @@ -200,7 +200,7 @@ class PlaceOrderService extends BaseOrderService $orderInsertModel->type = $this->orderType; $orderInsertModel->total_price = $this->orderRes['total_price']; $orderInsertModel->actual_price = max($this->orderRes['actual_price'], 0); - $orderInsertModel->discount_price = $this->orderRes['favorable_sundry_price'] + $this->orderRes['favorable_good_price']; + $orderInsertModel->discount_price = $this->orderRes['discount_price']; $orderInsertModel->append_price = $this->orderRes['sundry_price']; $orderInsertModel->append_copies = $this->orderRes['sundry_num']; $orderInsertModel->status = OrderCode::WAIT_PAY;