过滤维京远征boss数据

This commit is contained in:
meixiongfeng 2023-09-26 14:15:09 +08:00
parent ca4f0faed5
commit 557c23bfc1

View File

@ -95,9 +95,11 @@ func (this *Viking) CheckUserBaseVikingInfo(uid string) (data []*pb.DBVikingRank
list, err := this.modelViking.getVikingList(uid)
if err == nil {
for k := range list.Boss {
_d := this.modulerank.getVikingRankListByBossType(uid, k)
if _d != nil {
data = append(data, _d)
if k <= 3 {
_d := this.modulerank.getVikingRankListByBossType(uid, k)
if _d != nil {
data = append(data, _d)
}
}
}
}