package request type SysRoleDeleteReq struct { SysRoleId int `description:"角色ID"` } type SysRoleAddReq struct { SysRoleName string `description:"角色名称"` } type SysRoleEditReq struct { SysRoleId int `description:"角色ID"` SysRoleName string `description:"角色名称"` } type RoleMenusSaveReq struct { SysRoleId int `description:"角色ID"` SysMenuIds []int `description:"菜单IDs"` HalfMenuIds []int `description:"半选菜单IDs-仅供前端回显用的"` }