GetMapping

> @GetMaping用于将HTttp get请求映射到特定处理程序的方法注解,具体来说

@Getmapping是一个组合注解 = @RequestMapping(method = RequestMethod.GET)的缩写

PostMapping

@PostMapping用于将Http post请求映射到特定处理程序的方法注解,具体来说,

@PostMapping是一个组合注解,是@RequestMapping(method = RequestMethod.POST)的缩写





相关文章:

  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-09-05
  • 2021-12-23
  • 2021-08-27
猜你喜欢
  • 2021-09-22
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案