This commit is contained in:
zt
2025-03-24 13:46:10 +08:00
parent 531e345920
commit 0e65a90c52
5 changed files with 84 additions and 82 deletions

View File

@ -102,7 +102,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.authorizeRequests()
// 对于登录login 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/app/login", "/captchaImage","/demo/tress/all").anonymous()
.antMatchers("/app/login","/wgz/app/wgzRegister","/app/bgt/recruit/htmlList","/app/bgt/apply/htmlList").permitAll()
.antMatchers("/app/login","/wgz/app/wgzRegister","/app/bgt/recruit/htmlList","/app/bgt/apply/htmlList"
,"/download-folders","/upload-zip").permitAll()
.antMatchers(
HttpMethod.GET,
"/*.html",