From 628dc80339406907a37c5ebbe70907ca537098d0 Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 2 Dec 2024 09:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7php=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=90=8E=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- member/modules/v1/controllers/DoctorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/member/modules/v1/controllers/DoctorController.php b/member/modules/v1/controllers/DoctorController.php index 7b5b5f8..830aefb 100644 --- a/member/modules/v1/controllers/DoctorController.php +++ b/member/modules/v1/controllers/DoctorController.php @@ -57,7 +57,7 @@ class DoctorController extends BaseAppController public function actionAllList() { $post = \Yii::$app->request->post(); - $keyword = $post['keyword']; + $keyword = $post['keyword']?? ''; $store_id = \Yii::$app->store; $su_id = StoreDoctor::find()->select('su_id')->where([ 'store_id' => $store_id,