springboot配置静态资源映射

第一种方式:注入一个WebMvcConfigurer对象(springboot中全部的WebMvcConfigurer对象会一块儿起做用) import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.spring
相关文章
相关标签/搜索