ソースを参照

押金回调同步显示押金字段数据

lcl 9 ヶ月 前
コミット
c5f9337e16
1 ファイル変更4 行追加0 行削除
  1. 4 0
      AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

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

@@ -54,6 +54,7 @@ namespace MySystem
                             {
                                 if(string.IsNullOrEmpty(pos.SeoKeyword) && decimal.Parse(function.CheckNum(act.SeoTitle)) > 0) Utils.Instance.SendActData(pos);
                                 pos.SeoKeyword = act.SeoTitle;
+                                pos.PrizeParams = pos.SeoKeyword;
                                 if(pos.BrandId == 15 || pos.BrandId == 16) //来客吧
                                 {
                                     pos.Detail = ""; //清除激活奖励标记
@@ -77,6 +78,9 @@ namespace MySystem
                                     decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
                                     DateTime now = DateTime.Now;
 
+                                    if(Deposit > 1000) Deposit = Deposit / 100;
+                                    pos.PrizeParams = Deposit.ToString("f0");
+
                                     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)
                                     {