Documentation ¶
Index ¶
- func CheckModule(ctx context.Context, tenantCode, appCode, moduleCode string) error
- func ModuleCreate(ctx context.Context, tx *gorm.DB, tenantCode, appCode string, ...) error
- func ToTenantApp(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysTenantApp) *sys.TenantAppInfo
- func ToTenantConfigPb(ctx context.Context, svcCtx *svc.ServiceContext, ...) *sys.TenantConfig
- type TenantAccessIndexLogic
- type TenantAccessMultiCreateLogic
- type TenantAccessMultiDeleteLogic
- type TenantAccessMultiUpdateLogic
- type TenantAgreementCreateLogic
- type TenantAgreementDeleteLogic
- type TenantAgreementIndexLogic
- type TenantAgreementReadLogic
- type TenantAgreementUpdateLogic
- type TenantAppCreateLogic
- type TenantAppDeleteLogic
- type TenantAppIndexLogic
- type TenantAppMenuCreateLogic
- type TenantAppMenuDeleteLogic
- type TenantAppMenuIndexLogic
- type TenantAppMenuUpdateLogic
- type TenantAppModuleCreateLogic
- type TenantAppModuleDeleteLogic
- type TenantAppModuleIndexLogic
- type TenantAppModuleMultiCreateLogic
- type TenantAppMultiUpdateLogic
- type TenantAppReadLogic
- type TenantAppUpdateLogic
- type TenantConfigReadLogic
- type TenantConfigUpdateLogic
- type TenantInfoCreateLogic
- type TenantInfoDeleteLogic
- type TenantInfoIndexLogic
- type TenantInfoReadLogic
- type TenantInfoUpdateLogic
- type TenantOpenCheckTokenLogic
- type TenantOpenWebHookLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckModule ¶
func ModuleCreate ¶
func ToTenantApp ¶
func ToTenantApp(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysTenantApp) *sys.TenantAppInfo
func ToTenantConfigPb ¶
func ToTenantConfigPb(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysTenantConfig) *sys.TenantConfig
Types ¶
type TenantAccessIndexLogic ¶
func NewTenantAccessIndexLogic ¶
func NewTenantAccessIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAccessIndexLogic
func (*TenantAccessIndexLogic) TenantAccessIndex ¶
func (l *TenantAccessIndexLogic) TenantAccessIndex(in *sys.TenantAccessIndexReq) (*sys.TenantAccessIndexResp, error)
type TenantAccessMultiCreateLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewTenantAgreementDeleteLogic ¶
func NewTenantAgreementDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementDeleteLogic
func (*TenantAgreementDeleteLogic) TenantAgreementDelete ¶
type TenantAgreementIndexLogic ¶
func NewTenantAgreementIndexLogic ¶
func NewTenantAgreementIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAgreementIndexLogic
func (*TenantAgreementIndexLogic) TenantAgreementIndex ¶
func (l *TenantAgreementIndexLogic) TenantAgreementIndex(in *sys.TenantAgreementIndexReq) (*sys.TenantAgreementIndexResp, error)
type TenantAgreementReadLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewTenantAppIndexLogic ¶
func NewTenantAppIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppIndexLogic
func (*TenantAppIndexLogic) TenantAppIndex ¶
func (l *TenantAppIndexLogic) TenantAppIndex(in *sys.TenantAppIndexReq) (*sys.TenantAppIndexResp, error)
type TenantAppMenuCreateLogic ¶
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 ¶
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 ¶
func NewTenantAppMenuIndexLogic ¶
func NewTenantAppMenuIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppMenuIndexLogic
func (*TenantAppMenuIndexLogic) TenantAppMenuIndex ¶
func (l *TenantAppMenuIndexLogic) TenantAppMenuIndex(in *sys.TenantAppMenuIndexReq) (*sys.TenantAppMenuIndexResp, error)
type TenantAppMenuUpdateLogic ¶
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 ¶
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 ¶
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 ¶
func NewTenantAppModuleIndexLogic ¶
func NewTenantAppModuleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppModuleIndexLogic
func (*TenantAppModuleIndexLogic) TenantAppModuleIndex ¶
func (l *TenantAppModuleIndexLogic) TenantAppModuleIndex(in *sys.TenantModuleIndexReq) (*sys.TenantModuleIndexResp, error)
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 ¶
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 ¶
func NewTenantAppReadLogic ¶
func NewTenantAppReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantAppReadLogic
func (*TenantAppReadLogic) TenantAppRead ¶
func (l *TenantAppReadLogic) TenantAppRead(in *sys.TenantAppWithIDOrCode) (*sys.TenantAppInfo, error)
type TenantAppUpdateLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewTenantInfoIndexLogic ¶
func NewTenantInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantInfoIndexLogic
func (*TenantInfoIndexLogic) TenantInfoIndex ¶
func (l *TenantInfoIndexLogic) TenantInfoIndex(in *sys.TenantInfoIndexReq) (*sys.TenantInfoIndexResp, error)
获取区域信息列表
type TenantInfoReadLogic ¶
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 ¶
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 ¶
func NewTenantOpenCheckTokenLogic ¶
func NewTenantOpenCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantOpenCheckTokenLogic
func (*TenantOpenCheckTokenLogic) TenantOpenCheckToken ¶
func (l *TenantOpenCheckTokenLogic) TenantOpenCheckToken(in *sys.TenantOpenCheckTokenReq) (*sys.TenantOpenCheckTokenResp, error)
type TenantOpenWebHookLogic ¶
func NewTenantOpenWebHookLogic ¶
func NewTenantOpenWebHookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TenantOpenWebHookLogic
func (*TenantOpenWebHookLogic) TenantOpenWebHook ¶
func (l *TenantOpenWebHookLogic) TenantOpenWebHook(in *sys.WithCode) (*sys.TenantOpenWebHook, error)
Source Files ¶
- assemble.go
- common.go
- tenantAccessIndexLogic.go
- tenantAccessMultiCreateLogic.go
- tenantAccessMultiDeleteLogic.go
- tenantAccessMultiUpdateLogic.go
- tenantAgreementCreateLogic.go
- tenantAgreementDeleteLogic.go
- tenantAgreementIndexLogic.go
- tenantAgreementReadLogic.go
- tenantAgreementUpdateLogic.go
- tenantAppCreateLogic.go
- tenantAppDeleteLogic.go
- tenantAppIndexLogic.go
- tenantAppMenuCreateLogic.go
- tenantAppMenuDeleteLogic.go
- tenantAppMenuIndexLogic.go
- tenantAppMenuUpdateLogic.go
- tenantAppModuleCreateLogic.go
- tenantAppModuleDeleteLogic.go
- tenantAppModuleIndexLogic.go
- tenantAppModuleMultiCreateLogic.go
- tenantAppMultiUpdateLogic.go
- tenantAppReadLogic.go
- tenantAppUpdateLogic.go
- tenantConfigReadLogic.go
- tenantConfigUpdateLogic.go
- tenantInfoCreateLogic.go
- tenantInfoDeleteLogic.go
- tenantInfoIndexLogic.go
- tenantInfoReadLogic.go
- tenantInfoUpdateLogic.go
- tenantOpenCheckTokenLogic.go
- tenantOpenWebHookLogic.go
Click to show internal directories.
Click to hide internal directories.