package contact type QueryUserIdResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Result struct { Userid string `json:"userid"` } `json:"result"` RequestId string `json:"request_id"` } type QueryUserInfoResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Result struct { Boss bool `json:"boss"` Unionid string `json:"unionid"` RoleList []struct { GroupName string `json:"group_name"` Name string `json:"name"` Id int64 `json:"id"` } `json:"role_list"` ExclusiveAccount bool `json:"exclusive_account"` Active bool `json:"active"` Admin bool `json:"admin"` Avatar string `json:"avatar"` HideMobile bool `json:"hide_mobile"` HiredDate int64 `json:"hired_date"` Title string `json:"title"` Userid string `json:"userid"` Senior bool `json:"senior"` DeptOrderList []struct { DeptId int `json:"dept_id"` Order int64 `json:"order"` } `json:"dept_order_list"` RealAuthed bool `json:"real_authed"` Name string `json:"name"` DeptIdList []int `json:"dept_id_list"` UnionEmpExt struct { } `json:"union_emp_ext"` JobNumber string `json:"job_number"` LeaderInDept []struct { Leader bool `json:"leader"` DeptId int `json:"dept_id"` } `json:"leader_in_dept"` } `json:"result"` RequestId string `json:"request_id"` }