perf: 腾讯云关闭证书通知增加开关选项,在腾讯云授权里面

This commit is contained in:
xiaojunnuo
2025-08-17 23:32:29 +08:00
parent a34db7449e
commit a77c777980
2 changed files with 14 additions and 1 deletions
@@ -50,7 +50,10 @@ export class TencentSslClient {
const ret = await client.UploadCertificate(params);
this.checkRet(ret);
this.logger.info(`证书[${opts.certName}]上传成功:tencentCertId=`, ret.CertificateId);
await this.switchCertNotify([ret.CertificateId], true);
if (this.access.closeExpiresNotify) {
await this.switchCertNotify([ret.CertificateId], true);
}
return ret.CertificateId;
}