[總管理後台][使用者] API 加上 FromBody

This commit is contained in:
dev01 2022-11-01 18:50:38 +08:00
parent 33a69603f9
commit d7ad9d0124

View File

@ -114,7 +114,7 @@ namespace FrontendWebApi.ApiControllers
/// <param name="post"></param> /// <param name="post"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
public async Task<ApiResult<string>> SaveUser(SaveUserManager post) public async Task<ApiResult<string>> SaveUser([FromBody] SaveUserManager post)
{ {
ApiResult<string> apiResult = new ApiResult<string>(); ApiResult<string> apiResult = new ApiResult<string>();