This commit is contained in:
aozhiwei 2024-08-22 19:14:54 +08:00
parent ded5802429
commit e0c06c8b01
2 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,7 @@ func (this *mailMgr) CaGetMailList(c *gin.Context) {
this.traversePlayerMail(
hum,
func (m *mail) bool {
f5.GetSysLog().Info("getMailList mail_id:%s", m.mailId)
if m.IsValid(hum) {
if hum.IsReadable(m) {
mailDto := new(common.MailDto)

View File

@ -237,6 +237,7 @@ func (this *player) load() {
p.state = q5.ToInt32(ds.GetByName("state"))
p.expireTime = q5.ToInt32(ds.GetByName("expiretime"))
this.inboxHash[p.mailId] = p
f5.GetSysLog().Info("load mail mail_id:%s", p.mailId)
}
this.loaded = true
})