adjust
This commit is contained in:
parent
5623c3e4aa
commit
c60a871f7c
@ -12,7 +12,6 @@ import (
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/core"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/core/consts"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/core/option"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/services/certificates"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/services/fileuploader"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/services/payments/jsapi"
|
||||
"github.com/wechatpay-apiv3/wechatpay-go/utils"
|
||||
@ -47,12 +46,6 @@ func (wp *wxpay) initMch() {
|
||||
f5.GetSysLog().Alert("new wechat pay client err:%s", err)
|
||||
}
|
||||
|
||||
// 发送请求,以下载微信支付平台证书为例
|
||||
// https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay5_1.shtml
|
||||
svc := certificates.CertificatesApiService{Client: wp.client}
|
||||
resp, result, err := svc.DownloadCertificates(wp.ctx)
|
||||
f5.GetSysLog().Debug("status=%d resp=%s err=%s", result.Response.StatusCode, resp, err.Error())
|
||||
|
||||
go wp.checkGameMediaId()
|
||||
|
||||
wp.payhtmlstr, err = f5.ReadJsonFile("../config/payhtml.template")
|
||||
|
Loading…
x
Reference in New Issue
Block a user