From e65b1e3d2e4646e8a7dffcdad606f06607dde8f2 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 9 Mar 2023 14:49:12 +0800 Subject: [PATCH] Update group_info.go --- domain/model/groupPower_m/group_info.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/domain/model/groupPower_m/group_info.go b/domain/model/groupPower_m/group_info.go index 71d6bf5..dafcd6c 100644 --- a/domain/model/groupPower_m/group_info.go +++ b/domain/model/groupPower_m/group_info.go @@ -27,5 +27,8 @@ func MGetGroupPowerInfoMap(model *domain.Model, groupPowerIds []mysql.ID) (map[m model.Log.Errorf("MGetGroupPowerInfo fail:%v", err) return res, err } + for i, v := range rows { + res[v.ID] = rows[i] + } return res, nil } -- 2.22.0