@PathVariable和@RequestParam的区别

来源:互联网 发布:p图滤镜软件 编辑:程序博客网 时间:2024/05/16 19:26

参考文章

http://www.tuicool.com/articles/7Z36zia


若方法形参名称和需要绑定的uri template中变量名称不一致,需要在@PathVariable("name")指定uri template中的名称

0 0
原创粉丝点击