This commit is contained in:
2025-11-05 23:32:54 +08:00
parent b9dcaca1aa
commit 19c7ae4382
5 changed files with 167 additions and 4 deletions

View File

@@ -116,6 +116,8 @@ public class SecurityConfig
.antMatchers("/public/**").permitAll()
// 腾讯文档OAuth回调接口允许匿名访问
.antMatchers("/jarvis/tendoc/oauth/callback").permitAll()
// 腾讯文档OAuth回调接口备用路径允许匿名访问
.antMatchers("/tendoc-callback").permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()