新增白名单

master
Diyu0904 2025-02-21 15:35:47 +08:00
parent ecc03229bd
commit 4b60032c5e
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ public class SecurityConfig {
"/system/user/selectUserById", "/system/user/selectUserById",
"/system/dict/data/type/**", "/system/dict/data/type/**",
"/attention/selectAttention", "/attention/selectAttention",
"/attention/selectUserInfo" "/attention/selectUserInfo",
"/WorkFlowVersion/selectVersionByWorkId"
).permitAll() ).permitAll()
// 静态资源,可匿名访问 // 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()