springMVC 请求映射注解

注解:

@RequestMapping 通用的请求处理

@GetMapping 处理http get 请求

@PostMapping 处理http post 请求

@PutMapping 处理http put 请求

@PatchMapping 处理 http patch 请求

@DeleteMapping 处理http  delete 请求

posted @ 2021-04-05 16:56  铭吱  阅读(88)  评论(0)    收藏  举报