Explorar el Código

fix: 登录日志现在会记录租户Id

许俊杰 hace 3 años
padre
commit
57040aaa1c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs

+ 2 - 1
Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs

@@ -144,7 +144,8 @@ public class SysAuthService : IDynamicApiController, ITransient
             Os = client.OS.Family + client.OS.Major,
             VisType = LoginTypeEnum.Login,
             Account = user.Account,
-            RealName = user.RealName
+            RealName = user.RealName,
+            TenantId = user.TenantId,
         });
 
         return new LoginUserOutput