mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[fix] 查询组织认证权限错误
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user