From 071bdbd07ac1b1c744fac692cb6d966746f7f52e Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 13 Dec 2024 17:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/hdl/hdl_config.go b/app/hdl/hdl_config.go index f4c6397..bfea869 100644 --- a/app/hdl/hdl_config.go +++ b/app/hdl/hdl_config.go @@ -73,6 +73,9 @@ func Version(c *gin.Context) { appVersion := svc.GetSysCfgStr("app_version") version := make([]md.Version, 0) json.Unmarshal([]byte(appVersion), &version) + for k, v := range version { + version[k].Img = svc.GetOssUrl("default_icon/" + v.Type + "_icon.png") + } res := md.VersionResp{Version: version, IsAuditVersion: "0"} NewCloudBundleDb := implement.NewCloudBundleDb(db.Db) os := "1"