From 631567116cf7a381e9d62d83127bb2976aac644d Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 23 Feb 2023 15:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8C=BB=E9=99=A2=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAuthService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DoctorAuthService.php b/app/Services/DoctorAuthService.php index fccce8f..e36c229 100644 --- a/app/Services/DoctorAuthService.php +++ b/app/Services/DoctorAuthService.php @@ -364,7 +364,7 @@ class DoctorAuthService extends BaseService $params = array(); $params['hospital_id'] = $request_params['hospital_id']; $hospital = Hospital::getOne($params); - if (!empty($hospital)) { + if (empty($hospital)) { return fail(HttpEnumCode::HTTP_ERROR, "医院选择错误"); }