Explorar o código

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

lcl hai 4 meses
pai
achega
fe681b5454
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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)