1
This commit is contained in:
parent
6ff214937e
commit
0842cce776
@ -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) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user