shaoguo 3 долоо хоног өмнө
parent
commit
566ae7dd99

+ 1 - 1
core/downloader/downloader.go

@@ -124,7 +124,7 @@ func (d *CertificateDownloader) updateCertificates(
 }
 
 func (d *CertificateDownloader) performDownloading(ctx context.Context) (*downloadCertificatesResponse, error) {
-	result, err := d.client.Get(ctx, consts.WechatPayAPIServer+"/v3/certificates")
+	result, err := d.client.Get(ctx, consts.WechatPayAPIServer+"/v3/global/certificates")
 	if err != nil {
 		return nil, err
 	}