简要描述:

  • 用户列表接口

请求URL:

  • /account/list

请求方式:

  • GET

返回示例:

正确时返回:

  1. {
  2. "code": "SUCCESS",
  3. "data": {
  4. "list": [
  5. {
  6. "accountId": 1,
  7. "activeTime": 1548811492968,
  8. "bindMobile": "15735105106",
  9. "callDuration": null,
  10. "callTime": null,
  11. "createIp": null,
  12. "createTime": 1547518195622,
  13. "deviceToken": "14a42b3d4390dc757a6a51438f0a405776477360",
  14. "deviceType": "ANDROID",
  15. "enabled": 0,
  16. "forbiddenLogin": 0,
  17. "invitedCode": null,
  18. "nickName": "BoomMan",
  19. "password": null
  20. },
  21. {
  22. "accountId": 4,
  23. "activeTime": 1550134799897,
  24. "bindMobile": "15694861718",
  25. "callDuration": null,
  26. "callTime": null,
  27. "createIp": null,
  28. "createTime": 1547629851005,
  29. "deviceToken": "8c603f5533445baf44247b017c3aa82cfe5e98f9",
  30. "deviceType": "ANDROID",
  31. "enabled": 1,
  32. "forbiddenLogin": 0,
  33. "invitedCode": "689303",
  34. "nickName": null,
  35. "password": null
  36. },
  37. {
  38. "accountId": 5,
  39. "activeTime": 1548748215201,
  40. "bindMobile": "18222073036",
  41. "callDuration": null,
  42. "callTime": null,
  43. "createIp": null,
  44. "createTime": 1548573858038,
  45. "deviceToken": "305266bf02635861e432e6bcd7e75abe049921f4",
  46. "deviceType": "ANDROID",
  47. "enabled": 1,
  48. "forbiddenLogin": 0,
  49. "invitedCode": "608541",
  50. "nickName": null,
  51. "password": null
  52. },
  53. {
  54. "accountId": 6,
  55. "activeTime": 1548639213779,
  56. "bindMobile": "13579248143",
  57. "callDuration": null,
  58. "callTime": null,
  59. "createIp": null,
  60. "createTime": 1548639213779,
  61. "deviceToken": "c873720994eb20bb912f0a4dffec97d380890133",
  62. "deviceType": "ANDROID",
  63. "enabled": 1,
  64. "forbiddenLogin": 0,
  65. "invitedCode": "111632",
  66. "nickName": null,
  67. "password": null
  68. },
  69. {
  70. "accountId": 7,
  71. "activeTime": 1550199747512,
  72. "bindMobile": "15694861719",
  73. "callDuration": null,
  74. "callTime": null,
  75. "createIp": null,
  76. "createTime": 1550135600132,
  77. "deviceToken": "14a42b3d4390dc757a6a51438f0a405776477360",
  78. "deviceType": "ANDROID",
  79. "enabled": 1,
  80. "forbiddenLogin": 0,
  81. "invitedCode": "097353",
  82. "nickName": null,
  83. "password": null
  84. }
  85. ],
  86. "pageNum": 1,
  87. "pageSize": 10,
  88. "size": 5
  89. },
  90. "message": null
  91. }

错误时返回:

  1. {
  2. "code": "ERROR",
  3. "data": null,
  4. "message": "SERVER_ERROR"
  5. }
文档更新时间: 2019-02-19 16:45   作者:LMY