查询最佳通关记录

This commit is contained in:
meixiongfeng 2022-10-13 15:29:59 +08:00
parent b82329cd0f
commit d591b8f964

View File

@ -62,3 +62,16 @@ func (this *Viking) Start() (err error) {
this.battle = module.(comm.IBattle)
return
}
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)
}
}
}
return
}