feat: mail config and mail send

This commit is contained in:
zchengo
2023-01-24 20:03:35 +08:00
parent a9e33f2bcc
commit 35886fde4f
17 changed files with 731 additions and 8 deletions
+11
View File
@@ -5,3 +5,14 @@ type Page struct {
PageNum int `form:"pageNum" json:"pageNum"`
PageSize int `form:"pageSize" json:"pageSize"`
}
// 发送邮件参数模型
type MailParam struct {
Smtp string
Port int
AuthCode string
Sender string
Subject string
Content string
Receiver string
}