mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
perf: 支持邮件模版设置
This commit is contained in:
@@ -108,6 +108,11 @@ export class SysLicenseInfo extends BaseSettings {
|
||||
license?: string;
|
||||
}
|
||||
|
||||
|
||||
export type EmailTemplate = {
|
||||
addonId?: number;
|
||||
}
|
||||
|
||||
export class SysEmailConf extends BaseSettings {
|
||||
static __title__ = '邮箱配置';
|
||||
static __key__ = 'sys.email';
|
||||
@@ -126,6 +131,16 @@ export class SysEmailConf extends BaseSettings {
|
||||
};
|
||||
sender: string;
|
||||
usePlus?: boolean;
|
||||
|
||||
templates:{
|
||||
registerCode?: EmailTemplate,
|
||||
forgotPasswordCode?: EmailTemplate,
|
||||
certSuccessNotify?: EmailTemplate,
|
||||
certSend?: EmailTemplate,
|
||||
pipelineNotify?: EmailTemplate,
|
||||
test?: EmailTemplate,
|
||||
siteMonitorNotify?: EmailTemplate,
|
||||
}
|
||||
}
|
||||
|
||||
export class SysSiteInfo extends BaseSettings {
|
||||
|
||||
Reference in New Issue
Block a user