mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-19 20:40:25 +08:00
初步实现安装界面
This commit is contained in:
@@ -21,7 +21,13 @@ func NewSysEventDAO() *SysEventDAO {
|
||||
}).(*SysEventDAO)
|
||||
}
|
||||
|
||||
var SharedSysEventDAO = NewSysEventDAO()
|
||||
var SharedSysEventDAO *SysEventDAO
|
||||
|
||||
func init() {
|
||||
dbs.OnReady(func() {
|
||||
SharedSysEventDAO = NewSysEventDAO()
|
||||
})
|
||||
}
|
||||
|
||||
// 创建事件
|
||||
func (this *SysEventDAO) CreateEvent(event EventInterface) error {
|
||||
|
||||
Reference in New Issue
Block a user