Browse Source

创客升级时间判断问题

lichunlei 2 years ago
parent
commit
9c36576ffb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -1701,7 +1701,7 @@ namespace MySystem
         {
             while (true)
             {
-                if(DateTime.Now.Month == 1 && DateTime.Now.Hour > 1)
+                if(DateTime.Now.Day == 1 && DateTime.Now.Hour > 1)
                 {
                     string Month = DateTime.Now.AddDays(-1).ToString("yyyy-MM");
                     string flag = function.ReadInstance("/ProfitFlag/" + Month + ".txt");