menu

package
v0.0.0-...-eea11df Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMenuPb

func ConvertMenuPb(in *types.MenuNewReq) (out *permissionrpc.MenuNewReq)

func ConvertMenuTypes

func ConvertMenuTypes(in *permissionrpc.MenuDetails) (out *types.MenuBackDTO)

Types

type AddMenuLogic

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

func NewAddMenuLogic

func NewAddMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddMenuLogic

创建菜单

func (*AddMenuLogic) AddMenu

func (l *AddMenuLogic) AddMenu(req *types.MenuNewReq) (resp *types.MenuBackDTO, err error)

type BatchDeleteMenuLogic

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

func NewBatchDeleteMenuLogic

func NewBatchDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteMenuLogic

批量删除菜单

func (*BatchDeleteMenuLogic) BatchDeleteMenu

func (l *BatchDeleteMenuLogic) BatchDeleteMenu(req *types.IdsReq) (resp *types.BatchResp, err error)

type CleanMenuListLogic

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

func NewCleanMenuListLogic

func NewCleanMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CleanMenuListLogic

清空菜单列表

func (*CleanMenuListLogic) CleanMenuList

func (l *CleanMenuListLogic) CleanMenuList(req *types.EmptyReq) (resp *types.BatchResp, 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.BatchResp, err error)

type FindMenuListLogic

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

func NewFindMenuListLogic

func NewFindMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindMenuListLogic

分页获取菜单列表

func (*FindMenuListLogic) FindMenuList

func (l *FindMenuListLogic) FindMenuList(req *types.MenuQuery) (resp *types.PageResp, err error)

type SyncMenuListLogic

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

func NewSyncMenuListLogic

func NewSyncMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncMenuListLogic

同步菜单列表

func (*SyncMenuListLogic) SyncMenuList

func (l *SyncMenuListLogic) SyncMenuList(req *types.SyncMenuReq) (resp *types.BatchResp, 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.MenuNewReq) (resp *types.MenuBackDTO, err error)

Jump to

Keyboard shortcuts

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