|
@@ -73,6 +73,9 @@ func Version(c *gin.Context) { |
|
|
appVersion := svc.GetSysCfgStr("app_version") |
|
|
appVersion := svc.GetSysCfgStr("app_version") |
|
|
version := make([]md.Version, 0) |
|
|
version := make([]md.Version, 0) |
|
|
json.Unmarshal([]byte(appVersion), &version) |
|
|
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"} |
|
|
res := md.VersionResp{Version: version, IsAuditVersion: "0"} |
|
|
NewCloudBundleDb := implement.NewCloudBundleDb(db.Db) |
|
|
NewCloudBundleDb := implement.NewCloudBundleDb(db.Db) |
|
|
os := "1" |
|
|
os := "1" |
|
|