From 94ed79ddc90ca48050f5a718a0e235655e190369 Mon Sep 17 00:00:00 2001 From: "zhiyong.ning" <354350178@qq.com> Date: Sun, 27 Sep 2020 10:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/msdw/tms/controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);