feat: mail config and mail send
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user