diff --git a/src/main/java/com/msdw/tms/controller/UserController.java b/src/main/java/com/msdw/tms/controller/UserController.java index 7004e40..18c8bde 100644 --- a/src/main/java/com/msdw/tms/controller/UserController.java +++ b/src/main/java/com/msdw/tms/controller/UserController.java @@ -53,7 +53,7 @@ public class UserController implements UserControllerApi { /** * 保存 */ - @RequestMapping("/save") + @PostMapping("/save") public R save(@RequestBody UserEntity userEntity){ userService.save(userEntity);