From 7c687dd3c8fba9f7632f5e29d94a708e5f497abd Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 12 十月 2026 09:55:39 +0800
Subject: [PATCH] fix: 新增分组

---
 src/main/java/com/custom/webui/config/SecurityConfig.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/custom/webui/config/SecurityConfig.java b/src/main/java/com/custom/webui/config/SecurityConfig.java
index 14defd3..e71dbc7 100644
--- a/src/main/java/com/custom/webui/config/SecurityConfig.java
+++ b/src/main/java/com/custom/webui/config/SecurityConfig.java
@@ -103,8 +103,11 @@
                 "http://10.*.*.*:*"));
         config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
         config.setAllowedHeaders(List.of("*"));
-        // SSE 涓嶉渶瑕佹毚闇查澶栧ご锛屼繚鐣� Content-Type 渚夸簬鍓嶇鍒ゆ柇
-        config.setExposedHeaders(List.of("Content-Type"));
+        // 娴忚鍣ㄥ彧鍏佽鍓嶇鑴氭湰璇诲彇**鏄惧紡鏆撮湶**鐨勫搷搴斿ご銆�
+        // 瀵煎嚭鎺ュ彛鐨勫缓璁枃浠跺悕灏辨斁鍦� Content-Disposition 閲岋細
+        // 涓嶆毚闇茬殑璇濓紝鍗充娇鍝嶅簲閲屾湁杩欎釜澶村墠绔篃璇讳笉鍒帮紝
+        // 鍙兘閫�鍥炴湰鍦版嫾鐨勬枃浠跺悕 鈥斺�� 涓枃鏍囬涓庢椂闂存埑灏变涪浜嗐��
+        config.setExposedHeaders(List.of("Content-Type", "Content-Disposition"));
         config.setAllowCredentials(true);
         config.setMaxAge(3600L);
 

--
Gitblit v1.9.1