瀏覽代碼

不拦截回调请求

yq 3 年之前
父節點
當前提交
a6242124e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/usky/dxtop/framework/config/SecurityConfig.java

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

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