Ver código fonte

更改为欧标收款

abiao 4 anos atrás
pai
commit
bc4cd299e2
1 arquivos alterados com 8 adições e 4 exclusões
  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