Explorar o código

不拦截回调请求

yq %!s(int64=3) %!d(string=hai) anos
pai
achega
a6242124e7

+ 1 - 1
src/main/java/com/usky/dxtop/framework/config/SecurityConfig.java

@@ -99,7 +99,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 // 过滤请求
                 .authorizeRequests()
                 // 对于登录login 注册register 验证码captchaImage 允许匿名访问
-                .antMatchers("/login", "/register", "/captchaImage","/test").anonymous()
+                .antMatchers("/login", "/register", "/captchaImage","/top/notify").anonymous()
                 .antMatchers(
                         HttpMethod.GET,
                         "/",