add swagger support
parent
0f9121e4e3
commit
0e69c48018
|
@ -37,7 +37,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||||
"*.html",
|
"*.html",
|
||||||
"/favicon.ico",
|
"/favicon.ico",
|
||||||
"/swagger-resources/**",
|
"/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("/**");
|
registry.addInterceptor(new SaAnnotationInterceptor()).addPathPatterns("/**");
|
||||||
|
|
Loading…
Reference in New Issue