登录用户超时注销、登录日志记录
This commit is contained in:
@@ -530,7 +530,7 @@ namespace JinYuan.MES
|
||||
ProcessGradeResponse(mesResponse, listCode, ref message, ref materialGrades); // 处理返回结果
|
||||
//resJson = $"{nowDate.ToString("yyyy-MM-dd HH:mm:ss.fff")}:调用查询电芯档位接口:{url},请求数据为:{postcontent},\n{nowDate.AddMilliseconds(sw.ElapsedMilliseconds).ToString("yyyy-MM-dd HH:mm:ss.fff")}:接口耗时:{sw.ElapsedMilliseconds}ms,返回结果:{result}";
|
||||
//TxtHelper.WriteTxt($@"D:\APILog\Logs\MesLogs\{nowDate.ToString("yyyyMMdd")}\查询电芯档位\{nowDate.ToString("HH")}.txt", resJson);
|
||||
if (success)
|
||||
if (success && mesResType == MesResType.D)
|
||||
{
|
||||
message = $"查询电芯档位成功,共获取 {materialGrades.Count} 个档位信息";
|
||||
TxtHelper.WriteTxt($@"D:\APILog\Logs\MesLogs\{nowDate.ToString("yyyyMMdd")}\查询电芯档位\{nowDate.ToString("HH")}.txt", message);
|
||||
|
||||
Reference in New Issue
Block a user