增加收藏更新邮件发送

This commit is contained in:
mtvpls
2026-01-16 16:11:31 +08:00
parent 036e909f74
commit 6bce099a8d
14 changed files with 2468 additions and 176 deletions
+18
View File
@@ -206,6 +206,24 @@ export interface AdminConfig {
Password?: string; // 密码认证(备选)
DisableVideoPreview?: boolean; // 禁用预览视频,直接返回直连链接
};
EmailConfig?: {
enabled: boolean; // 是否启用邮件通知
provider: 'smtp' | 'resend'; // 邮件发送方式
// SMTP配置
smtp?: {
host: string; // SMTP服务器地址
port: number; // SMTP端口(25/465/587
secure: boolean; // 是否使用SSL/TLS
user: string; // SMTP用户名
password: string; // SMTP密码
from: string; // 发件人邮箱
};
// Resend配置
resend?: {
apiKey: string; // Resend API Key
from: string; // 发件人邮箱
};
};
}
export interface AdminConfigResult {