From f88d13afb09ee35f3292683bbacf0cc353403631 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 25 十月 2024 17:50:11 +0800
Subject: [PATCH] bug fix

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java
index 68fefd8..c77b2d0 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java
@@ -26,6 +26,7 @@
 import cn.lihu.jh.module.ecg.service.checktype.CheckTypeService;
 
 import javax.annotation.Resource;
+import javax.annotation.security.PermitAll;
 import javax.servlet.http.HttpServletResponse;
 import javax.validation.Valid;
 
@@ -94,7 +95,7 @@
 
     @GetMapping("/list-simple-check-type")
     @Operation(summary = "鑾峰緱绠�鍗曟鏌ョ被鍨嬪垪琛�")
-    @PreAuthorize("@ss.hasPermission('ecg:check-type:query')")
+    @PermitAll
     public CommonResult<List<SimpleCheckTypeRespVO>> getSimpleCheckTypeList() {
         List<CheckTypeDO> list = checkTypeService.getSimpleCheckTypeList();
         return success(BeanUtils.toBean(list, SimpleCheckTypeRespVO.class));

--
Gitblit v1.9.3