Explorar o código

0押金激活奖励监听时间限制为10天

lcl %!s(int64=2) %!d(string=hai) anos
pai
achega
9f24e7638e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -447,7 +447,7 @@ namespace MySystem
         public void activePrizeWithoutDeposit(int posid = 0)
         {
             WebCMSEntities db = new WebCMSEntities();
-            DateTime yesterday = DateTime.Now.AddDays(-1);
+            DateTime yesterday = DateTime.Now.AddDays(-10);
             DateTime today = DateTime.Now.AddMinutes(-10);
             IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && string.IsNullOrEmpty(m.SeoKeyword) && m.BrandId != 12 && m.BrandId != 13 && m.BrandId != 6 && m.BrandId != 14 && m.BrandId != 15 && m.BrandId != 16 && m.Detail != "1");
             if (posid > 0)