初步实现安装界面

This commit is contained in:
刘祥超
2020-10-13 20:05:13 +08:00
parent 6d268d0b73
commit 0e3330e1c6
76 changed files with 2550 additions and 88 deletions

View File

@@ -25,7 +25,13 @@ func NewNodeLogDAO() *NodeLogDAO {
}).(*NodeLogDAO)
}
var SharedNodeLogDAO = NewNodeLogDAO()
var SharedNodeLogDAO *NodeLogDAO
func init() {
dbs.OnReady(func() {
SharedNodeLogDAO = NewNodeLogDAO()
})
}
// 创建日志
func (this *NodeLogDAO) CreateLog(nodeRole NodeRole, nodeId int64, level string, tag string, description string, createdAt int64) error {