Reddot17106 ,Reddot17107合并
This commit is contained in:
parent
2131e2390f
commit
e1e66b5405
@ -156,16 +156,11 @@ func (this *modelAtlas) checkReddot17102(uid string) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
listCollect, _ := this.module.modelAtlas.getSmithyAtlasList(uid)
|
||||||
return false
|
for _, v := range listCollect.Collect {
|
||||||
}
|
|
||||||
func (this *modelAtlas) checkReddot17106(uid string) bool {
|
|
||||||
list, _ := this.module.modelAtlas.getSmithyAtlasList(uid)
|
|
||||||
for _, v := range list.Collect {
|
|
||||||
if v.Activate == false {
|
if v.Activate == false {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -138,12 +138,7 @@ func (this *Smithy) Reddot(session comm.IUserSession, rid ...comm.ReddotType) (r
|
|||||||
Activated: this.modelTask.checkReddot17107(session.GetUserId()),
|
Activated: this.modelTask.checkReddot17107(session.GetUserId()),
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case comm.Reddot17106: //
|
|
||||||
reddot[comm.Reddot17106] = &pb.ReddotItem{
|
|
||||||
Rid: int32(comm.Reddot17106),
|
|
||||||
Activated: this.modelAtlas.checkReddot17106(session.GetUserId()),
|
|
||||||
}
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user