Documentation ¶
Index ¶
- func CheckModule(ctx context.Context, moduleCode string) error
- type ModuleInfoCreateLogic
- type ModuleInfoDeleteLogic
- type ModuleInfoIndexLogic
- type ModuleInfoReadLogic
- type ModuleInfoUpdateLogic
- type ModuleMenuCreateLogic
- type ModuleMenuDeleteLogic
- type ModuleMenuIndexLogic
- type ModuleMenuMultiExportLogic
- type ModuleMenuMultiImportLogic
- type ModuleMenuUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModuleInfoCreateLogic ¶
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 ¶
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 ¶
func NewModuleInfoIndexLogic ¶
func NewModuleInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleInfoIndexLogic
func (*ModuleInfoIndexLogic) ModuleInfoIndex ¶
func (l *ModuleInfoIndexLogic) ModuleInfoIndex(in *sys.ModuleInfoIndexReq) (*sys.ModuleInfoIndexResp, error)
type ModuleInfoReadLogic ¶
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 ¶
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 ¶
func NewModuleMenuCreateLogic ¶
func NewModuleMenuCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuCreateLogic
func (*ModuleMenuCreateLogic) ModuleMenuCreate ¶
type ModuleMenuDeleteLogic ¶
func NewModuleMenuDeleteLogic ¶
func NewModuleMenuDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuDeleteLogic
func (*ModuleMenuDeleteLogic) ModuleMenuDelete ¶
type ModuleMenuIndexLogic ¶
func NewModuleMenuIndexLogic ¶
func NewModuleMenuIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuIndexLogic
func (*ModuleMenuIndexLogic) ModuleMenuIndex ¶
func (l *ModuleMenuIndexLogic) ModuleMenuIndex(in *sys.MenuInfoIndexReq) (*sys.MenuInfoIndexResp, error)
type ModuleMenuMultiExportLogic ¶ added in v1.1.0
func NewModuleMenuMultiExportLogic ¶ added in v1.1.0
func NewModuleMenuMultiExportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuMultiExportLogic
func (*ModuleMenuMultiExportLogic) ModuleMenuMultiExport ¶ added in v1.1.0
func (l *ModuleMenuMultiExportLogic) ModuleMenuMultiExport(in *sys.MenuMultiExportReq) (*sys.MenuMultiExportResp, error)
type ModuleMenuMultiImportLogic ¶ added in v1.1.0
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
func (l *ModuleMenuMultiImportLogic) ModuleMenuMultiImport(in *sys.MenuMultiImportReq) (*sys.MenuMultiImportResp, error)
type ModuleMenuUpdateLogic ¶
func NewModuleMenuUpdateLogic ¶
func NewModuleMenuUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModuleMenuUpdateLogic
func (*ModuleMenuUpdateLogic) ModuleMenuUpdate ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.