|
@@ -232,6 +232,8 @@ func (c *systemService) GetNet(physics bool) []string {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *systemService) UpdateSystemVersion(version string) {
|
|
func (s *systemService) UpdateSystemVersion(version string) {
|
|
|
|
+ keyName := "casa_version"
|
|
|
|
+ Cache.Delete(keyName)
|
|
if file.Exists(config.AppInfo.LogPath + "/upgrade.log") {
|
|
if file.Exists(config.AppInfo.LogPath + "/upgrade.log") {
|
|
os.Remove(config.AppInfo.LogPath + "/upgrade.log")
|
|
os.Remove(config.AppInfo.LogPath + "/upgrade.log")
|
|
}
|
|
}
|