Browse Source

联客宝卡类型判断

lcl 1 năm trước cách đây
mục cha
commit
5248f45205
1 tập tin đã thay đổi với 11 bổ sung2 xóa
  1. 11 2
      AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

+ 11 - 2
AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

@@ -319,11 +319,20 @@ namespace MySystem
                                         }
                                         else if (pos.BrandId == 15 || pos.BrandId == 16) //联客宝
                                         {
-                                            if (trade.BankCardType == "C")
+                                            // 支付类型
+                                            // 01-内卡借记卡
+                                            // 02-内卡贷记卡
+                                            // 03-银联二维码
+                                            // 11-外卡借记卡
+                                            // 12-外卡贷记卡
+                                            // 30-微信
+                                            // 31-支付宝
+                                            // M3-扫码(银联二维码、微信、支付宝)
+                                            if (trade.BankCardType == "02")
                                             {
                                                 BankCardType = 1;
                                             }
-                                            else if (trade.BankCardType == "D")
+                                            else
                                             {
                                                 BankCardType = 0;
                                             }