menu

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMenuInfoRpc

func ToMenuInfoRpc(in *types.MenuInfo) *sys.MenuInfo

func ToMenuInfosRpc

func ToMenuInfosRpc(in []*types.MenuInfo) (ret []*sys.MenuInfo)

Types

type CreateLogic

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

func NewCreateLogic

func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic

func (*CreateLogic) Create

func (l *CreateLogic) Create(req *types.MenuInfo) (*types.WithID, error)

type DeleteLogic

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

func NewDeleteLogic

func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic

func (*DeleteLogic) Delete

func (l *DeleteLogic) Delete(req *types.WithID) error

type IndexLogic

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

func NewIndexLogic

func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

func (*IndexLogic) Index

func (l *IndexLogic) Index(req *types.MenuInfoIndexReq) (resp *types.MenuInfoIndexResp, err error)

type MultiExportLogic added in v1.1.0

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

func NewMultiExportLogic added in v1.1.0

func NewMultiExportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiExportLogic

批量导出菜单

func (*MultiExportLogic) MultiExport added in v1.1.0

func (l *MultiExportLogic) MultiExport(req *types.MenuMultiExportReq) (resp *types.MenuMultiExportResp, err error)

type MultiImportLogic added in v1.1.0

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

func NewMultiImportLogic added in v1.1.0

func NewMultiImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiImportLogic

批量导入菜单

func (*MultiImportLogic) MultiImport added in v1.1.0

func (l *MultiImportLogic) MultiImport(req *types.MenuMultiImportReq) (resp *types.MenuMultiImportResp, err error)

type UpdateLogic

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

func NewUpdateLogic

func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic

func (*UpdateLogic) Update

func (l *UpdateLogic) Update(req *types.MenuInfo) error

Jump to

Keyboard shortcuts

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