springboot配置静态资源映射
摘要:第一种方式:注入一个WebMvcConfigurer对象(springboot中所有的WebMvcConfigurer对象会一起起作用) 1 import org.springframework.context.annotation.Bean; 2 import org.springframewor
阅读全文
posted @ 2020-08-10 10:07