Commit 6c5bd868 authored by liudong1993's avatar liudong1993

1

parent ff7b1964
......@@ -46,6 +46,15 @@ namespace Mall.WindowsService.Helper
LogHelper.Write("DistributorVipModule=====End");
#endregion
#region 电商统计
if (DateTime.Now.Hour == 1)
{
LogHelper.Write("UpdateToDayUserStatistics=====Start");
new Module.UserStatisticsModule().UpdateToDayUserStatistics("", "");
LogHelper.Write("UpdateToDayUserStatistics=====End");
}
#endregion
Interlocked.Exchange(ref inTimer, 0);
}
......
......@@ -44,7 +44,7 @@ namespace Mall.WindowsService.Module
{
if (string.IsNullOrEmpty(StartTime))
{
StartTime = DateTime.Now.AddMonths(-1).ToString("yyyy-MM") + "-01";
StartTime = DateTime.Now.AddMonths(-6).ToString("yyyy-MM") + "-01";
}
if (string.IsNullOrEmpty(EndTime))
{
......
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