This commit is contained in:
aozhiwei 2024-04-16 08:40:09 +08:00
parent 2a716f7108
commit c95cb8b4ca

View File

@ -1,9 +1,7 @@
package player package player
import ( import (
"f5"
"sync" "sync"
"time"
) )
type ReadMail struct { type ReadMail struct {
@ -23,13 +21,6 @@ type player struct {
accountId string accountId string
sessionId string sessionId string
registerTime int32 registerTime int32
readMailHash map[int64]*ReadMail
deletedMailHash map[int64]*DeletedMail
cacheExpiration time.Time
// 定时器
dirtyTimer *f5.TimerWp
attacher *f5.TimerAttacher
dirty bool // 标记数据已修改
} }
func (this *player) Lock() { func (this *player) Lock() {