增加自动检查系统更新设置

This commit is contained in:
GoEdgeLab
2021-12-21 15:18:11 +08:00
parent 0df586f151
commit f48e91e558
39 changed files with 348 additions and 1497 deletions

View File

@@ -40,6 +40,11 @@ func (this *IndexAction) RunGet(params struct{}) {
}
}
// 版本更新
this.Data["currentVersionCode"] = teaconst.Version
this.Data["newVersionCode"] = teaconst.NewVersionCode
this.Data["newVersionDownloadURL"] = teaconst.NewVersionDownloadURL
this.Show()
}