entity.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package contact
  2. type QueryUserIdResponse struct {
  3. Errcode int `json:"errcode"`
  4. Errmsg string `json:"errmsg"`
  5. Result struct {
  6. Userid string `json:"userid"`
  7. } `json:"result"`
  8. RequestId string `json:"request_id"`
  9. }
  10. type QueryUserInfoResponse struct {
  11. Errcode int `json:"errcode"`
  12. Errmsg string `json:"errmsg"`
  13. Result struct {
  14. Boss bool `json:"boss"`
  15. Unionid string `json:"unionid"`
  16. RoleList []struct {
  17. GroupName string `json:"group_name"`
  18. Name string `json:"name"`
  19. Id int64 `json:"id"`
  20. } `json:"role_list"`
  21. ExclusiveAccount bool `json:"exclusive_account"`
  22. Active bool `json:"active"`
  23. Admin bool `json:"admin"`
  24. Avatar string `json:"avatar"`
  25. HideMobile bool `json:"hide_mobile"`
  26. HiredDate int64 `json:"hired_date"`
  27. Title string `json:"title"`
  28. Userid string `json:"userid"`
  29. Senior bool `json:"senior"`
  30. DeptOrderList []struct {
  31. DeptId int `json:"dept_id"`
  32. Order int64 `json:"order"`
  33. } `json:"dept_order_list"`
  34. RealAuthed bool `json:"real_authed"`
  35. Name string `json:"name"`
  36. DeptIdList []int `json:"dept_id_list"`
  37. UnionEmpExt struct {
  38. } `json:"union_emp_ext"`
  39. JobNumber string `json:"job_number"`
  40. LeaderInDept []struct {
  41. Leader bool `json:"leader"`
  42. DeptId int `json:"dept_id"`
  43. } `json:"leader_in_dept"`
  44. } `json:"result"`
  45. RequestId string `json:"request_id"`
  46. }