https://blog.csdn.net/ajklaclk/article/details/80804137/ SpringBoot---WebMvcConfigurer详解 https://blog.csdn.net/zhangpower1993/article/details/89016503 1. 简介 2. WebMvcConfigurer接口 2.1 addInterceptors:拦截器 2.2 addViewControllers:页面跳转 2.3 addResourceHandlers:静态资源 2.4 configureDefaultServletHandling:默认静态资源处理器 2.5 configureViewResolvers:视图解析器 2.6 configureContentNegotiation:配置内容裁决的一些参数 2.7 addCorsMappings:跨域 2.8 configureMessageConverters:信息转换器