|
|
@@ -87,6 +87,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
List<Dictionary<string, object>> diclist = obj["data"] as List<Dictionary<string, object>>;
|
|
|
foreach (Dictionary<string, object> dic in diclist)
|
|
|
{
|
|
|
+ string ProductType = dic["ProductType"].ToString();
|
|
|
//状态
|
|
|
string Status = dic["Status"].ToString();
|
|
|
if (Status == "1") dic["Status"] = "待同步";
|
|
|
@@ -94,9 +95,25 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (Status == "") dic["Status"] = "";
|
|
|
//交易状态
|
|
|
string TradeStatus = dic["TradeStatus"].ToString();
|
|
|
- if (TradeStatus == "1") dic["TradeStatus"] = "成功";
|
|
|
- if (TradeStatus == "2") dic["TradeStatus"] = "失败";
|
|
|
- if (TradeStatus == "") dic["TradeStatus"] = "";
|
|
|
+ if(ProductType == "23")
|
|
|
+ {
|
|
|
+ if (TradeStatus == "1") dic["TradeStatus"] = "未支付";
|
|
|
+ if (TradeStatus == "2") dic["TradeStatus"] = "完成";
|
|
|
+ if (TradeStatus == "3") dic["TradeStatus"] = "线上退款";
|
|
|
+ if (TradeStatus == "4") dic["TradeStatus"] = "线下退款";
|
|
|
+ if (TradeStatus == "5") dic["TradeStatus"] = "APP退款";
|
|
|
+ if (TradeStatus == "6") dic["TradeStatus"] = "上游失败";
|
|
|
+ if (TradeStatus == "7") dic["TradeStatus"] = "原路退回";
|
|
|
+ if (TradeStatus == "8") dic["TradeStatus"] = "标记打款";
|
|
|
+ if (TradeStatus == "9") dic["TradeStatus"] = "退款";
|
|
|
+ if (TradeStatus == "") dic["TradeStatus"] = "";
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ if (TradeStatus == "1") dic["TradeStatus"] = "成功";
|
|
|
+ if (TradeStatus == "2") dic["TradeStatus"] = "失败";
|
|
|
+ if (TradeStatus == "") dic["TradeStatus"] = "";
|
|
|
+ }
|
|
|
//银行卡类型
|
|
|
string BankCardType = dic["BankCardType"].ToString();
|
|
|
if (BankCardType == "0001") dic["BankCardType"] = "贷记卡";
|