作用:都是描述前端浏览器的请求方法类型,以及请求头参数定义

@RequestMapping
GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@PatchMapping

@RequestMapping

源码
@RequestMethod、@GetMapping、@PostMapping - 请求方法

@GetMethod等六个

其实就是指明了 RequestMethod请求方法而已

@RequestMethod、@GetMapping、@PostMapping - 请求方法

相关文章:

  • 2022-12-23
  • 2023-03-28
  • 2023-03-28
  • 2021-08-25
  • 2022-12-23
  • 2021-05-25
  • 2021-09-22
猜你喜欢
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案