|
|
@@ -145,10 +145,14 @@ func GetMechantInfo(mechantCode string) (ret MechantPayInfo) {
|
|
|
ret.MchKeyFile = beego.AppConfig.String("OuBiaoMchKeyFile")
|
|
|
ret.MchCertFile = beego.AppConfig.String("OuBiaoMchCertFile")
|
|
|
default:
|
|
|
- ret.MchId = mchId
|
|
|
- ret.ApiKey = apiKey
|
|
|
- ret.MchKeyFile = beego.AppConfig.String("WxMchKeyFile")
|
|
|
- ret.MchCertFile = beego.AppConfig.String("MchCertFile")
|
|
|
+ //ret.MchId = mchId
|
|
|
+ //ret.ApiKey = apiKey
|
|
|
+ //ret.MchKeyFile = beego.AppConfig.String("WxMchKeyFile")
|
|
|
+ //ret.MchCertFile = beego.AppConfig.String("MchCertFile")
|
|
|
+ ret.MchId = oubiaoMchId
|
|
|
+ ret.ApiKey = oubiaoApiKey
|
|
|
+ ret.MchKeyFile = beego.AppConfig.String("OuBiaoMchKeyFile")
|
|
|
+ ret.MchCertFile = beego.AppConfig.String("OuBiaoMchCertFile")
|
|
|
}
|
|
|
return ret
|
|
|
|