From 4e35a10fddb7b50161919fb09e5eace15275ce2f Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 22 十月 2026 15:30:05 +0800
Subject: [PATCH] 用户管理增加机构id,机构名称字段

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java |   10 +++++-----
 ruoyi-admin/src/main/resources/application.yml                               |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index b766dd5..af95dec 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -44,7 +44,7 @@
     # 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
     basename: i18n/messages
   profiles:
-    active: druid
+    active: prod
 #    active: druid
   # 鏂囦欢涓婁紶
   servlet:
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 8b9a213..2d7d622 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
@@ -111,11 +111,11 @@
                         "/**/*.js",
                         "/profile/**"
                 ).permitAll()
-                .antMatchers("/swagger-ui.html").permitAll()
-                .antMatchers("/swagger-resources/**").permitAll()
-                .antMatchers("/webjars/**").permitAll()
-                .antMatchers("/*/api-docs").permitAll()
-                .antMatchers("/druid/**").anonymous()
+//                .antMatchers("/swagger-ui.html").permitAll()
+//                .antMatchers("/swagger-resources/**").permitAll()
+//                .antMatchers("/webjars/**").permitAll()
+//                .antMatchers("/*/api-docs").permitAll()
+//                .antMatchers("/druid/**").anonymous()
                 // 闄や笂闈㈠鐨勬墍鏈夎姹傚叏閮ㄩ渶瑕侀壌鏉冭璇�
                 .anyRequest().authenticated()
                 .and()

--
Gitblit v1.9.3