mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-09 03:30:24 +08:00
初步实现安装界面
This commit is contained in:
@@ -24,7 +24,13 @@ func NewNodeGroupDAO() *NodeGroupDAO {
|
||||
}).(*NodeGroupDAO)
|
||||
}
|
||||
|
||||
var SharedNodeGroupDAO = NewNodeGroupDAO()
|
||||
var SharedNodeGroupDAO *NodeGroupDAO
|
||||
|
||||
func init() {
|
||||
dbs.OnReady(func() {
|
||||
SharedNodeGroupDAO = NewNodeGroupDAO()
|
||||
})
|
||||
}
|
||||
|
||||
// 启用条目
|
||||
func (this *NodeGroupDAO) EnableNodeGroup(id uint32) (rowsAffected int64, err error) {
|
||||
|
||||
Reference in New Issue
Block a user