diff --git a/modules/library/module.go b/modules/library/module.go index d70685b73..21323cde9 100644 --- a/modules/library/module.go +++ b/modules/library/module.go @@ -192,6 +192,7 @@ func (this *Library) AddHeroFetterData(uid, heroConfId string) (code pb.ErrorCod if code != pb.ErrorCode_Success { this.Errorf("CreateLibrary failed: %v,uid:%s,fid:%d", code, uid, fid) } + rsp.Data = append(rsp.Data, obj) } else { // 羁绊信息中没有这个heroid 也需要加进来 // 同步数据 mapData := make(map[string]interface{}, 0)