Explorar el Código

推送交易,拉卡拉码牌不推送机具号pos_sn

lcl hace 10 meses
padre
commit
6110894075
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      AppStart/Helper/PosPushDataNewHelper.cs

+ 4 - 1
AppStart/Helper/PosPushDataNewHelper.cs

@@ -457,7 +457,10 @@ namespace MySystem
                 FeeRate = fee["FeeRate"];
                 FeeAmt = fee["FeeAmt"];
                 Dictionary<string, object> dataContent = new Dictionary<string, object>();
-                dataContent.Add("pos_sn", trade.TradeSnNo); //机具sn
+                if(ProductType != "51")
+                {
+                    dataContent.Add("pos_sn", trade.TradeSnNo); //机具sn
+                }
                 dataContent.Add("mer_no", trade.MerNo); //商户号
                 dataContent.Add("request_id", trade.TradeSerialNo); //流水号
                 dataContent.Add("trade_amount", TradeAmount); //交易金额