报错
This commit is contained in:
parent
79fb4b27eb
commit
d3dbc468af
@ -949,7 +949,7 @@ func (this *Hero) QueryCrossMultipleHeroinfo(oid []string) (hero []*pb.DBHero, e
|
||||
"_id": v,
|
||||
})
|
||||
_hero := &pb.DBHero{}
|
||||
if err = sr.Decode(hero); err != nil {
|
||||
if err = sr.Decode(_hero); err != nil {
|
||||
this.modelHero.moduleHero.Errorf("find hero error: %v", err)
|
||||
}
|
||||
hero = append(hero, _hero)
|
||||
|
Loading…
Reference in New Issue
Block a user