上传海岛接口优化
This commit is contained in:
parent
482d16046a
commit
fac41f2169
@ -43,8 +43,8 @@ func (this *modelHeroComp) getHeros(uid string, ids []string) (heros []*pb.DBHer
|
||||
}
|
||||
|
||||
//添加英雄
|
||||
func (this *modelHeroComp) addheros(uid string, heros *pb.DBHero) (err error) {
|
||||
if err = this.AddLists(uid, heros); err != nil {
|
||||
func (this *modelHeroComp) addheros(uid string, hero *pb.DBHero) (err error) {
|
||||
if err = this.AddList(uid, hero.Id, hero); err != nil {
|
||||
this.module.Errorln(err)
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user