add email module

This commit is contained in:
maplepie
2020-09-08 15:57:46 +08:00
parent be9c85ae42
commit 6631aa35db
10 changed files with 186 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
package service
import (
"gin-vue-admin/utils"
)
// @title EmailTest
// @description 发送邮件测试
// @auth (2020/09/08 13:58
// @return err error
func EmailTest() (err error) {
subject := "test"
body := "test"
err = utils.EmailTest(subject, body)
return err
}