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