Bladeren bron

每月1号重置分仓额度,执行时间修改

lcl 1 jaar geleden
bovenliggende
commit
810f737c47
2 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. BIN
      .DS_Store
  2. 1 1
      AppStart/Timer/StoreApplyHelper.cs

BIN
.DS_Store


+ 1 - 1
AppStart/Timer/StoreApplyHelper.cs

@@ -33,7 +33,7 @@ public class StoreApplyHelper
             WebCMSEntities db = new WebCMSEntities();
             try
             {
-                if(DateTime.Now.Day <= 10 && DateTime.Now.Hour > 0 && DateTime.Now.Hour < 9)
+                if(DateTime.Now.Day <= 20 && DateTime.Now.Hour > 0 && DateTime.Now.Hour < 23)
                 {
                     string check = function.ReadInstance("/StoreApply/" + DateTime.Now.ToString("yyyyMM") + ".txt");
                     if(string.IsNullOrEmpty(check))