1
This commit is contained in:
parent
790249d90e
commit
577035b375
@ -68,11 +68,12 @@ func (this *mail) isType(mailType int32) bool {
|
||||
}
|
||||
|
||||
func (this *mail) IsValid(hum common.Player) bool {
|
||||
if f5.GetApp().GetNowSeconds() > int64(this.expireTime) &&
|
||||
if f5.GetApp().GetRealSeconds() > int64(this.expireTime) &&
|
||||
hum.GetRegisterTime() >= this.userRegStartTime &&
|
||||
hum.GetRegisterTime() <= this.userRegEndTime {
|
||||
if this.mailType == constant.MAIL_TYPE_GROUP {
|
||||
} else if this.mailType == constant.MAIL_TYPE_ALL {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user