Merge pull request !56 from amell/dev
This commit is contained in:
Coder慌
2023-07-16 04:04:00 +00:00
committed by Gitee

View File

@@ -89,6 +89,7 @@ func (d *Db) GetDatabaseNames(rc *req.Ctx) {
// 如果id不为空并且密码为空则从数据库查询
if form.Id != 0 && db.Password == "" {
db = d.DbApp.GetById(form.Id)
db.PwdDecrypt()
}
rc.ResData = d.DbApp.GetDatabases(db)
}