浏览代码

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

lcl 1 年之前
父节点
当前提交
9f24e7638e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)