fix: 发送证书到邮箱插件的邮件模版转为使用邮箱配置中的通用模版

This commit is contained in:
xiaojunnuo
2025-12-16 22:07:39 +08:00
parent 4c6dcddf11
commit c5a3003cf7
6 changed files with 61 additions and 72 deletions
@@ -108,9 +108,7 @@ export class CodeService {
await this.emailService.sendByTemplate({
type: templateData.notificationType,
data: templateData,
email:{
receivers: [email],
},
receivers: [email],
});
const key = this.buildEmailCodeKey(email,opts?.verificationType);