fix🐛 :修复角色数据权限更新失(#380)

This commit is contained in:
wenjianzhang
2021-03-26 14:36:18 +08:00
parent 91c9a2c7f9
commit 86c7c64a32
5 changed files with 104 additions and 96 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ type SysRoleControl struct {
Flag string `form:"flag" comment:"标记"` // 标记
Remark string `form:"remark" comment:"备注"` // 备注
Admin bool `form:"admin" comment:"是否管理员"`
DataScope string `form:"dataScope" comment:"是否管理员"`
DataScope string `form:"dataScope"`
MenuIds []int `json:"menuIds"`
}
@@ -123,4 +123,4 @@ type RoleDataScopeReq struct {
type DeptIdList struct {
DeptId int `json:"DeptId"`
}
}