铁匠铺手册台收藏家红点

This commit is contained in:
meixiongfeng 2023-06-15 09:45:49 +08:00
parent c1cfc45afe
commit 72e9f12905
2 changed files with 13 additions and 0 deletions

View File

@ -159,3 +159,13 @@ 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 {
if v.Activate == false {
return true
}
}
return false
}

View File

@ -130,6 +130,9 @@ func (this *Smithy) Reddot(session comm.IUserSession, rid ...comm.ReddotType) (r
case comm.Reddot17107: // 铁匠铺手册台收藏家奖励按钮上
reddot[comm.Reddot17107] = this.modelTask.checkReddot17107(session.GetUserId())
break
case comm.Reddot17106: //
reddot[comm.Reddot17106] = this.modelAtlas.checkReddot17106(session.GetUserId())
break
}
}