Reddot17106 ,Reddot17107合并

This commit is contained in:
meixiongfeng 2023-06-16 21:24:26 +08:00
parent 2131e2390f
commit e1e66b5405
2 changed files with 3 additions and 13 deletions

View File

@ -156,16 +156,11 @@ func (this *modelAtlas) checkReddot17102(uid string) bool {
}
}
}
return false
}
func (this *modelAtlas) checkReddot17106(uid string) bool {
list, _ := this.module.modelAtlas.getSmithyAtlasList(uid)
for _, v := range list.Collect {
listCollect, _ := this.module.modelAtlas.getSmithyAtlasList(uid)
for _, v := range listCollect.Collect {
if v.Activate == false {
return true
}
}
return false
}

View File

@ -138,12 +138,7 @@ func (this *Smithy) Reddot(session comm.IUserSession, rid ...comm.ReddotType) (r
Activated: this.modelTask.checkReddot17107(session.GetUserId()),
}
break
case comm.Reddot17106: //
reddot[comm.Reddot17106] = &pb.ReddotItem{
Rid: int32(comm.Reddot17106),
Activated: this.modelAtlas.checkReddot17106(session.GetUserId()),
}
break
}
}