1
This commit is contained in:
parent
fd3ce243cd
commit
6cf715d984
@ -1,6 +1,9 @@
|
|||||||
package system
|
package system
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"f5"
|
||||||
|
"main/constant"
|
||||||
|
"main/model/system"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -8,4 +11,6 @@ type MailApi struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *MailApi) AddMail(c *gin.Context) {
|
func (this *MailApi) AddMail(c *gin.Context) {
|
||||||
|
mail := new(system.Mail)
|
||||||
|
f5.GetApp().GetOrmDb(constant.MAIL_DB).Create(mail)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user