Commit dec3ddb2 authored by zhouxudong's avatar zhouxudong

更新代码

parent 8e791ebe
......@@ -40,6 +40,9 @@ public class WebConfig implements WebMvcConfigurer {
.addResourceHandler("swagger-ui.html")
.addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/");
registry
.addResourceHandler("/webjars/**")
.addResourceLocations("classpath:/META-INF/resources/webjars/");
}
// Spring Boot使用UTF-8编码来对字符串进行处理
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment