Bladeren bron

增加丰和商户-1

abiao 3 jaren geleden
bovenliggende
commit
0a4924027c
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      go/gopath/src/fohow.com/libs/wx_mp/pay.go

+ 6 - 6
go/gopath/src/fohow.com/libs/wx_mp/pay.go

@@ -149,17 +149,17 @@ func GetMechantInfo(mechantCode string) (ret MechantPayInfo) {
 		ret.MchKeyFile = beego.AppConfig.String("OuBiaoMchKeyFile")
 		ret.MchCertFile = beego.AppConfig.String("OuBiaoMchCertFile")
 	case "fenghe":
-		ret.MchId = oubiaoMchId
-		ret.ApiKey = oubiaoApiKey
-		ret.MchKeyFile = beego.AppConfig.String("OuBiaoMchKeyFile")
-		ret.MchCertFile = beego.AppConfig.String("OuBiaoMchCertFile")
+		ret.MchId = fengheMchId
+		ret.ApiKey = fengheApiKey
+		ret.MchKeyFile = beego.AppConfig.String("FengHeMchKeyFile")
+		ret.MchCertFile = beego.AppConfig.String("FengHeMchCertFile")
 	default:
 		//ret.MchId = mchId
 		//ret.ApiKey = apiKey
 		//ret.MchKeyFile = beego.AppConfig.String("WxMchKeyFile")
 		//ret.MchCertFile = beego.AppConfig.String("MchCertFile")
-		ret.MchId = fengheMchId
-		ret.ApiKey = fengheApiKey
+		ret.MchId = oubiaoMchId
+		ret.ApiKey = oubiaoApiKey
 		ret.MchKeyFile = beego.AppConfig.String("OuBiaoMchKeyFile")
 		ret.MchCertFile = beego.AppConfig.String("OuBiaoMchCertFile")
 	}