sys_menu.go 685 B

1234567891011121314151617181920
  1. package response
  2. import (
  3. "eta/eta_mini_crm_ht/models"
  4. )
  5. type SysMenuButtonResp struct {
  6. SysMenuId int `description:"菜单ID"`
  7. ParentId int `description:"父级菜单ID"`
  8. Name string `description:"菜单名称或者按钮名称"`
  9. MenuType int `description:"菜单类型: 0-菜单; 1-按钮"`
  10. ButtonCode string `description:"按钮唯一标识"`
  11. }
  12. // SysMenuListResp ETA商家菜单列表响应体
  13. type SysMenuListResp struct {
  14. ChoiceList []int `description:"已选菜单"`
  15. HalfChoiceList []int `description:"半选菜单-方便前端回显用的"`
  16. List []*models.SysMenuItem `description:"菜单列表"`
  17. }