public ResponseResult UpdatePassword([FromBody] string password) { return(SysUserService.UpdatePassword(SysUserService.CurrentUser.Id, password)); }
public ResponseResult UpdatePassword(int id, [FromBody] string password) { return(SysUserService.UpdatePassword(id, password)); }