...
|
...
|
@@ -34,7 +34,7 @@ func FilterMenuByRole(allMenu []protocol.PermissionItem, userid int64, companyid |
|
|
log.Error("获取用户数据失败:%s", err)
|
|
|
return allMenu
|
|
|
}
|
|
|
rolegroup, err := models.GetCompanyDefaultRoleGroup(ucompany.Id)
|
|
|
rolegroup, err := models.GetCompanyDefaultRoleGroup(ucompany.CompanyId)
|
|
|
if err != nil {
|
|
|
log.Error("获取默认的角色组失败:%s", err)
|
|
|
return allMenu
|
...
|
...
|
|