在applicaition.properties中添加 spring.mvc.servlet.path=/xxx 则访问整个项目时,url都要带上/xxx 比 在controller类上的RequestMapping("/xxx")强大
2021-02-10
最新推荐文章于 2021-11-10 17:26:45 发布
在applicaition.properties中添加 spring.mvc.servlet.path=/xxx 则访问整个项目时,url都要带上/xxx 比 在controller类上的RequestMapping("/xxx")强大