From f86c7dd80f7c6858a86895cb6ee001dace15eeab Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Tue, 12 Dec 2023 11:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=97=B6=E5=90=8C=E6=97=B6=E8=BF=94=E5=9B=9E=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/db/models/admin_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/models/admin_dao.go b/internal/db/models/admin_dao.go index 36a4aa86..4155dd0b 100644 --- a/internal/db/models/admin_dao.go +++ b/internal/db/models/admin_dao.go @@ -260,7 +260,7 @@ func (this *AdminDAO) FindAllAdminModules(tx *dbs.Tx) (result []*Admin, err erro _, err = this.Query(tx). State(AdminStateEnabled). Attr("isOn", true). - Result("id", "modules", "isSuper", "fullname", "theme"). + Result("id", "modules", "isSuper", "fullname", "theme", "lang"). Slice(&result). FindAll() return