|
|
@@ -33,7 +33,7 @@ func List(c *gin.Context) { |
|
|
|
tmp := md.CloudBundleList{ |
|
|
|
Id: utils.IntToStr(v.Id), |
|
|
|
BuildId: v.BuildId, |
|
|
|
Version: "v" + v.Version, |
|
|
|
Version: v.Version, |
|
|
|
Os: utils.IntToStr(v.Os), |
|
|
|
State: utils.IntToStr(v.State), |
|
|
|
Memo: v.Memo, |
|
|
@@ -56,13 +56,13 @@ func List(c *gin.Context) { |
|
|
|
resp.LastBit = "64" |
|
|
|
resp.LastIsCombine = "0" |
|
|
|
if lastAndroid != nil { |
|
|
|
resp.LastAndroid = "v" + lastAndroid.Version |
|
|
|
resp.LastAndroid = lastAndroid.Version |
|
|
|
resp.LastBit = lastAndroid.Bit |
|
|
|
resp.LastIsCombine = lastAndroid.IsCombine |
|
|
|
} |
|
|
|
lastIos, _ := NewCloudBundleDb.GetCloudBundleLast("2") |
|
|
|
if lastIos != nil { |
|
|
|
resp.ListIos = "v" + lastIos.Version |
|
|
|
resp.ListIos = lastIos.Version |
|
|
|
} |
|
|
|
resp.List = noticeList |
|
|
|
e.OutSuc(c, resp, nil) |
|
|
|