feat:完善项目信息
This commit is contained in:
@ -38,7 +38,7 @@ func (c *Sub) sync(tx *gorm.DB, database string) error {
|
||||
}
|
||||
}
|
||||
// 重新使用默认的数据库
|
||||
tx.Exec(fmt.Sprintf("use %s;", config.SettingInfo.Engine.Mysql.DBName))
|
||||
tx.Exec(fmt.Sprintf("use %s;", config.EngineInfo.Engines.Mysql.Database))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user