Documentation ¶
Index ¶
- func CheckMissingParentIdMenuIndex(ctx context.Context, menuInfos []*relationDB.SysModuleMenu) []*relationDB.SysModuleMenu
- func IsSupperAdmin(ctx context.Context, tenantCode string) error
- func MenuInfoToPb(ui *relationDB.SysModuleMenu) *sys.MenuInfo
- func RpcToTenantInfoCache(in *sys.TenantInfo) *tenant.Info
- func ToMenuInfoPb(in *relationDB.SysModuleMenu) *sys.MenuInfo
- func ToMenuInfoPo(in *sys.MenuInfo) *relationDB.SysModuleMenu
- func ToModuleInfoPb(in *relationDB.SysModuleInfo) *sys.ModuleInfo
- func ToModuleInfoPo(in *sys.ModuleInfo) *relationDB.SysModuleInfo
- func ToModuleInfosPb(in []*relationDB.SysModuleInfo) (ret []*sys.ModuleInfo)
- func ToPageInfo(info *sys.PageInfo) *stores.PageInfo
- func ToPageInfoWithDefault(info *sys.PageInfo, defau *stores.PageInfo) *stores.PageInfo
- func ToStorePoint(point *sys.Point) stores.Point
- func ToSysPoint(point stores.Point) *sys.Point
- func ToTenantAppMenuInfoPb(in *relationDB.SysTenantAppMenu) *sys.TenantAppMenu
- func ToTenantAppMenuPo(in *sys.TenantAppMenu) *relationDB.SysTenantAppMenu
- func ToTenantInfoCache(in *relationDB.SysTenantInfo) *tenant.Info
- func ToTenantInfoCaches(in []*relationDB.SysTenantInfo) (ret []*tenant.Info)
- func ToTenantInfoPo(in *sys.TenantInfo) *relationDB.SysTenantInfo
- func ToTenantInfoRpc(ctx context.Context, svcCtx *svc.ServiceContext, in *relationDB.SysTenantInfo) *sys.TenantInfo
- func ToTenantInfosRpc(ctx context.Context, svcCtx *svc.ServiceContext, ...) (ret []*sys.TenantInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMissingParentIdMenuIndex ¶
func CheckMissingParentIdMenuIndex(ctx context.Context, menuInfos []*relationDB.SysModuleMenu) []*relationDB.SysModuleMenu
func MenuInfoToPb ¶
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 ToPageInfoWithDefault ¶
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.