فهرست منبع

拦截过滤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()