This commit is contained in:
aozhiwei 2024-04-27 12:55:57 +08:00
parent fd3ce243cd
commit 6cf715d984

View File

@ -1,6 +1,9 @@
package system
import (
"f5"
"main/constant"
"main/model/system"
"github.com/gin-gonic/gin"
)
@ -8,4 +11,6 @@ type MailApi struct {
}
func (this *MailApi) AddMail(c *gin.Context) {
mail := new(system.Mail)
f5.GetApp().GetOrmDb(constant.MAIL_DB).Create(mail)
}