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"