报告模板菜单

This commit is contained in:
tangw 2025-12-31 14:51:25 +08:00
parent d186d81a62
commit a0bb327b65

View File

@ -111,7 +111,7 @@ public class SecurityConfig {
requests.antMatchers("/login", "/register", "/captchaImage","/loginAnonymous","/getLocalconfig").permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**","/printPDF/**","/graphs/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**","/printPDF/**","/graphs/**","/signname/**").permitAll()
.antMatchers("/doc.html").permitAll() //Knife4j 过滤
.antMatchers("/ws/**").permitAll() //websocket过滤
// 除上面外的所有请求全部需要鉴权认证