Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteMenuLogic ¶
func NewDeleteMenuLogic ¶
func NewDeleteMenuLogic(r *http.Request, svcCtx *svc.ServiceContext) *DeleteMenuLogic
删除菜单
func (*DeleteMenuLogic) DeleteMenu ¶
func (l *DeleteMenuLogic) DeleteMenu(req *types.DeleteMenuRequest) (resp *types.BaseResponse, err error)
type GetAllMenusByRoleLogic ¶
func NewGetAllMenusByRoleLogic ¶
func NewGetAllMenusByRoleLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetAllMenusByRoleLogic
获取用户角色当前所有菜单
func (*GetAllMenusByRoleLogic) GetAllMenusByRole ¶
func (l *GetAllMenusByRoleLogic) GetAllMenusByRole() (resp *types.MenuListResponse, err error)
type GetAllMenusLogic ¶
func NewGetAllMenusLogic ¶
func NewGetAllMenusLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetAllMenusLogic
获取所有菜单
func (*GetAllMenusLogic) GetAllMenus ¶
func (l *GetAllMenusLogic) GetAllMenus() (resp *types.MenuListResponse, err error)
type UpdateMenuLogic ¶
func NewUpdateMenuLogic ¶
func NewUpdateMenuLogic(r *http.Request, svcCtx *svc.ServiceContext) *UpdateMenuLogic
更新菜单
func (*UpdateMenuLogic) UpdateMenu ¶
func (l *UpdateMenuLogic) UpdateMenu(req *types.MenuInfo) (resp *types.BaseResponse, err error)
Click to show internal directories.
Click to hide internal directories.