|
|
@@ -102,7 +102,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
.authorizeRequests()
|
|
|
// 对于登录login 验证码captchaImage 允许匿名访问
|
|
|
.antMatchers("/login", "/captchaImage", "/testLogin").anonymous()
|
|
|
- .antMatchers("/aliyun/oss/policy", "/aliyun/oss/callback").anonymous()
|
|
|
.antMatchers(
|
|
|
HttpMethod.GET,
|
|
|
"/*.html",
|
|
|
@@ -112,7 +111,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
).permitAll()
|
|
|
.antMatchers("/refreshToken/**").anonymous()
|
|
|
.antMatchers("/v1/test/**").anonymous()
|
|
|
- .antMatchers("/v1/**").anonymous()
|
|
|
.antMatchers("/profile/**").anonymous()
|
|
|
.antMatchers("/common/download**").anonymous()
|
|
|
.antMatchers("/common/download/resource**").anonymous()
|