Parcourir la source

OSS上传服务

change il y a 4 ans
Parent
commit
e3403e3f73

+ 0 - 2
zhongzheng-framework/src/main/java/com/zhongzheng/framework/config/SecurityConfig.java

@@ -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()