Commit ffccd6a8 by lizefeng
parents 1157ae6c 03c31149
...@@ -51,6 +51,7 @@ namespace AutoTurnOver.Common ...@@ -51,6 +51,7 @@ namespace AutoTurnOver.Common
public override void OnActionExecuted(ActionExecutedContext context) public override void OnActionExecuted(ActionExecutedContext context)
{ {
/*
try try
{ {
//获取appsetting配置失败暂时直接赋值开启是否开启日志记录功能 “yes”/“no” //获取appsetting配置失败暂时直接赋值开启是否开启日志记录功能 “yes”/“no”
...@@ -112,6 +113,7 @@ namespace AutoTurnOver.Common ...@@ -112,6 +113,7 @@ namespace AutoTurnOver.Common
{ {
Console.WriteLine(e); Console.WriteLine(e);
} }
*/
} }
/// <summary> /// <summary>
/// HttpClient实现Post请求 /// HttpClient实现Post请求
......
...@@ -244,7 +244,7 @@ namespace ResetOutofstock ...@@ -244,7 +244,7 @@ namespace ResetOutofstock
try try
{ {
Console.WriteLine($"开始刷新 已经停止监控的周转数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"开始刷新 已经停止监控的周转数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
dc_auto_turnover.ResetHistory(); // dc_auto_turnover.ResetHistory();
Console.WriteLine($"结束刷新 已经停止监控的周转数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"结束刷新 已经停止监控的周转数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
} }
catch (Exception ex) catch (Exception ex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment