diff --git a/app/svc/cloud_bundle/svc_list.go b/app/svc/cloud_bundle/svc_list.go index f1b3026..94b5409 100644 --- a/app/svc/cloud_bundle/svc_list.go +++ b/app/svc/cloud_bundle/svc_list.go @@ -71,13 +71,13 @@ func List(c *gin.Context) { } resp.List = noticeList resp.SelectData = []md.CloudBundleVersionMap{ - {Type: "station", Name: "本站"}, - {Type: "yingyongbao", Name: "应用宝"}, - {Type: "huawei", Name: "华为"}, - {Type: "xiaomi", Name: "小米"}, - {Type: "meizu", Name: "魅族"}, - {Type: "vivo", Name: "VIVO"}, - {Type: "oppo", Name: "OPPO"}, + {Type: "station", Name: "官方渠道"}, + {Type: "yingyongbao", Name: "应用宝商店"}, + {Type: "huawei", Name: "华为应用商店"}, + {Type: "xiaomi", Name: "小米应用商店"}, + {Type: "meizu", Name: "魅族应用商店"}, + {Type: "vivo", Name: "VIVO应用商店"}, + {Type: "oppo", Name: "OPPO应用商店"}, } e.OutSuc(c, resp, nil) return diff --git a/app/svc/cloud_bundle/svc_version_info.go b/app/svc/cloud_bundle/svc_version_info.go index 56963b5..15aa008 100644 --- a/app/svc/cloud_bundle/svc_version_info.go +++ b/app/svc/cloud_bundle/svc_version_info.go @@ -17,18 +17,18 @@ func VersionBase(c *gin.Context) { tmp := make([]md.CloudBundleVersion, 0) json.Unmarshal([]byte(appCloudBundleData), &tmp) data := []md.CloudBundleVersion{ - {Type: "station", Name: "本站"}, - {Type: "yingyongbao", Name: "应用宝"}, - {Type: "ios", Name: "IOS"}, - {Type: "huawei", Name: "华为"}, - {Type: "xiaomi", Name: "小米"}, - {Type: "meizu", Name: "魅族"}, - {Type: "vivo", Name: "VIVO"}, - {Type: "oppo", Name: "OPPO"}, + {Type: "station", Name: "官方渠道"}, + {Type: "yingyongbao", Name: "应用宝商店"}, + {Type: "ios", Name: "IOS商店"}, + {Type: "huawei", Name: "华为应用商店"}, + {Type: "xiaomi", Name: "小米应用商店"}, + {Type: "meizu", Name: "魅族应用商店"}, + {Type: "vivo", Name: "VIVO应用商店"}, + {Type: "oppo", Name: "OPPO应用商店"}, } for k, v := range data { - data[k].Img = v.Type + "_icon.png" - data[k].ImgUrl = svc.GetOssUrl(v.Type + "_icon.png") + data[k].Img = "default_icon/" + v.Type + "_icon.png" + data[k].ImgUrl = svc.GetOssUrl(data[k].Img) for _, v1 := range tmp { if v1.Type == v.Type { data[k].Version = v1.Version