Commit e65b1e3d authored by hujiebin's avatar hujiebin

Update group_info.go

parent 983add29
...@@ -27,5 +27,8 @@ func MGetGroupPowerInfoMap(model *domain.Model, groupPowerIds []mysql.ID) (map[m ...@@ -27,5 +27,8 @@ func MGetGroupPowerInfoMap(model *domain.Model, groupPowerIds []mysql.ID) (map[m
model.Log.Errorf("MGetGroupPowerInfo fail:%v", err) model.Log.Errorf("MGetGroupPowerInfo fail:%v", err)
return res, err return res, err
} }
for i, v := range rows {
res[v.ID] = rows[i]
}
return res, nil return res, nil
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment