This commit is contained in:
liwei1dao 2023-03-16 14:44:54 +08:00
commit cb29154698

View File

@ -963,7 +963,7 @@ func (this *Hero) QueryCrossMultipleHeroinfo(oid []string) (hero []*pb.DBHero, e
"_id": v,
}); res == nil {
_hero := &pb.DBHero{}
if err = res.Decode(hero); err != nil {
if err = res.Decode(_hero); err != nil {
this.modelHero.moduleHero.Errorf("find hero error: %v", err)
return
}