Commit 0da86443 by 111-PC\111

[+]新增swagger

1 parent a47854c2
......@@ -29,6 +29,7 @@ public class WebConfig implements WebMvcConfigurer {
.excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**");
}
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!