This commit is contained in:
aozhiwei 2024-04-13 18:44:04 +08:00
parent 6ff214937e
commit 0842cce776

View File

@ -2,6 +2,7 @@ package mail
import ( import (
"f5" "f5"
"sync"
//"main/common" //"main/common"
//"main/constant" //"main/constant"
//"q5" //"q5"
@ -14,6 +15,7 @@ type attachment struct {
} }
type mail struct { type mail struct {
lock sync.Mutex
mailId int64 mailId int64
mailType int32 mailType int32
subject string subject string
@ -31,6 +33,14 @@ func (this *mail) init() {
} }
func (this *mail) Lock() {
this.lock.Lock()
}
func (this *mail) Unlock() {
this.lock.Unlock()
}
func (this *mail) loadFromDb(ds *f5.DataSet) { func (this *mail) loadFromDb(ds *f5.DataSet) {
} }