From 2f92ef3dfc7730d837ba856cf062f46a4cfcf619 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Tue, 17 Dec 2024 16:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/OrderPrescriptionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/OrderPrescriptionService.php b/app/Services/OrderPrescriptionService.php index d21c7c9..a5751b2 100644 --- a/app/Services/OrderPrescriptionService.php +++ b/app/Services/OrderPrescriptionService.php @@ -560,7 +560,7 @@ class OrderPrescriptionService extends BaseService $result["amount"] = bcsub($value["product_price"],$value["actual_product_price"],2); // 优惠金额 $result["count"] = 1; - $promotion = array_push($promotion,$result); + $promotion[] = $result; } } }