根据用户id查询所在组接口

功能

如题

地址

/api/user/user/id

请求方法

GET

参数说明

返回格式

  1. {
  2. "status": 0,
  3. "data": {
  4. "id": 1,
  5. "number": 1,
  6. "group_id": [
  7. 1
  8. ],
  9. "nickName": "汪小嘉",
  10. "realName": "汪小嘉",
  11. "headImageUrl": null,
  12. "phoneNumber": "17708710355",
  13. "sex": 1,
  14. "roleId": 1,
  15. "openId": null,
  16. "birthday": "2022-07-20 00:00:00",
  17. "title": null,
  18. "address": "无",
  19. "school": "无",
  20. "politicalAffiliation": "1",
  21. "education": "本科",
  22. "rankId": null,
  23. "rankType": null,
  24. "departmentId": null,
  25. "jobId": null,
  26. "info": null,
  27. "entryTime": "2022-07-07 15:34:39",
  28. "officialTime": null,
  29. "resignTime": null,
  30. "lastLoginTime": "2022-07-20 16:51:36",
  31. "isLogin": 1,
  32. "createTime": "2022-02-09 10:53:40",
  33. "updateTime": "2022-07-20 17:18:01",
  34. "status": 1,
  35. "note": null,
  36. "group_info": [
  37. {
  38. "group_id": 1,
  39. "group_name": "管理员分组"
  40. }
  41. ]
  42. }
  43. }