logic

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMissingParentIdMenuIndex

func CheckMissingParentIdMenuIndex(ctx context.Context, menuInfos []*relationDB.SysModuleMenu) []*relationDB.SysModuleMenu

func IsSupperAdmin

func IsSupperAdmin(ctx context.Context, tenantCode string) error

租户号为空则为该用户的租户

func MenuInfoToPb(ui *relationDB.SysModuleMenu) *sys.MenuInfo

func RpcToTenantInfoCache

func RpcToTenantInfoCache(in *sys.TenantInfo) *tenant.Info

func ToMenuInfoPb

func ToMenuInfoPb(in *relationDB.SysModuleMenu) *sys.MenuInfo

func ToMenuInfoPo

func ToMenuInfoPo(in *sys.MenuInfo) *relationDB.SysModuleMenu

func ToModuleInfoPb

func ToModuleInfoPb(in *relationDB.SysModuleInfo) *sys.ModuleInfo

func ToModuleInfoPo

func ToModuleInfoPo(in *sys.ModuleInfo) *relationDB.SysModuleInfo

func ToModuleInfosPb

func ToModuleInfosPb(in []*relationDB.SysModuleInfo) (ret []*sys.ModuleInfo)

func ToPageInfo

func ToPageInfo(info *sys.PageInfo) *stores.PageInfo

func ToPageInfoWithDefault

func ToPageInfoWithDefault(info *sys.PageInfo, defau *stores.PageInfo) *stores.PageInfo

func ToStorePoint

func ToStorePoint(point *sys.Point) stores.Point

func ToSysPoint

func ToSysPoint(point stores.Point) *sys.Point

func ToTenantAppMenuInfoPb

func ToTenantAppMenuInfoPb(in *relationDB.SysTenantAppMenu) *sys.TenantAppMenu

func ToTenantAppMenuPo

func ToTenantAppMenuPo(in *sys.TenantAppMenu) *relationDB.SysTenantAppMenu

func ToTenantInfoCache

func ToTenantInfoCache(in *relationDB.SysTenantInfo) *tenant.Info

func ToTenantInfoCaches

func ToTenantInfoCaches(in []*relationDB.SysTenantInfo) (ret []*tenant.Info)

func ToTenantInfoPo

func ToTenantInfoPo(in *sys.TenantInfo) *relationDB.SysTenantInfo

func ToTenantInfoRpc

func ToTenantInfoRpc(ctx context.Context, svcCtx *svc.ServiceContext, in *relationDB.SysTenantInfo) *sys.TenantInfo

func ToTenantInfosRpc

func ToTenantInfosRpc(ctx context.Context, svcCtx *svc.ServiceContext, in []*relationDB.SysTenantInfo) (ret []*sys.TenantInfo)

Types

This section is empty.

Jump to

Keyboard shortcuts

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