mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-10 04:20:26 +08:00
所有数据库相关的操作支持事务
This commit is contained in:
@@ -38,7 +38,7 @@ func NewManager() *Manager {
|
||||
|
||||
func (this *Manager) Load() (LibraryInterface, error) {
|
||||
// 当前正在使用的IP库代号
|
||||
config, err := models.SharedSysSettingDAO.ReadGlobalConfig()
|
||||
config, err := models.SharedSysSettingDAO.ReadGlobalConfig(nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user