优化结构

This commit is contained in:
Yvan
2026-08-28 00:29:40 +08:00
parent 04ff85116c
commit 03a4131f6e
118 changed files with 758 additions and 834 deletions
-4
View File
@@ -33,10 +33,6 @@ func (r *emailRepo) email() *config.Email {
return config.Email
}
func (r *emailRepo) Enabled() bool {
return emailEnabled(r.email())
}
func (r *emailRepo) DefaultRecipients() []string {
config := r.email()
if config == nil || strings.TrimSpace(config.To) == "" {