From eba3e0f74a3b8b613128a51fda5d35236360510b Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 29 Feb 2024 16:26:43 +0800 Subject: [PATCH] 1 --- app/Services/PatientDoctorService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PatientDoctorService.php b/app/Services/PatientDoctorService.php index 12cd3e6..5970be4 100644 --- a/app/Services/PatientDoctorService.php +++ b/app/Services/PatientDoctorService.php @@ -264,7 +264,7 @@ class PatientDoctorService extends BaseService $params = array(); $params['doctor_id'] = $user_doctor['doctor_id']; $params['inquiry_type'] = $inquiry_type; - $params['inquiry_mode'] = 1; + $params['inquiry_mode'] = $inquiry_mode; $doctor_inquiry_config = DoctorInquiryConfig::getOne($params); if (empty($doctor_inquiry_config)){ return fail(HttpEnumCode::HTTP_ERROR,"医生暂不可接诊");