tenantmanagelogic

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckModule

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

func ModuleCreate

func ModuleCreate(ctx context.Context, tx *gorm.DB, tenantCode, appCode string, moduleCode string, menuIDs []int64) error

Types

type TenantAccessIndexLogic

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

func NewTenantAccessIndexLogic

func NewTenantAccessIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAccessIndexLogic

func (*TenantAccessIndexLogic) TenantAccessIndex

type TenantAccessMultiCreateLogic

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

func NewTenantAccessMultiCreateLogic

func NewTenantAccessMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAccessMultiCreateLogic

func (*TenantAccessMultiCreateLogic) TenantAccessMultiCreate

func (l *TenantAccessMultiCreateLogic) TenantAccessMultiCreate(in *sys.TenantAccessMultiSaveReq) (*sys.Empty, error)

type TenantAccessMultiDeleteLogic

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

func NewTenantAccessMultiDeleteLogic

func NewTenantAccessMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAccessMultiDeleteLogic

func (*TenantAccessMultiDeleteLogic) TenantAccessMultiDelete

func (l *TenantAccessMultiDeleteLogic) TenantAccessMultiDelete(in *sys.TenantAccessMultiSaveReq) (*sys.Empty, error)

type TenantAccessMultiUpdateLogic

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

func NewTenantAccessMultiUpdateLogic

func NewTenantAccessMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAccessMultiUpdateLogic

func (*TenantAccessMultiUpdateLogic) TenantAccessMultiUpdate

func (l *TenantAccessMultiUpdateLogic) TenantAccessMultiUpdate(in *sys.TenantAccessMultiSaveReq) (*sys.Empty, error)

type TenantAgreementCreateLogic

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

func NewTenantAgreementCreateLogic

func NewTenantAgreementCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementCreateLogic

func (*TenantAgreementCreateLogic) TenantAgreementCreate

func (l *TenantAgreementCreateLogic) TenantAgreementCreate(in *sys.TenantAgreement) (*sys.WithID, error)

type TenantAgreementDeleteLogic

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

func NewTenantAgreementDeleteLogic

func NewTenantAgreementDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementDeleteLogic

func (*TenantAgreementDeleteLogic) TenantAgreementDelete

func (l *TenantAgreementDeleteLogic) TenantAgreementDelete(in *sys.WithID) (*sys.Empty, error)

type TenantAgreementIndexLogic

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

func NewTenantAgreementIndexLogic

func NewTenantAgreementIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementIndexLogic

func (*TenantAgreementIndexLogic) TenantAgreementIndex

type TenantAgreementReadLogic

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

func NewTenantAgreementReadLogic

func NewTenantAgreementReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementReadLogic

func (*TenantAgreementReadLogic) TenantAgreementRead

func (l *TenantAgreementReadLogic) TenantAgreementRead(in *sys.WithIDCode) (*sys.TenantAgreement, error)

type TenantAgreementUpdateLogic

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

func NewTenantAgreementUpdateLogic

func NewTenantAgreementUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementUpdateLogic

func (*TenantAgreementUpdateLogic) TenantAgreementUpdate

func (l *TenantAgreementUpdateLogic) TenantAgreementUpdate(in *sys.TenantAgreement) (*sys.Empty, error)

type TenantAppCreateLogic

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

func NewTenantAppCreateLogic

func NewTenantAppCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppCreateLogic

func (*TenantAppCreateLogic) TenantAppCreate

func (l *TenantAppCreateLogic) TenantAppCreate(in *sys.TenantAppInfo) (*sys.Empty, error)

type TenantAppDeleteLogic

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

func NewTenantAppDeleteLogic

func NewTenantAppDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppDeleteLogic

func (*TenantAppDeleteLogic) TenantAppDelete

func (l *TenantAppDeleteLogic) TenantAppDelete(in *sys.TenantAppWithIDOrCode) (*sys.Empty, error)

type TenantAppIndexLogic

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

func NewTenantAppIndexLogic

func NewTenantAppIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppIndexLogic

func (*TenantAppIndexLogic) TenantAppIndex

type TenantAppMenuCreateLogic

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

func NewTenantAppMenuCreateLogic

func NewTenantAppMenuCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMenuCreateLogic

func (*TenantAppMenuCreateLogic) TenantAppMenuCreate

func (l *TenantAppMenuCreateLogic) TenantAppMenuCreate(in *sys.TenantAppMenu) (*sys.WithID, error)

type TenantAppMenuDeleteLogic

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

func NewTenantAppMenuDeleteLogic

func NewTenantAppMenuDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMenuDeleteLogic

func (*TenantAppMenuDeleteLogic) TenantAppMenuDelete

func (l *TenantAppMenuDeleteLogic) TenantAppMenuDelete(in *sys.WithAppCodeID) (*sys.Empty, error)

type TenantAppMenuIndexLogic

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

func NewTenantAppMenuIndexLogic

func NewTenantAppMenuIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMenuIndexLogic

func (*TenantAppMenuIndexLogic) TenantAppMenuIndex

type TenantAppMenuUpdateLogic

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

func NewTenantAppMenuUpdateLogic

func NewTenantAppMenuUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMenuUpdateLogic

func (*TenantAppMenuUpdateLogic) TenantAppMenuUpdate

