diff --git a/admin/controllers/base/DataController.php b/admin/controllers/base/DataController.php index 2b7a98e..8e60a60 100644 --- a/admin/controllers/base/DataController.php +++ b/admin/controllers/base/DataController.php @@ -230,10 +230,10 @@ class DataController extends BaseAdminController // ['prescription', 'required'], // ['product_order', 'required'], // ]); - return [ - gettype($prescription), - $prescription - ]; +// return [ +// gettype($prescription), +// $prescription +// ]; // $productOrder = $param['product_order']; //触发处方自动失效事件 // $prescriptionEvent = new PrescriptionEvent(); @@ -250,13 +250,13 @@ class DataController extends BaseAdminController //处方开具待支付订阅消息通知 \Yii::$app->queue->push(new PrescriptionCreated([ - 'orderId' => $prescription['id'], + 'orderId' => $prescription, ])); //处方生成短信通知药师审方 \Yii::$app->queue->push(new WaitApprovalMessageJob([ - 'orderId' => $prescription['id'], + 'orderId' => $prescription, ])); return ['ok']; }