This commit is contained in:
2025-02-24 19:12:16 +08:00
parent 35a644c5da
commit bb0d3d0146
10 changed files with 126 additions and 8 deletions

View File

@ -101,7 +101,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 过滤请求
.authorizeRequests()
// 对于登录login 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/app/login", "/captchaImage","/demo/tress/all").anonymous()
.antMatchers("/login", "/app/login", "/captchaImage","/demo/tress/all","/wgz/app/wgzRegister").anonymous()
.antMatchers(
HttpMethod.GET,
"/*.html",