1
This commit is contained in:
parent
ded5802429
commit
e0c06c8b01
@ -134,6 +134,7 @@ func (this *mailMgr) CaGetMailList(c *gin.Context) {
|
|||||||
this.traversePlayerMail(
|
this.traversePlayerMail(
|
||||||
hum,
|
hum,
|
||||||
func (m *mail) bool {
|
func (m *mail) bool {
|
||||||
|
f5.GetSysLog().Info("getMailList mail_id:%s", m.mailId)
|
||||||
if m.IsValid(hum) {
|
if m.IsValid(hum) {
|
||||||
if hum.IsReadable(m) {
|
if hum.IsReadable(m) {
|
||||||
mailDto := new(common.MailDto)
|
mailDto := new(common.MailDto)
|
||||||
|
@ -237,6 +237,7 @@ func (this *player) load() {
|
|||||||
p.state = q5.ToInt32(ds.GetByName("state"))
|
p.state = q5.ToInt32(ds.GetByName("state"))
|
||||||
p.expireTime = q5.ToInt32(ds.GetByName("expiretime"))
|
p.expireTime = q5.ToInt32(ds.GetByName("expiretime"))
|
||||||
this.inboxHash[p.mailId] = p
|
this.inboxHash[p.mailId] = p
|
||||||
|
f5.GetSysLog().Info("load mail mail_id:%s", p.mailId)
|
||||||
}
|
}
|
||||||
this.loaded = true
|
this.loaded = true
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user