From 37290a94ca80f1c4c4eaed7cc8fa6f9c9cc60747 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 30 Sep 2024 15:17:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/hdl_index.go b/app/hdl/hdl_index.go index e76bc77..fb586b6 100644 --- a/app/hdl/hdl_index.go +++ b/app/hdl/hdl_index.go @@ -35,7 +35,7 @@ func Base(c *gin.Context) { NewAdminRoleDb := implement.NewAdminRoleDb(svc.MasterDb(c)) role, _ := NewAdminRoleDb.GetAdminRoleByAdminId(user.AdmId) if role != nil { - NewRoleDb := implement.NewRoleDb(svc.MasterDb(c), user.AdmId) + NewRoleDb := implement.NewRoleDb(svc.MasterDb(c), role.RoleId) getRole, _ := NewRoleDb.GetRole() if getRole != nil { res["logo"] = getRole.Logo