From e6e9eae1c7f1cff66192b7b0b1e93c3df2309e24 Mon Sep 17 00:00:00 2001 From: dengchun Date: Mon, 28 Jul 2025 21:16:51 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=201.=20=E5=BF=BD=E7=95=A5=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=E6=9D=83=E9=99=90=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/jeecg/config/shiro/ShiroConfig.java | 1 + .../modules/database/controller/ExperimentFileController.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/physical-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/physical-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 0330f84..41bc985 100644 --- a/physical-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/physical-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -99,6 +99,7 @@ public class ShiroConfig { filterChainDefinitionMap.put("/sys/common/static/**", "anon");//图片预览 &下载文件不限制token filterChainDefinitionMap.put("/sys/common/pdf/**", "anon");//pdf预览 filterChainDefinitionMap.put("/crawler/**", "anon");//pdf预览 + filterChainDefinitionMap.put("/database/experimentFile/uploadAll", "anon");//pdf批量上传接口 //filterChainDefinitionMap.put("/sys/common/view/**", "anon");//图片预览不限制token //filterChainDefinitionMap.put("/sys/common/download/**", "anon");//文件下载不限制token diff --git a/physical-module-system/physical-system-biz/src/main/java/org/jeecg/modules/database/controller/ExperimentFileController.java b/physical-module-system/physical-system-biz/src/main/java/org/jeecg/modules/database/controller/ExperimentFileController.java index 5f995f4..4e45bba 100644 --- a/physical-module-system/physical-system-biz/src/main/java/org/jeecg/modules/database/controller/ExperimentFileController.java +++ b/physical-module-system/physical-system-biz/src/main/java/org/jeecg/modules/database/controller/ExperimentFileController.java @@ -317,7 +317,8 @@ public class ExperimentFileController extends JeecgController