From 0a8aa6040f74e33dad1cb4211b046b2958aaf577 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 10 Oct 2023 17:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8C=BB=E7=94=9F=E9=97=AE?= =?UTF-8?q?=E8=AF=8A=E9=85=8D=E7=BD=AE=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=BC=80=E5=85=B3=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorInquiryService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Services/DoctorInquiryService.php b/app/Services/DoctorInquiryService.php index 3ea3f69..a32bd0b 100644 --- a/app/Services/DoctorInquiryService.php +++ b/app/Services/DoctorInquiryService.php @@ -94,7 +94,9 @@ class DoctorInquiryService extends BaseService $result['info']['work_num_day'] = $doctor_inquiry_config['work_num_day'] ?: 0; // 接诊开关 - $is_open = 1; + if ($doctor_inquiry_config['is_enable'] == 1){ + $is_open = 1; + } } // 接诊开关