mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-29 11:30:24 +08:00
初步实现安装界面
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user