修改登录日志浏览器信息记录

This commit is contained in:
不做码农 2022-10-25 07:52:43 +08:00
parent e7c4efad1d
commit 3760e1a8aa

View File

@ -206,7 +206,7 @@ namespace ZR.Admin.WebApi.Controllers.System
ClientInfo clientInfo = context.GetClientInfo(); ClientInfo clientInfo = context.GetClientInfo();
SysLogininfor sysLogininfor = new() SysLogininfor sysLogininfor = new()
{ {
Browser = clientInfo.Device.Family, Browser = clientInfo.ToString(),
Os = clientInfo.OS.ToString(), Os = clientInfo.OS.ToString(),
Ipaddr = ipAddr, Ipaddr = ipAddr,
UserName = context.GetName(), UserName = context.GetName(),