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 +++++-----
1 files changed, 5 insertions(+), 5 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 700db2d..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
@@ -101,7 +101,7 @@
// 杩囨护璇锋眰
.authorizeRequests()
// 瀵逛簬鐧诲綍login 娉ㄥ唽register 楠岃瘉鐮乧aptchaImage 鍏佽鍖垮悕璁块棶
- .antMatchers("/login", "/openidlogin", "/register", "/captchaImage", "/getToken","/getCode").anonymous()
+ .antMatchers("/login", "/openidlogin", "/register", "/captchaImage", "/getToken","/GiLink/getCode").anonymous()
.antMatchers(
HttpMethod.GET,
"/",
@@ -111,10 +111,10 @@
"/**/*.js",
"/profile/**"
).permitAll()
- .antMatchers("/swagger-ui.html").permitAll()
- .antMatchers("/swagger-resources/**").permitAll()
- .antMatchers("/webjars/**").permitAll()
- .antMatchers("/*/api-docs").permitAll()
+// .antMatchers("/swagger-ui.html").permitAll()
+// .antMatchers("/swagger-resources/**").permitAll()
+// .antMatchers("/webjars/**").permitAll()
+// .antMatchers("/*/api-docs").permitAll()
// .antMatchers("/druid/**").anonymous()
// 闄や笂闈㈠鐨勬墍鏈夎姹傚叏閮ㄩ渶瑕侀壌鏉冭璇�
.anyRequest().authenticated()
--
Gitblit v1.9.3