|
|
|
@ -33,7 +33,8 @@ public class ResourcesConfig implements WebMvcConfigurer
|
|
|
|
|
|
|
|
|
|
/** swagger配置 */
|
|
|
|
|
registry.addResourceHandler("/swagger-ui/**")
|
|
|
|
|
.addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/");
|
|
|
|
|
.addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/")
|
|
|
|
|
.setCacheControl(CacheControl.maxAge(1, TimeUnit.DAYS).mustRevalidate().cachePrivate()).resourceChain(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|