From c5ec194984a5aba5f577280661ae0507a91d280c Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 8 Jan 2024 14:10:28 +0800 Subject: [PATCH] 1 --- app/Services/DoctorInquiryService.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Services/DoctorInquiryService.php b/app/Services/DoctorInquiryService.php index b658b16..ceb03f5 100644 --- a/app/Services/DoctorInquiryService.php +++ b/app/Services/DoctorInquiryService.php @@ -176,13 +176,6 @@ class DoctorInquiryService extends BaseService $params['inquiry_mode'] = $inquiry_mode; $doctor_inquiry_config = DoctorInquiryConfig::getOne($params); if (empty($doctor_inquiry_config)) { - // 无问诊配置,快速问诊创建问诊配置并打开问诊。其余类型直接返回错误 - if ($inquiry_type != 2){ - // 快速问诊可能会存在未创建的情况 - Db::rollBack(); - return fail(HttpEnumCode::HTTP_ERROR, "请先完善问诊配置"); - } - // 获取系统问诊配置表 $params = array(); $params['inquiry_type'] = $inquiry_type;