Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //超级管理员角色ID SuperAdminRoleID = "" //平台租户ID PlatformTenantID = "" //是否启用租户 EnabelTenant = false //默认用户角色 DefaultRoleID = "" )
Functions ¶
func SetDefaultRoleID ¶
func SetDefaultRoleID(roleID string)
func SetEnabelTenant ¶
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.