Quellcode durchsuchen

拦截过滤api-docs

刘欣 vor 2 Tagen
Ursprung
Commit
970649377e
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  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()