feat: config

This commit is contained in:
2025-03-23 19:07:29 +08:00
parent ca57f795ba
commit 87a5b2f9e1
5 changed files with 52 additions and 3 deletions

View File

@@ -201,6 +201,8 @@ class PlaceOrderService extends BaseOrderService
$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->append_price = $this->orderRes['sundry_price'];
$orderInsertModel->append_copies = $this->orderRes['sundry_num'];
$orderInsertModel->status = OrderCode::WAIT_PAY;
$orderInsertModel->is_refund_all = OrderCode::REFUND_NULL;
$orderInsertModel->order_json = json_encode($this->orderRes);