diff --git a/modules/smithy/model_atlas.go b/modules/smithy/model_atlas.go index 768d6a838..ed3a8731a 100644 --- a/modules/smithy/model_atlas.go +++ b/modules/smithy/model_atlas.go @@ -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 +} diff --git a/modules/smithy/module.go b/modules/smithy/module.go index d399b6f8a..01cf0a15a 100644 --- a/modules/smithy/module.go +++ b/modules/smithy/module.go @@ -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 } }