Explorar o código

调整推荐王执行时间

lcl hai 4 meses
pai
achega
0372a6d2ae
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      AppStart/Helper/RecommandKingHelper.cs
  2. 1 1
      Startup.cs

+ 1 - 1
AppStart/Helper/RecommandKingHelper.cs

@@ -27,7 +27,7 @@ namespace MySystem
         {
             while (true)
             {
-                if(DateTime.Now.Hour > 19 && DateTime.Now.Hour < 23)
+                if(DateTime.Now.Hour > 13 && DateTime.Now.Hour < 23)
                 {
                     string today = DateTime.Now.ToString("yyyy-MM-dd");
                     string checkFlag = function.ReadInstance("/RecommandKing/" + today + ".txt");

+ 1 - 1
Startup.cs

@@ -172,7 +172,7 @@ namespace MySystem
             // } 
 
             // LeaderCompPrizeHelper.Instance.StartTest();
-            RecommandKingHelper.Instance.StartTest();
+            // RecommandKingHelper.Instance.StartTest();
         }
 
         private void InitMain()