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; } } }