浏览代码

推荐重跑打标记

lcl 3 周之前
父节点
当前提交
501583e66f
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      AppStart/Helper/RecommandKingHelper.cs

+ 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);
+            }
         }
     }
 }