Przeglądaj źródła

修改——禁用/v2/api-docs文档

zhouhaijun 2 tygodni temu
rodzic
commit
a50bf9dd5d

+ 3 - 1
src/main/java/com/bootdo/system/config/AuthorizationInterceptorConf.java

@@ -21,7 +21,9 @@ public class AuthorizationInterceptorConf implements WebMvcConfigurer {
             //不拦截公共资源
             "/webjars/**",
             "/error",
-            "/v2/api-docs",
+
+            //"/v2/api-docs",
+
             "/swagger-resources/configuration/security",
             "/swagger-resources/configuration/ui",
             "/swagger-resources",