Exemplo n.º 1
0
        //[IgnoreAuthorize]
        public async Task <IActionResult> resertPassword(string Id)
        {
            var r = await UserApp.  //ChangePasswordAsync(CurrentUser.Id, model.Password, model.NewPassword, 0, CurrentUser);
                    ResetPasswordAsync(ZConvert.StrToLong(Id), "123456", 0, CurrentUser);

            return(Operation(r.IsSuc, r.IsSuc ? "重置密码成功" : r.Msg));
        }
Exemplo n.º 2
0
        //[IgnoreAuthorize]
        public async Task <IActionResult> ResertPassword(string id)
        {
            var r = await UserApp.ResetPasswordAsync(ZConvert.StrToLong(id), "123456", 0, await CurrentUser());

            return(Json(r));
        }