From bb206e9e0c05e7d3d5d989ecb6cd40cd293b6795 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 14:34:09 +0800
Subject: [PATCH] 修复核查计划明细导出异常:未录入记录时友好提示而非报错500

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
index ebd0250..ef340c6 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -102,7 +102,7 @@
                 // 瀵逛簬鐧诲綍login 娉ㄥ唽register 鍏佽鍖垮悕璁块棶
                 requests.requestMatchers("/login", "/register").permitAll()
                     // 闈欐�佽祫婧愶紝鍙尶鍚嶈闂�
-                    .requestMatchers(HttpMethod.GET, "/", "/*.html", "/**.html", "/**.css", "/**.js", "/profile/**").permitAll()
+                    .requestMatchers(HttpMethod.GET, "/", "/*.html", "/**.html", "/**.css", "/**.js", "/profile/**", "/img/**", "/word/**").permitAll()
                     .requestMatchers("/swagger-ui.html", "/v3/api-docs/**", "/swagger-ui/**", "/druid/**").permitAll()
                     // 闄や笂闈㈠鐨勬墍鏈夎姹傚叏閮ㄩ渶瑕侀壌鏉冭璇�
                     .anyRequest().authenticated();

--
Gitblit v1.9.3