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()