[fix] 查询组织认证权限错误

This commit is contained in:
PandaX
2023-12-06 10:58:03 +08:00
parent dc59c9eeb4
commit 48f1792f32
2 changed files with 8 additions and 17 deletions

View File

@@ -27,10 +27,11 @@ type SysRole struct {
ApiIds []casbin.CasbinRule `json:"apiIds" gorm:"-"`
MenuIds []int64 `json:"menuIds" gorm:"-"`
OrganizationIds []int64 `json:"organizationIds" gorm:"-"`
Org string `json:"org" gorm:"-"`
}
type SysRoleAuth struct {
Org string `json:"org" gorm:"column:org"`
DataScope string `json:"dataScope"`
}
type MenuIdList struct {
MenuId int64 `json:"menuId"`
}