From 9cd8242ebaff56af1ca90e88508be1204cfcdc5e Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 9 Oct 2024 11:31:21 +0800 Subject: [PATCH] update --- app/hdl/hdl_comm.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/hdl/hdl_comm.go b/app/hdl/hdl_comm.go index f24351d..bddf6b1 100644 --- a/app/hdl/hdl_comm.go +++ b/app/hdl/hdl_comm.go @@ -12,8 +12,7 @@ import ( ) func MenuList(c *gin.Context) { - masterId := svc.GetMasterId(c) - engine := db.DBs[masterId] + engine := db.Db admin := svc.GetUser(c) qrcodeWithBatchRecordsDb := implement.NewPermissionGroupDb(engine) groupList, err := qrcodeWithBatchRecordsDb.FindPermissionGroupV2()