You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
348 B
20 lines
348 B
package system
|
|
|
|
import (
|
|
"gin-vue-admin/utils"
|
|
)
|
|
|
|
type EmailService struct {
|
|
}
|
|
|
|
//@author: [maplepie](https://github.com/maplepie)
|
|
//@function: EmailTest
|
|
//@description: 发送邮件测试
|
|
//@return: err error
|
|
|
|
func (e *EmailService) EmailTest() (err error) {
|
|
subject := "test"
|
|
body := "test"
|
|
err = utils.EmailTest(subject, body)
|
|
return err
|
|
}
|