优化
This commit is contained in:
@ -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"
|
||||
.antMatchers("/app/login","/wgz/app/wgzRegister",
|
||||
"/app/bgt/recruit/htmlList","/app/bgt/apply/htmlList","/common/annex/getHtmlWgzAnnex"
|
||||
,"/download-folders","/upload-zip").permitAll()
|
||||
.antMatchers(
|
||||
HttpMethod.GET,
|
||||
|
Reference in New Issue
Block a user