新增api通知处方生成功能
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
//触发订单创建事件
|
||||
|
||||
Reference in New Issue
Block a user