springboot中get post put delete 请求
组合注解(RequestMapping的变形)
- @GetMapping = @RequestMapping(method = RequestMethod.GET)
- @PostMapping = @RequestMapping(method = RequestMethod.POST)
- @PutMapping = @RequestMapping(method = RequestMethod.PUT)
- @DeleteMapping = @RequestMapping(method = RequestMethod.DELETE
MARK埋个坑
https://blog.csdn.net/xcc_2269861428/article/details/80432765