上传排行版数据异常排查

This commit is contained in:
liwei1dao 2024-02-06 15:27:12 +08:00
parent 680f845938
commit e70e45fc8f

View File

@ -92,7 +92,7 @@ func (this *modelArena) queryPlayerInfo(uId string) (result *pb.DBArenaUser, err
// 查询用户装备数据
func (this *modelArena) queryPlayers(uIds []string) (result []*pb.DBArenaUser, err error) {
result = make([]*pb.DBArenaUser, 0)
if _, err = this.Gets(uIds, &result); err != nil && err != mgo.MongodbNil {
if _, err = this.GetByUids(uIds, &result); err != nil && err != mgo.MongodbNil {
this.module.Errorln(err)
return
}