1
This commit is contained in:
parent
59b5839d5d
commit
664676127c
@ -121,7 +121,7 @@ func (this *mailMgr) CaGetMailList(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *mailMgr) CaMarkMail(c *gin.Context) {
|
||||
/*
|
||||
hum := c.MustGet("hum").(common.Player)
|
||||
mailIds := q5.StrSplit(c.DefaultQuery("mail_ids", ""), ",")
|
||||
mails := []common.Mail{}
|
||||
for _, str := range(mailIds) {
|
||||
@ -136,11 +136,10 @@ func (this *mailMgr) CaMarkMail(c *gin.Context) {
|
||||
ErrMsg string `json:"errmsg"`
|
||||
}{}
|
||||
c.JSON(200, rspObj)
|
||||
*/
|
||||
}
|
||||
|
||||
func (this *mailMgr) CaGetUnreadMailCnt(c *gin.Context) {
|
||||
/*
|
||||
hum := c.MustGet("hum").(common.Player)
|
||||
rspObj := struct {
|
||||
ErrCode int32 `json:"errcode"`
|
||||
ErrMsg string `json:"errmsg"`
|
||||
@ -155,11 +154,11 @@ func (this *mailMgr) CaGetUnreadMailCnt(c *gin.Context) {
|
||||
}
|
||||
return true
|
||||
})
|
||||
c.JSON(200, rspObj)*/
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
|
||||
func (this *mailMgr) CaGetAttachment(c *gin.Context) {
|
||||
/*
|
||||
hum := c.MustGet("hum").(common.Player)
|
||||
mailIds := q5.StrSplit(c.DefaultQuery("mail_ids", ""), ",")
|
||||
mails := []common.Mail{}
|
||||
for _, str := range(mailIds) {
|
||||
@ -173,11 +172,11 @@ func (this *mailMgr) CaGetAttachment(c *gin.Context) {
|
||||
ErrCode int32 `json:"errcode"`
|
||||
ErrMsg string `json:"errmsg"`
|
||||
}{}
|
||||
c.JSON(200, rspObj)*/
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
|
||||
func (this *mailMgr) CaDeleteMails(c *gin.Context) {
|
||||
/*
|
||||
hum := c.MustGet("hum").(common.Player)
|
||||
mailIds := q5.StrSplit(c.DefaultQuery("mail_ids", ""), ",")
|
||||
mails := []common.Mail{}
|
||||
for _, str := range(mailIds) {
|
||||
@ -192,7 +191,6 @@ func (this *mailMgr) CaDeleteMails(c *gin.Context) {
|
||||
ErrMsg string `json:"errmsg"`
|
||||
}{}
|
||||
c.JSON(200, rspObj)
|
||||
*/
|
||||
}
|
||||
|
||||
func (this *mailMgr) traversePlayerMail(hum common.Player, cb func(*mail) bool) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user