|
|
|
@ -97,7 +97,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
|
|
// 过滤请求
|
|
|
|
|
.authorizeRequests()
|
|
|
|
|
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
|
|
|
|
.antMatchers("/login", "/login/app","/login/app/fill/info","/register", "/captchaImage").anonymous()
|
|
|
|
|
.antMatchers("/login", "/login/app","/login/app/fill/info","/register", "/captchaImage","/common/upload").anonymous()
|
|
|
|
|
.antMatchers(
|
|
|
|
|
HttpMethod.GET,
|
|
|
|
|
"/",
|
|
|
|
|