瀏覽代碼

拦截过滤api-docs

刘欣 2 天之前
父節點
當前提交
970649377e
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      fs-company/src/main/java/com/fs/core/config/SecurityConfig.java

+ 0 - 3
fs-company/src/main/java/com/fs/core/config/SecurityConfig.java

@@ -114,10 +114,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 .antMatchers("/profile/**").anonymous()
                 .antMatchers("/common/download**").anonymous()
                 .antMatchers("/common/download/resource**").anonymous()
-                .antMatchers("/swagger-ui.html").anonymous()
-                .antMatchers("/swagger-resources/**").anonymous()
                 .antMatchers("/webjars/**").anonymous()
-                .antMatchers("/*/api-docs").anonymous()
                 .antMatchers("/druid/**").anonymous()
                 .antMatchers("/expense/**").anonymous()
                 .antMatchers("/qwEvent/**").anonymous()