邮件红点默认值
This commit is contained in:
parent
d1a176cfcf
commit
26262164cd
@ -149,7 +149,7 @@ func (this *modelMail) checkReddot26(uid string) bool {
|
||||
func (this *modelMail) checkReddot30(uid string) bool {
|
||||
mailinfo, err := this.MailQueryUserMail(uid)
|
||||
if err != nil {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
for _, v := range mailinfo {
|
||||
if !v.Check {
|
||||
|
@ -146,7 +146,7 @@ func (this *Mail) Reddot(session comm.IUserSession, rid ...comm.ReddotType) (red
|
||||
}
|
||||
break
|
||||
case comm.Reddot30:
|
||||
if isredot := this.modelMail.checkReddot30(session.GetUserId()); isredot {
|
||||
if isredot := this.modelMail.checkReddot30(session.GetUserId()); !isredot {
|
||||
reddot[comm.Reddot30] = true
|
||||
}
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user