소스 검색

增加丰和商户-1

abiao 3 년 전
부모
커밋
0a4924027c
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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")
 	}