|
@@ -9,7 +9,6 @@ import ( |
|
|
"applet/app/utils" |
|
|
"applet/app/utils" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
"encoding/json" |
|
|
|
|
|
"fmt" |
|
|
"fmt" |
|
|
"github.com/gin-gonic/gin" |
|
|
"github.com/gin-gonic/gin" |
|
|
"github.com/syyongx/php2go" |
|
|
"github.com/syyongx/php2go" |
|
@@ -63,8 +62,7 @@ func List(c *gin.Context) { |
|
|
resp.LastAndroid = lastAndroid.Version |
|
|
resp.LastAndroid = lastAndroid.Version |
|
|
resp.LastBit = lastAndroid.Bit |
|
|
resp.LastBit = lastAndroid.Bit |
|
|
resp.LastIsCombine = lastAndroid.IsCombine |
|
|
resp.LastIsCombine = lastAndroid.IsCombine |
|
|
platform := make([]string, 0) |
|
|
|
|
|
json.Unmarshal([]byte(lastAndroid.NewPlatform), &platform) |
|
|
|
|
|
|
|
|
platform := strings.Split(lastAndroid.NewPlatform, ",") |
|
|
resp.LastPlatform = platform |
|
|
resp.LastPlatform = platform |
|
|
} |
|
|
} |
|
|
lastIos, _ := NewCloudBundleDb.GetCloudBundleLast("2") |
|
|
lastIos, _ := NewCloudBundleDb.GetCloudBundleLast("2") |
|
|