Sfoglia il codice sorgente

创客升级修改执行时间

lcl 1 anno fa
parent
commit
ce5a47f647
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

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