From fdf023a0d607cca35fe80fed5434e58f1199ee71 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Tue, 21 Mar 2023 16:37:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8B=BC=E6=8E=A5url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domain/model/groupPower_m/group_info.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/domain/model/groupPower_m/group_info.go b/domain/model/groupPower_m/group_info.go index aae2b02..fda35ba 100644 --- a/domain/model/groupPower_m/group_info.go +++ b/domain/model/groupPower_m/group_info.go @@ -3,6 +3,7 @@ package groupPower_m import ( "git.hilo.cn/hilo-common/domain" "git.hilo.cn/hilo-common/resource/mysql" + "git.hilo.cn/hilo-common/utils" "hilo-group/_const/enum/groupPower_e" ) @@ -29,6 +30,7 @@ func MGetGroupPowerInfoMap(model *domain.Model, groupPowerIds []mysql.ID) (map[m return res, err } for i, v := range rows { + rows[i].Icon = utils.MakeFullUrl(rows[i].Icon) // 拼接url res[v.ID] = rows[i] } return res, nil -- 2.22.0