@GetMapping,@PostMapping,@PutMapping,@DeleteMapping的区别,及@PathVariable,@Valid @RequestBody的使用
@GetMapping,@PostMapping,@PutMapping,@DeleteMapping的区别CompleteExample-EmployeeController.java@RestController@RequestMapping("/api/v1")publicclassEmployeeController{@AutowiredprivateEmployeeRepositorye