using (var unitOfWork = _unitOfWorkManager.Begin(new AbpUnitOfWorkOptions(), true))
                {
                    await _userRepository.UpdateAsync(user, true);
                    await unitOfWork.CompleteAsync();
                }

                throw new UserFriendlyException("用户名或密码不对");

记下来,免得下次忘记想不起来了。abp vnext版本4.2.2。

相关文章:

  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2021-10-12
  • 2021-10-29
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案