|
|
@@ -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")
|
|
|
}
|