This commit is contained in:
aozhiwei 2024-04-13 12:12:07 +08:00
parent 6ed4bdc4c5
commit 7489763fa9
2 changed files with 22 additions and 6 deletions

View File

@ -1,7 +1,6 @@
package common package common
import ( import (
"github.com/gin-gonic/gin"
) )
type App interface { type App interface {
@ -18,9 +17,4 @@ type PlayerMgr interface{
} }
type MailMgr interface{ type MailMgr interface{
CaGetMailList(*gin.Context)
CaMarkMail(*gin.Context)
CaGetUnreadMailCnt(*gin.Context)
CaGetAttachment(*gin.Context)
CaDeleteMails(*gin.Context)
} }

View File

@ -1,6 +1,8 @@
package mail package mail
import ( import (
"main/common"
"github.com/gin-gonic/gin"
) )
type MailMgr struct { type MailMgr struct {
@ -20,3 +22,23 @@ func (this *MailMgr) FetchMailFromDB() {
func (this *MailMgr) LoadFromDB() { func (this *MailMgr) LoadFromDB() {
} }
func (this *MailMgr) caGetMailList(common.Player, *gin.Context) {
}
func (this *MailMgr) caMarkMail(common.Player, *gin.Context) {
}
func (this *MailMgr) caGetUnreadMailCnt(common.Player, *gin.Context) {
}
func (this *MailMgr) caGetAttachment(common.Player, *gin.Context) {
}
func (this *MailMgr) caDeleteMails(common.Player, *gin.Context) {
}