Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
be2d1a7672
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      app/admin/hdl/hdl_comm.go

+ 7
- 1
app/admin/hdl/hdl_comm.go View File

@@ -46,7 +46,13 @@ func MenuList(c *gin.Context) {
var tempRespMap = map[string]*md.PermissionGroupListResp{}
var tempRespMapKeys []string
for _, v := range *groupList {
isCheck := false
var isCheck bool
if admin.IsSuperAdministrator == enum.IsSuperAdministratorTure {
isCheck = true
} else {
isCheck = false
}

if utils.InArr(utils.IntToStr(v.Id), adminHasPermissionGroupIds) {
isCheck = true
}


Loading…
Cancel
Save