2.SpringBoot-环境配置

一.MVC相关配置 1.WebMvcConfigurerAdapter(相当于springMVC配置类) 2.编写GeneralWebMvcConfigurer类继承父类(继承方法见配置解析)  可实现配置功能:  配置自己的 requestMapping path 匹配规则 方法名:(configurePathMatch(PathMatchConfigurer   configurer)) 实例
相关文章
相关标签/搜索