From 89c3d18a1f3cb84ba7928d45eb3918bea8773336 Mon Sep 17 00:00:00 2001 From: lq Date: Thu, 5 Dec 2024 15:57:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/controllers/doctor/DoctorController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/controllers/doctor/DoctorController.php b/admin/controllers/doctor/DoctorController.php index ebbb7a1..ddd0131 100644 --- a/admin/controllers/doctor/DoctorController.php +++ b/admin/controllers/doctor/DoctorController.php @@ -46,9 +46,9 @@ class DoctorController extends BaseAdminController ]); $name = $get['name']; $mobile = $get['mobile']; - $depart_id = $get['depart_id']; - $title_id = $get['title_id']; - $identity = $get['identity']; + $depart_id = $get['depart_id']?? 0; + $title_id = $get['title_id']?? 0; + $identity = $get['identity']?? 0; $admin = \Yii::$app->user->identity; switch ($get['status']) {