modulemanagelogic

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckModule

func CheckModule(ctx context.Context, moduleCode string) error

Types

type ModuleInfoCreateLogic

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

func NewModuleInfoCreateLogic

func NewModuleInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoCreateLogic

func (*ModuleInfoCreateLogic) ModuleInfoCreate

func (l *ModuleInfoCreateLogic) ModuleInfoCreate(in *sys.ModuleInfo) (*sys.WithID, error)

type ModuleInfoDeleteLogic

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

func NewModuleInfoDeleteLogic

func NewModuleInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoDeleteLogic

func (*ModuleInfoDeleteLogic) ModuleInfoDelete

func (l *ModuleInfoDeleteLogic) ModuleInfoDelete(in *sys.WithIDCode) (*sys.Empty, error)

type ModuleInfoIndexLogic

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

func NewModuleInfoIndexLogic

func NewModuleInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoIndexLogic

func (*ModuleInfoIndexLogic) ModuleInfoIndex

type ModuleInfoReadLogic

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

func NewModuleInfoReadLogic

func NewModuleInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoReadLogic

func (*ModuleInfoReadLogic) ModuleInfoRead

func (l *ModuleInfoReadLogic) ModuleInfoRead(in *sys.WithIDCode) (*sys.ModuleInfo, error)

type ModuleInfoUpdateLogic

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

func NewModuleInfoUpdateLogic

func NewModuleInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoUpdateLogic

func (*ModuleInfoUpdateLogic) ModuleInfoUpdate

func (l *ModuleInfoUpdateLogic) ModuleInfoUpdate(in *sys.ModuleInfo) (*sys.Empty, error)

type ModuleMenuCreateLogic

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

func NewModuleMenuCreateLogic

func NewModuleMenuCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuCreateLogic

func (*ModuleMenuCreateLogic) ModuleMenuCreate

func (l *ModuleMenuCreateLogic) ModuleMenuCreate(in *sys.MenuInfo) (*sys.WithID, error)

type ModuleMenuDeleteLogic

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

func NewModuleMenuDeleteLogic

func NewModuleMenuDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuDeleteLogic

func (*ModuleMenuDeleteLogic) ModuleMenuDelete

func (l *ModuleMenuDeleteLogic) ModuleMenuDelete(in *sys.WithID) (*sys.Empty, error)

type ModuleMenuIndexLogic

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

func NewModuleMenuIndexLogic

func NewModuleMenuIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuIndexLogic

func (*ModuleMenuIndexLogic) ModuleMenuIndex

type ModuleMenuMultiExportLogic added in v1.1.0

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

func NewModuleMenuMultiExportLogic added in v1.1.0

func NewModuleMenuMultiExportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuMultiExportLogic

func (*ModuleMenuMultiExportLogic) ModuleMenuMultiExport added in v1.1.0

type ModuleMenuMultiImportLogic added in v1.1.0

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

func NewModuleMenuMultiImportLogic added in v1.1.0

func NewModuleMenuMultiImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuMultiImportLogic

func (*ModuleMenuMultiImportLogic) Handle added in v1.1.0

func (l *ModuleMenuMultiImportLogic) Handle(tx *gorm.DB, in *sys.MenuMultiImportReq, parentID int64, menus []*sys.MenuInfo) error

func (*ModuleMenuMultiImportLogic) ModuleMenuMultiImport added in v1.1.0

type ModuleMenuUpdateLogic

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

func NewModuleMenuUpdateLogic

func NewModuleMenuUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuUpdateLogic

func (*ModuleMenuUpdateLogic) ModuleMenuUpdate

func (l *ModuleMenuUpdateLogic) ModuleMenuUpdate(in *sys.MenuInfo) (*sys.Empty, error)

Jump to

Keyboard shortcuts

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