perf: 升级至.NET9 (#90)

This commit is contained in:
2024-02-20 15:05:38 +08:00
committed by GitHub
parent 6f89015198
commit ad3eab929d
13 changed files with 24 additions and 26 deletions

View File

@ -2,7 +2,6 @@ using NetAdmin.Application.Repositories;
using NetAdmin.Application.Services;
using NetAdmin.Domain.Attributes.DataValidation;
using NetAdmin.Domain.Contexts;
using NetAdmin.Domain.DbMaps.Dependency.Fields;
using NetAdmin.Domain.DbMaps.Sys;
using NetAdmin.Domain.Dto.Dependency;
using NetAdmin.Domain.Dto.Sys.User;
@ -429,7 +428,7 @@ public sealed class UserService(
throw new NotImplementedException();
}
private static LoginRsp LoginInternal(IFieldEnabled dbUser)
private static LoginRsp LoginInternal(Sys_User dbUser)
{
if (!dbUser.Enabled) {
throw new NetAdminInvalidOperationException(Ln.);