|
@@ -138,7 +138,14 @@ namespace MySystem
|
|
dataContent.Add("pos_sn", act.SnNo); //机具sn
|
|
dataContent.Add("pos_sn", act.SnNo); //机具sn
|
|
dataContent.Add("mer_no", act.MerNo); //商户号
|
|
dataContent.Add("mer_no", act.MerNo); //商户号
|
|
dataContent.Add("request_id", getRequestId(act.Id, "deposit")); //流水号
|
|
dataContent.Add("request_id", getRequestId(act.Id, "deposit")); //流水号
|
|
- dataContent.Add("deposit_amount", TradeAmount); //押金金额
|
|
|
|
|
|
+ if(act.ProductType == "14")
|
|
|
|
+ {
|
|
|
|
+ dataContent.Add("deposit_amount", 0); //押金金额
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ dataContent.Add("deposit_amount", TradeAmount); //押金金额
|
|
|
|
+ }
|
|
dataContent.Add("trade_time", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); //交易时间
|
|
dataContent.Add("trade_time", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); //交易时间
|
|
dataContent.Add("card_type", 1); //卡类型
|
|
dataContent.Add("card_type", 1); //卡类型
|
|
dataContent.Add("brand", int.Parse(function.CheckInt(act.ProductType))); //品牌
|
|
dataContent.Add("brand", int.Parse(function.CheckInt(act.ProductType))); //品牌
|
|
@@ -146,6 +153,10 @@ namespace MySystem
|
|
{
|
|
{
|
|
dataContent.Add("act_code", act.Field4); //押金活动编码
|
|
dataContent.Add("act_code", act.Field4); //押金活动编码
|
|
}
|
|
}
|
|
|
|
+ else if(act.ProductType == "14")
|
|
|
|
+ {
|
|
|
|
+ dataContent.Add("fee_amt", TradeAmount); //秒到费
|
|
|
|
+ }
|
|
Push("deposit", dataContent);
|
|
Push("deposit", dataContent);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|