Browse Source

押金推送奖励打日志

lcl 1 year ago
parent
commit
2fdca6e4ec
1 changed files with 4 additions and 0 deletions
  1. 4 0
      AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

+ 4 - 0
AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

@@ -64,13 +64,17 @@ namespace MySystem
                                 {
                                     decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
                                     DateTime now = DateTime.Now;
+
+                                    function.WriteLog("大盟主---Deposit:" + Deposit + ";LeaderUserId:" + pos.LeaderUserId + ";pos.IsFirst:" + pos.IsFirst + ";pos.BindingTime:" + pos.BindingTime + ";now.AddDays(-CheckDays):" + now.AddDays(-CheckDays) + ";", "押金推送发放奖励监控");
                                     if (Deposit > 0 && pos.LeaderUserId > 0 && db.Leaders.Any(m => m.Id == pos.LeaderUserId && m.ExpiredDate > now) && pos.BindingTime > now.AddDays(-CheckDays) && pos.CardType < 100)
                                     {
+                                        function.WriteLog("大盟主奖发放", "押金推送发放奖励监控");
                                         RedisDbconn.Instance.AddList("LeaderPrizeQueue", pos.Id);
                                     }
                                     //发放运营中心奖励
                                     if (Deposit > 0 && pos.BindingTime > now.AddDays(-CheckDays) && pos.CardType < 100)
                                     {
+                                        function.WriteLog("运营中心奖发放", "押金推送发放奖励监控");
                                         RedisDbconn.Instance.AddList("OperatePrizeQueue", pos.Id);
                                     }
                                 }