Beispiel #1
0
 public static async void AddActionLog(EnumSystemType systemtype, EnumLogObjectType objecttype, EnumLogType actiontype,  string operateip, string userid, string agentid, string clientid)
 {
     await LogDAL.AddActionLog((int)systemtype, (int)objecttype, (int)actiontype, operateip, userid, agentid, clientid);
 }
Beispiel #2
0
 /// <summary>
 /// 记录错误日志
 /// </summary>
 public static async void AddErrorLog(string userid, string message, EnumSystemType systemtype, string operateip)
 {
     await LogDAL.AddErrorLog(userid, message, (int)systemtype, operateip);
 }
Beispiel #3
0
 /// <summary>
 /// 记录登录日志
 /// </summary>
 /// <param name="loginname">用户名</param>
 /// <param name="status">登录结果</param>
 /// <param name="systemtype">系统类型</param>
 /// <param name="operateip">登录IP</param>
 public static async void AddLoginLog(string loginname, bool status, EnumSystemType systemtype, string operateip)
 {
     await LogDAL.AddLoginLog(loginname, status ? 1 : 0, (int)systemtype, operateip);
 }
Beispiel #4
0
 /// <summary>
 /// 记录登录日志
 /// </summary>
 /// <param name="loginname">用户名</param>
 /// <param name="status">登录结果</param>
 /// <param name="systemtype">系统类型</param>
 /// <param name="operateip">登录IP</param>
 public static async void AddLoginLog(string loginname, bool status, EnumSystemType systemtype, string operateip, string userid, string agentid, string clientid)
 {
     await LogDAL.AddLoginLog(loginname, status ? 1 : 0, (int)systemtype, operateip, userid, agentid, clientid);
 }
Beispiel #5
0
 /// <summary>
 /// 记录登录日志
 /// </summary>
 /// <param name="loginname">用户名</param>
 /// <param name="status">登录结果</param>
 /// <param name="systemtype">系统类型</param>
 /// <param name="operateip">登录IP</param>
 public static async void AddLoginLog(string loginname, bool status, EnumSystemType systemtype, string operateip, string userid, string agentid, string clientid)
 {
     await LogDAL.AddLoginLog(loginname, status? 1 : 0, (int)systemtype, operateip, userid, agentid, clientid);
 }