浏览代码

修改立刷30活动的时间限制

lcl 1 年之前
父节点
当前提交
ca6bd5459b
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      AppStart/Helper/StatService.cs

+ 7 - 2
AppStart/Helper/StatService.cs

@@ -345,9 +345,9 @@ namespace MySystem
                             }
                         }
                         //9月1日-9月30日立刷机具刷5000激活时额外奖励30元立刷活动奖
-                        if(pos.BrandId == 6 && pos.ActivityList == "6" && pos.CreditTrade >= 5000M && pos.ActivationTime >= DateTime.Parse("2023-09-01 00:00:00") && pos.ActivationTime < DateTime.Parse("2023-10-01 00:00:00"))
+                        if(pos.BrandId == 6 && pos.CreditTrade >= 5000M && pos.ActivationTime >= DateTime.Parse("2023-08-31 00:00:00") && pos.ActivationTime < DateTime.Parse("2023-10-01 00:00:00"))
                         {
-                            doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 30);
+                            doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 30, 133);
                         }
                         PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == pos.Id);
                         if(edit != null)
@@ -424,6 +424,11 @@ namespace MySystem
                             //金控活动机返奖励
                             doJk30(db, pos, merchant, GetUserId, ParentNav, TopUserId);
                         }
+                        //9月1日-9月30日立刷机具刷5000激活时额外奖励30元立刷活动奖
+                        if(pos.BrandId == 6 && pos.CreditTrade >= 5000M && pos.ActivationTime >= DateTime.Parse("2023-08-31 00:00:00") && pos.ActivationTime < DateTime.Parse("2023-10-01 00:00:00"))
+                        {
+                            doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 30, 133);
+                        }
                         PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == pos.Id);
                         if(edit != null)
                         {