1
This commit is contained in:
parent
6ed4bdc4c5
commit
7489763fa9
@ -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)
|
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user