diff --git a/config/config.go b/config/config.go index b55aee1..f8cf9a7 100644 --- a/config/config.go +++ b/config/config.go @@ -85,7 +85,15 @@ func Default() Config { ServerName: "没有设置名字", Captcha: Captcha{}, Email: EmailConfig{ - Smtp: []SmtpUser{}, + Smtp: []SmtpUser{ + { + Host: "", + Port: 0, + SSL: false, + Name: "", + Pass: "", + }, + }, AllowDomain: []string{}, }, }