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

This commit is contained in:
刘祥超
2021-12-21 15:18:11 +08:00
parent 2e9182933e
commit 0fcba7e90c
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()
}