使用springboot的映射
WebMvcConfig.java中添加
前端:
参考https://blog.csdn.net/m0_61865063/article/details/129013100