Documentation ¶
Index ¶
- func GetUser(corpID, userID string, result *ResultUserGet) wx.Action
- func ListAgentPerm(result *ResultAgentPermList) wx.Action
- func ListDeparment(linkedID, departmentID string, result *ResultDepartmentList) wx.Action
- func ListSimpleUser(linkedID, departmentID string, fetchChild bool, result *ResultSimpleUserList) wx.Action
- func ListUser(linkedID, departmentID string, fetchChild bool, result *ResultUserList) wx.Action
- type Attr
- type AttrMinip
- type AttrText
- type AttrWeb
- type DepartmentListData
- type ExtAttr
- type ParamsDepartmentList
- type ParamsSimpleUserList
- type ParamsUserGet
- type ParamsUserList
- type ResultAgentPermList
- type ResultDepartmentList
- type ResultSimpleUserList
- type ResultUserGet
- type ResultUserList
- type SimpleUser
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUser ¶
func GetUser(corpID, userID string, result *ResultUserGet) wx.Action
GetUser 获取互联企业成员详细信息
func ListAgentPerm ¶
func ListAgentPerm(result *ResultAgentPermList) wx.Action
ListAgentPerm 获取应用的可见范围
func ListDeparment ¶
func ListDeparment(linkedID, departmentID string, result *ResultDepartmentList) wx.Action
ListDeparment 获取互联企业部门列表
func ListSimpleUser ¶
func ListSimpleUser(linkedID, departmentID string, fetchChild bool, result *ResultSimpleUserList) wx.Action
ListSimpleUser 获取互联企业部门成员
Types ¶
type DepartmentListData ¶
type ParamsDepartmentList ¶
type ParamsDepartmentList struct {
DepartmentID string `json:"department_id"`
}
type ParamsSimpleUserList ¶
type ParamsUserGet ¶
type ParamsUserGet struct {
UserID string `json:"userid"`
}
type ParamsUserList ¶
type ResultAgentPermList ¶
type ResultDepartmentList ¶
type ResultDepartmentList struct {
DepartmentList []*DepartmentListData `json:"department_list"`
}
type ResultSimpleUserList ¶
type ResultSimpleUserList struct {
UserList []*SimpleUser `json:"userlist"`
}
type ResultUserGet ¶
type ResultUserGet struct {
UserInfo *UserInfo `json:"user_info"`
}
type ResultUserList ¶
type ResultUserList struct {
UserList []*UserInfo `json:"userlist"`
}
type SimpleUser ¶
type UserInfo ¶
type UserInfo struct { UserID string `json:"userid"` Name string `json:"name"` Department []string `json:"department"` Mobile string `json:"mobile"` Telephone string `json:"telephone"` EMail string `json:"email"` Position string `json:"position"` CorpID string `json:"corpid"` ExtAttr *ExtAttr `json:"extattr"` }
Click to show internal directories.
Click to hide internal directories.