铁匠铺手册台收藏家红点
This commit is contained in:
parent
c1cfc45afe
commit
72e9f12905
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user