func (l *TenantAppMenuUpdateLogic) TenantAppMenuUpdate(in *sys.TenantAppMenu) (*sys.Empty, error)

type TenantAppModuleCreateLogic

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

func NewTenantAppModuleCreateLogic

func NewTenantAppModuleCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppModuleCreateLogic

func (*TenantAppModuleCreateLogic) TenantAppModuleCreate

func (l *TenantAppModuleCreateLogic) TenantAppModuleCreate(in *sys.TenantModuleCreateReq) (*sys.Empty, error)

type TenantAppModuleDeleteLogic

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

func NewTenantAppModuleDeleteLogic

func NewTenantAppModuleDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppModuleDeleteLogic

func (*TenantAppModuleDeleteLogic) TenantAppModuleDelete

func (l *TenantAppModuleDeleteLogic) TenantAppModuleDelete(in *sys.TenantModuleWithIDOrCode) (*sys.Empty, error)

type TenantAppModuleIndexLogic

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

func NewTenantAppModuleIndexLogic

func NewTenantAppModuleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppModuleIndexLogic

func (*TenantAppModuleIndexLogic) TenantAppModuleIndex

type TenantAppModuleMultiCreateLogic

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

func NewTenantAppModuleMultiCreateLogic

func NewTenantAppModuleMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppModuleMultiCreateLogic

func (*TenantAppModuleMultiCreateLogic) TenantAppModuleMultiCreate

func (l *TenantAppModuleMultiCreateLogic) TenantAppModuleMultiCreate(in *sys.TenantAppInfo) (*sys.Empty, error)

type TenantAppMultiUpdateLogic

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

func NewTenantAppMultiUpdateLogic

func NewTenantAppMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMultiUpdateLogic

func (*TenantAppMultiUpdateLogic) TenantAppMultiUpdate

func (l *TenantAppMultiUpdateLogic) TenantAppMultiUpdate(in *sys.TenantAppMultiUpdateReq) (*sys.Empty, error)

type TenantAppReadLogic

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

func NewTenantAppReadLogic

func NewTenantAppReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppReadLogic

func (*TenantAppReadLogic) TenantAppRead

type TenantAppUpdateLogic

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

func NewTenantAppUpdateLogic

func NewTenantAppUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppUpdateLogic

func (*TenantAppUpdateLogic) TenantAppUpdate

func (l *TenantAppUpdateLogic) TenantAppUpdate(in *sys.TenantAppInfo) (*sys.Empty, error)

type TenantConfigReadLogic

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

func NewTenantConfigReadLogic

func NewTenantConfigReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantConfigReadLogic

func (*TenantConfigReadLogic) TenantConfigRead

func (l *TenantConfigReadLogic) TenantConfigRead(in *sys.WithCode) (*sys.TenantConfig, error)

type TenantConfigUpdateLogic

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

func NewTenantConfigUpdateLogic

func NewTenantConfigUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantConfigUpdateLogic

func (*TenantConfigUpdateLogic) TenantConfigUpdate

func (l *TenantConfigUpdateLogic) TenantConfigUpdate(in *sys.TenantConfig) (*sys.Empty, error)

type TenantInfoCreateLogic

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

func NewTenantInfoCreateLogic

func NewTenantInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoCreateLogic

func (*TenantInfoCreateLogic) TenantInfoCreate

func (l *TenantInfoCreateLogic) TenantInfoCreate(in *sys.TenantInfoCreateReq) (*sys.WithID, error)

新增租户

type TenantInfoDeleteLogic

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

func NewTenantInfoDeleteLogic

func NewTenantInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoDeleteLogic

func (*TenantInfoDeleteLogic) TenantInfoDelete

func (l *TenantInfoDeleteLogic) TenantInfoDelete(in *sys.WithIDCode) (*sys.Empty, error)

删除区域

type TenantInfoIndexLogic

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

func NewTenantInfoIndexLogic

func NewTenantInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoIndexLogic

func (*TenantInfoIndexLogic) TenantInfoIndex

获取区域信息列表

type TenantInfoReadLogic

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

func NewTenantInfoReadLogic

func NewTenantInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoReadLogic

func (*TenantInfoReadLogic) TenantInfoRead

func (l *TenantInfoReadLogic) TenantInfoRead(in *sys.WithIDCode) (*sys.TenantInfo, error)

获取区域信息详情

type TenantInfoUpdateLogic

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

func NewTenantInfoUpdateLogic

func NewTenantInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoUpdateLogic

func (*TenantInfoUpdateLogic) TenantInfoUpdate

func (l *TenantInfoUpdateLogic) TenantInfoUpdate(in *sys.TenantInfo) (*sys.Empty, error)

更新区域

type TenantOpenCheckTokenLogic

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

func NewTenantOpenCheckTokenLogic

func NewTenantOpenCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantOpenCheckTokenLogic

func (*TenantOpenCheckTokenLogic) TenantOpenCheckToken

type TenantOpenWebHookLogic

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

func NewTenantOpenWebHookLogic

func NewTenantOpenWebHookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantOpenWebHookLogic

func (*TenantOpenWebHookLogic) TenantOpenWebHook

func (l *TenantOpenWebHookLogic) TenantOpenWebHook(in *sys.WithCode) (*sys.TenantOpenWebHook, error)

Jump to

Keyboard shortcuts

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