浏览代码

更改为欧标收款

abiao 4 年之前
父节点
当前提交
bc4cd299e2
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      go/gopath/src/fohow.com/libs/wx_mp/pay.go

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

@@ -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