From 28c1376ce853518597c981cbaeecd1ccd27945c7 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期三, 27 八月 2025 13:16:20 +0800 Subject: [PATCH] yys 完善生产管控 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java index 0f48b11..3900552 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java @@ -55,6 +55,7 @@ public CorsFilter corsFilter() { CorsConfiguration config = new CorsConfiguration(); + config.setAllowCredentials(true); // 璁剧疆璁块棶婧愬湴鍧� config.addAllowedOriginPattern("*"); // 璁剧疆璁块棶婧愯姹傚ご -- Gitblit v1.9.3