Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //超级管理员角色ID SuperAdminRoleID = "" //平台租户ID PlatformTenantID = "" //是否启用租户 EnabelTenant = false )
Functions ¶
func SetEnabelTenant ¶ added in v1.1.0
func SetEnabelTenant(enabelTenant bool)
func SetPlatformTenantID ¶
func SetPlatformTenantID(tenantID string)
func SetSuperAdminRoleID ¶
func SetSuperAdminRoleID(roleID string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.