menu

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMenuLogic

type CreateMenuLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateMenuLogic

func NewCreateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateMenuLogic

func (*CreateMenuLogic) CreateMenu

func (l *CreateMenuLogic) CreateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error)

type DeleteMenuLogic

type DeleteMenuLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteMenuLogic

func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic

func (*DeleteMenuLogic) DeleteMenu

func (l *DeleteMenuLogic) DeleteMenu(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetMenuListByRoleLogic

type GetMenuListByRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetMenuListByRoleLogic

func NewGetMenuListByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListByRoleLogic

func (*GetMenuListByRoleLogic) GetMenuListByRole

func (l *GetMenuListByRoleLogic) GetMenuListByRole() (resp *types.MenuListResp, err error)

type GetMenuListLogic

type GetMenuListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetMenuListLogic

func NewGetMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListLogic

func (*GetMenuListLogic) GetMenuList

func (l *GetMenuListLogic) GetMenuList() (resp *types.MenuPlainInfoListResp, err error)

type UpdateMenuLogic

type UpdateMenuLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateMenuLogic

func NewUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuLogic

func (*UpdateMenuLogic) UpdateMenu

func (l *UpdateMenuLogic) UpdateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL