From 9869582606b324586a93f017692a252c48c1f6bc Mon Sep 17 00:00:00 2001 From: liqi Date: Thu, 6 Mar 2025 17:06:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eapi=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=A4=84=E6=96=B9=E7=94=9F=E6=88=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/v1/controllers/PrescriptionController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/service/modules/v1/controllers/PrescriptionController.php b/service/modules/v1/controllers/PrescriptionController.php index c602c2c..57cbd15 100644 --- a/service/modules/v1/controllers/PrescriptionController.php +++ b/service/modules/v1/controllers/PrescriptionController.php @@ -708,11 +708,11 @@ class PrescriptionController extends BaseAppController ]); $prescription = $param['prescription']; $productOrder = $param['product_order']; - //触发处方自动失效事件 - $prescriptionEvent = new PrescriptionEvent(); - $prescriptionEvent->prescription = $prescription; - $prescriptionEvent->sender = $this; - \Yii::$app->trigger(Prescription::AUTO_EXPIRE, $prescriptionEvent); +// //触发处方自动失效事件 +// $prescriptionEvent = new PrescriptionEvent(); +// $prescriptionEvent->prescription = $prescription; +// $prescriptionEvent->sender = $this; +// \Yii::$app->trigger(Prescription::AUTO_EXPIRE, $prescriptionEvent); //触发订单创建事件