四种请求方式

@PutMapping   与get类似主要用于更新操作
@GetMapping url参数与请求头设置
@PostMapping 有请求体可以用 @RequestBody 接收参数
@DeleteMapping有请求体可以用 @RequestBody 接收参数