Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
37290a94ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/hdl/hdl_index.go

+ 1
- 1
app/hdl/hdl_index.go View File

@@ -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


Loading…
Cancel
Save