From d7ad9d01244edb394ca8ac3adeb8d13d66f962c3 Mon Sep 17 00:00:00 2001 From: dev01 Date: Tue, 1 Nov 2022 18:50:38 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=B8=BD=E7=AE=A1=E7=90=86=E5=BE=8C=E5=8F=B0]?= =?UTF-8?q?[=E4=BD=BF=E7=94=A8=E8=80=85]=20API=20=E5=8A=A0=E4=B8=8A=20From?= =?UTF-8?q?Body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index 67811c5..a6756f6 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -114,7 +114,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> SaveUser(SaveUserManager post) + public async Task> SaveUser([FromBody] SaveUserManager post) { ApiResult apiResult = new ApiResult();