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;