add swagger support

V0.5.x
荭琪枫 2023-05-05 22:20:55 +08:00
parent 0f9121e4e3
commit 0e69c48018
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
"*.html",
"/favicon.ico",
"/swagger-resources/**",
"/webjars/**", "/v2/**", "/doc.html", "**/swagger-ui.html", "/swagger-ui.html/**");
"/webjars/**", "/v2/**", "/doc.html", "**/swagger-ui.html", "/swagger-ui.html/**","/swagger-ui/**");
// 注册注解拦截器
registry.addInterceptor(new SaAnnotationInterceptor()).addPathPatterns("/**");