登录用户超时注销、登录日志记录

This commit is contained in:
Administrator
2026-08-28 14:12:02 +08:00
parent 11142481a8
commit 6dfac6d986
9 changed files with 87 additions and 9 deletions
+3 -2
View File
@@ -101,8 +101,9 @@ namespace LargeSquareOne
// AlarmType = isError ? "错误".Translated() : "信息".Translated(),
// Operater = CommonMethods.currentAdmin.LoginName
//});
string opeType = isError ? "错误" : "信息";
string logInfo = $"操作时间: {CurrentTime}, 操作类型: {opeType}, 操作信息: {info}";
LogHelper.Instance.WriteLog(logInfo, ConstValue.USER_LOG);
}
/// <summary>