sys_role.go 495 B

1234567891011121314151617181920
  1. package request
  2. type SysRoleDeleteReq struct {
  3. SysRoleId int `description:"角色ID"`
  4. }
  5. type SysRoleAddReq struct {
  6. SysRoleName string `description:"角色名称"`
  7. }
  8. type SysRoleEditReq struct {
  9. SysRoleId int `description:"角色ID"`
  10. SysRoleName string `description:"角色名称"`
  11. }
  12. type RoleMenusSaveReq struct {
  13. SysRoleId int `description:"角色ID"`
  14. SysMenuIds []int `description:"菜单IDs"`
  15. HalfMenuIds []int `description:"半选菜单IDs-仅供前端回显用的"`
  16. }