From 194306e483bc627609ad2c15a648f783738680fc Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 29 九月 2022 11:36:42 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/controller/data/AuthController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/lf/server/controller/data/AuthController.java b/src/main/java/com/lf/server/controller/data/AuthController.java index 82cc0a4..bef586d 100644 --- a/src/main/java/com/lf/server/controller/data/AuthController.java +++ b/src/main/java/com/lf/server/controller/data/AuthController.java @@ -92,7 +92,7 @@ @ApiImplicitParam(name = "authEntity", value = "瀛楀吀瀹炰綋绫�", dataType = "com.lf.server.entity.data.AuthEntity", paramType = "body", example = "") }) @PostMapping(value = "/insertAuth", produces = "application/json; charset=UTF-8") - public ResponseMsg<Integer> insertAuth(AuthEntity authEntity) { + public ResponseMsg<Integer> insertAuth(@RequestBody AuthEntity authEntity) { try { int count = authService.insertAuth(authEntity); @@ -155,7 +155,7 @@ }) @ResponseBody @PostMapping(value = "/updateAuth", produces = "application/json; charset=UTF-8") - public ResponseMsg<Integer> updateAuth(AuthEntity authEntity) { + public ResponseMsg<Integer> updateAuth(@RequestBody AuthEntity authEntity) { try { int count = authService.updateAuth(authEntity); -- Gitblit v1.9.3