From 52553ed53ff3bcba913ff887c47207f23db0dbab Mon Sep 17 00:00:00 2001 From: amell <18292835608@163.com> Date: Sun, 16 Jul 2023 11:13:52 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20https://gitee.com/objs/mayfly-go/issues?= =?UTF-8?q?/I7LFXS=E7=9A=84=E7=BC=BA=E9=99=B7=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/internal/db/api/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/internal/db/api/db.go b/server/internal/db/api/db.go index 3a4a46df..59e4a41a 100644 --- a/server/internal/db/api/db.go +++ b/server/internal/db/api/db.go @@ -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) }