Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetDepartments ¶
func (c *Client) GetDepartments() (GetDepartmentsResponse, error)
func (*Client) GetSimpleUserList ¶
func (c *Client) GetSimpleUserList(department string) (GetSimpleUserListResponse, error)
type GetDepartmentsResponse ¶
type GetSimpleUserListResponse ¶
type GetSimpleUserListResponse struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
Userlist []struct {
Userid string `json:"userid"`
Name string `json:"name"`
Department []int `json:"department"`
} `json:"userlist"`
}
func GetSimpleUserList ¶
func GetSimpleUserList(department string) (GetSimpleUserListResponse, error)
获取部门下用户信息
Click to show internal directories.
Click to hide internal directories.