zhouxnsz 9 meses atrás
pai
commit
613829d9a9
1 arquivos alterados com 15 adições e 15 exclusões
  1. 15 15
      models/bank.go

+ 15 - 15
models/bank.go

@@ -139,21 +139,21 @@ func GetAmtInByPaid(accountId int, exchticket string, channelMode string) (rsp *
 	}
 
 	// 尝试 Asia Pay
-	if channelMode == "asiapay" || channelMode == "" {
-		var rec Asiapayamtinrec
-		has, err = engine.Where("accountid = ? and exch_seq = ? and deal_status = 2", accountId, exchticket).Get(&rec)
-		if err != nil {
-			return
-		}
-		if has {
-			rsp = &GetAmtInByPaidUrlRsp{
-				ChannelMode: "asiapay",
-				URL:         rec.REDIRECTURL,
-				Params:      rec.REDIRECTPARAMS,
-			}
-			return
-		}
-	}
+	// if channelMode == "asiapay" || channelMode == "" {
+	// 	var rec Asiapayamtinrec
+	// 	has, err = engine.Where("accountid = ? and exch_seq = ? and deal_status = 2", accountId, exchticket).Get(&rec)
+	// 	if err != nil {
+	// 		return
+	// 	}
+	// 	if has {
+	// 		rsp = &GetAmtInByPaidUrlRsp{
+	// 			ChannelMode: "asiapay",
+	// 			URL:         rec.REDIRECTURL,
+	// 			Params:      rec.REDIRECTPARAMS,
+	// 		}
+	// 		return
+	// 	}
+	// }
 
 	// 尝试混合支付
 	if channelMode == "hybrid" || channelMode == "" {