hdong: change request model to Body.
This commit is contained in:
parent
a53c800e3e
commit
4706e665b2
|
|
@ -116,7 +116,7 @@ public class UserController : ControllerBase
|
||||||
}
|
}
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpPost("/user/resetpassword")]
|
[HttpPost("/user/resetpassword")]
|
||||||
public async Task<bool> ResetUserPassword([FromQuery] UserResetPasswordModel user)
|
public async Task<bool> ResetUserPassword([FromBody] UserResetPasswordModel user)
|
||||||
{
|
{
|
||||||
return await _userService.ResetUserPassword(user.ToUser());
|
return await _userService.ResetUserPassword(user.ToUser());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue