Browse Source

推送增加押金活动编码

lcl 10 months ago
parent
commit
710e3c56f0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      AppStart/Helper/PosPushDataNewHelper.cs

+ 4 - 0
AppStart/Helper/PosPushDataNewHelper.cs

@@ -123,6 +123,10 @@ namespace MySystem
                 dataContent.Add("trade_time", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); //交易时间
                 dataContent.Add("card_type", 1); //卡类型
                 dataContent.Add("brand", int.Parse(function.CheckInt(act.ProductType))); //品牌
+                if(act.ProductType == "29")
+                {
+                    dataContent.Add("act_code", act.Field4); //押金活动编码
+                }
                 Push("deposit", dataContent);
             }
             catch (Exception ex)