Documentation ¶
Index ¶
- Constants
- func GetAllOrg() []model.Organization
- func GetAllOrgID() []uint
- func GetAllUserIDs() []uint
- func GetBoolPointer(t bool) *bool
- func GetCurrentUserIDs(id uint) []uint
- func GetDeepOrg(id uint) []uint
- func GetDeepUserIDs(id uint) []uint
- func GetOrgIDS(c *gin.Context) []uint
- func GetSelfOrg(id uint) []uint
- func GetUserIDS(c *gin.Context) []uint
- func GetUsersByOrgIds(orgIds []uint) []uint
- func Uniq(array []uint) []uint
Constants ¶
View Source
const ( Node = 0 // 无资源权限 Self = 1 // 仅自己 Current = 2 // 当前部门 Deep = 3 // 当前部门及以下 All = 4 // 所有 )
Variables ¶
This section is empty.
Functions ¶
func GetBoolPointer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.