浏览代码

推送好哒碰一碰商户信息带上创客Id

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

+ 4 - 0
AppStart/Helper/PosPushDataNewHelper.cs

@@ -26,6 +26,10 @@ namespace MySystem
                 dataContent.Add("request_id", getRequestId(mer.SnNo + mer.MerNo, "bind")); //流水号
                 dataContent.Add("bind_time", mer.CreateTime.Value.ToString("yyyy-MM-dd HH:mm:ss")); //绑定时间
                 dataContent.Add("brand", int.Parse(function.CheckInt(mer.ProductType))); //品牌
+                if(mer.ProductType == "29")
+                {
+                    dataContent.Add("user_id", mer.QueryCount); //创客ID
+                }
                 Push("bind", dataContent);
             }
             catch (Exception ex)