mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
perf: 批量设置定时,支持清除定时
This commit is contained in:
@@ -61,8 +61,14 @@ export class BaseEmailTemplateProvider extends BaseAddon implements ITemplatePro
|
||||
|
||||
|
||||
async buildContent(params: BuildContentReq): Promise<EmailContent> {
|
||||
const title = this.compile(this.titleTemplate)(params.data)
|
||||
const content = this.compile(this.contentTemplate)(params.data)
|
||||
const data = {
|
||||
title:"",
|
||||
content:"",
|
||||
url:"",
|
||||
...params.data,
|
||||
}
|
||||
const title = this.compile(this.titleTemplate)(data)
|
||||
const content = this.compile(this.contentTemplate)(data)
|
||||
|
||||
const body: any = {
|
||||
subject: title,
|
||||
|
||||
Reference in New Issue
Block a user