perf: 增加邮件发送证书模版配置

This commit is contained in:
xiaojunnuo
2025-12-30 11:53:26 +08:00
parent 6419539305
commit cabc4da3ac
4 changed files with 56 additions and 2 deletions
@@ -156,7 +156,7 @@ export class DeployCertToMailPlugin extends AbstractTaskPlugin {
throw new Error('证书压缩文件还未生成,重新运行证书任务');
}
await this.ctx.emailService.sendByTemplate({
type: "common",
type: "sendCert",
data,
receivers: this.email,
attachments: [