[總管理後台][使用者] API 加上 FromBody
This commit is contained in:
parent
33a69603f9
commit
d7ad9d0124
@ -114,7 +114,7 @@ namespace FrontendWebApi.ApiControllers
|
||||
/// <param name="post"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<ApiResult<string>> SaveUser(SaveUserManager post)
|
||||
public async Task<ApiResult<string>> SaveUser([FromBody] SaveUserManager post)
|
||||
{
|
||||
ApiResult<string> apiResult = new ApiResult<string>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user