From ea4c8e16fee94dd16c80998c1546dbd0bd45c28c Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 30 Nov 2022 13:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/library/module.go | 1 + 1 file changed, 1 insertion(+) 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)