diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index 45359a2..14226f2 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -82,7 +82,7 @@ class InquiryService extends BaseService } // 是否存在禁忌 - if (!empty($request_params['is_taboo'])) { + if (empty($request_params['is_taboo'])) { return fail(HttpEnumCode::HTTP_ERROR, "无法为您开具药物"); }