浏览代码

9月1日-9月30日立刷机具刷5000激活时额外奖励30元立刷活动奖

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

+ 5 - 0
AppStart/Helper/StatService.cs

@@ -344,6 +344,11 @@ namespace MySystem
                                 doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 50);
                             }
                         }
+                        //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"))
+                        {
+                            doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 30);
+                        }
                         PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == pos.Id);
                         if(edit != null)
                         {