Merge branch 'main' into main

This commit is contained in:
RHQYZ
2024-10-16 11:31:56 +08:00
committed by GitHub
4 changed files with 327 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ func (t *tencentCdn) uploadCert() (string, error) {
request.CertificatePublicKey = common.StringPtr(t.option.Certificate.Certificate)
request.CertificatePrivateKey = common.StringPtr(t.option.Certificate.PrivateKey)
request.Alias = common.StringPtr(t.option.Domain + "_" + rand.RandStr(6))
request.Repeatable = common.BoolPtr(true)
request.Repeatable = common.BoolPtr(false)
response, err := client.UploadCertificate(request)
if err != nil {