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); //触发订单创建事件