安装时检查数据库版本

This commit is contained in:
GoEdgeLab
2020-11-24 08:38:19 +08:00
parent 5c68607583
commit e50ddb95f3
3 changed files with 21 additions and 1 deletions

View File

@@ -7,8 +7,8 @@ import (
var isConfigured bool
// 判断系统是否已经配置过
// TODO 检查节点版本和数据库版本是否一致,如果不一致则跳转到升级页面
func IsConfigured() bool {
return false//TODO
if isConfigured {
return true
}