Browse Source

重跑奖励

lcl 1 month ago
parent
commit
9cbf77e1e3
1 changed files with 6 additions and 1 deletions
  1. 6 1
      AppStart/Helper/LeaderCompPrizeHelper.cs

+ 6 - 1
AppStart/Helper/LeaderCompPrizeHelper.cs

@@ -49,7 +49,12 @@ namespace MySystem
 
         public void ListenTest()//启动
         {
-            Ready("202410");
+            string check = function.ReadInstance("/LeaderComp/Repeat/202501.txt");
+            if (string.IsNullOrEmpty(check))
+            {
+                function.WritePage("/LeaderComp/Repeat/", "202501.txt", DateTime.Now.ToString());
+                Ready("202501");
+            }
         }
 
         public void Ready(string curMonth)