lcl 3 долоо хоног өмнө
parent
commit
501583e66f

+ 7 - 3
AppStart/Helper/RecommandKingHelper.cs

@@ -490,9 +490,13 @@ namespace MySystem
         }
         public void StartTestFor()
         {
-            Recommend("202502", 1);
-            Recommend("202502", 2);
-            // Recommend("202410", 3);
+            string check = function.ReadInstance("/RecommandKing/Repeat/202502.txt");
+            if (string.IsNullOrEmpty(check))
+            {
+                function.WritePage("/RecommandKing/Repeat/", "202502.txt", DateTime.Now.ToString());                
+                Recommend("202502", 1);
+                Recommend("202502", 2);
+            }
         }
     }
 }