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