Commit fdf023a0 authored by hujiebin's avatar hujiebin

fix: 拼接url

parent 812782b3
......@@ -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
......
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