Spring Boot 中 Controller 使用
时间:2019-01-01 15:21:18
收藏:0
阅读:132
1.属性配置
2.Controller使用
2.@PathVariable 与 @RequestParam 的区别
(1)@PathVariable
(2)@RequestParam
3.@GetMapping 和 @PostMapping 简写
@RequestMapping(value="/say", method=RequestMethod.GET) // 等同于 @GetMapping(value="/say")
原文:https://www.cnblogs.com/crazycode2/p/10204780.html
评论(0)