[关闭]
@apis1990 2016-08-24T03:52:40.000000Z 字数 2553 阅读 548

教练端

获取教练的学员列表


1.URL:/service/api/get_coach_students.php/id/{id}

测试地址:http://36.33.24.119:8081/api/get_coach_students.php/id/26

2.请求方式:get

3.请求参数:

参数 类型 是否必须 描述
id int 教练ID

表单数据:

4.接口返回结果

  1. {
  2. "code": 200,
  3. "data": [
  4. {
  5. "l_user_id": "12",
  6. "s_username": "Lee",
  7. "s_password": "96e79218965eb72c92a549dd5a330112",
  8. "i_user_type": "0",
  9. "i_status": "0",
  10. "s_real_name": "",
  11. "l_yw_incode": "0",
  12. "i_from": "0",
  13. "s_phone": "13637055938",
  14. "is_first": "0",
  15. "s_imgurl": "",
  16. "content": "",
  17. "coach_id": "0",
  18. "id": "10",
  19. "x": "0.0000",
  20. "y": "0.0000",
  21. "user_id": "12",
  22. "sex": "1",
  23. "age": "31",
  24. "identity_id": "341223198510181234",
  25. "address": "蜀山区蔚蓝商务中心",
  26. "user_photo": "",
  27. "license_num": "4"
  28. },
  29. {
  30. "l_user_id": "13",
  31. "s_username": "方舟",
  32. "s_password": "e10adc3949ba59abbe56e057f20f883e",
  33. "i_user_type": "0",
  34. "i_status": "0",
  35. "s_real_name": "",
  36. "l_yw_incode": "0",
  37. "i_from": "0",
  38. "s_phone": "15215003411",
  39. "is_first": "1",
  40. "s_imgurl": "",
  41. "content": "",
  42. "coach_id": "0",
  43. "id": "8",
  44. "x": "0.0000",
  45. "y": "0.0000",
  46. "user_id": "13",
  47. "sex": "1",
  48. "age": "11",
  49. "identity_id": "哈哈哈",
  50. "address": "确实",
  51. "user_photo": "",
  52. "license_num": "1"
  53. },
  54. {
  55. "l_user_id": "14",
  56. "s_username": "",
  57. "s_password": "e10adc3949ba59abbe56e057f20f883e",
  58. "i_user_type": "0",
  59. "i_status": "0",
  60. "s_real_name": "",
  61. "l_yw_incode": "0",
  62. "i_from": "0",
  63. "s_phone": "18656639679",
  64. "is_first": "0",
  65. "s_imgurl": "",
  66. "content": "",
  67. "coach_id": "0",
  68. "id": null,
  69. "x": null,
  70. "y": null,
  71. "user_id": null,
  72. "sex": null,
  73. "age": null,
  74. "identity_id": null,
  75. "address": null,
  76. "user_photo": null,
  77. "license_num": null
  78. },
  79. {
  80. "l_user_id": "15",
  81. "s_username": "",
  82. "s_password": "e10adc3949ba59abbe56e057f20f883e",
  83. "i_user_type": "0",
  84. "i_status": "0",
  85. "s_real_name": "",
  86. "l_yw_incode": "0",
  87. "i_from": "0",
  88. "s_phone": "18063096952",
  89. "is_first": "0",
  90. "s_imgurl": "",
  91. "content": "",
  92. "coach_id": "0",
  93. "id": null,
  94. "x": null,
  95. "y": null,
  96. "user_id": null,
  97. "sex": null,
  98. "age": null,
  99. "identity_id": null,
  100. "address": null,
  101. "user_photo": null,
  102. "license_num": null
  103. },
  104. {
  105. "l_user_id": "17",
  106. "s_username": "",
  107. "s_password": "e10adc3949ba59abbe56e057f20f883e",
  108. "i_user_type": "0",
  109. "i_status": "0",
  110. "s_real_name": "",
  111. "l_yw_incode": "0",
  112. "i_from": "0",
  113. "s_phone": "17755610719",
  114. "is_first": "0",
  115. "s_imgurl": "",
  116. "content": "",
  117. "coach_id": "0",
  118. "id": null,
  119. "x": null,
  120. "y": null,
  121. "user_id": null,
  122. "sex": null,
  123. "age": null,
  124. "identity_id": null,
  125. "address": null,
  126. "user_photo": null,
  127. "license_num": null
  128. },
  129. {
  130. "l_user_id": "33",
  131. "s_username": "",
  132. "s_password": "e10adc3949ba59abbe56e057f20f883e",
  133. "i_user_type": "0",
  134. "i_status": "0",
  135. "s_real_name": "",
  136. "l_yw_incode": "0",
  137. "i_from": "0",
  138. "s_phone": "18949861121",
  139. "is_first": "0",
  140. "s_imgurl": "",
  141. "content": "",
  142. "coach_id": "0",
  143. "id": null,
  144. "x": null,
  145. "y": null,
  146. "user_id": null,
  147. "sex": null,
  148. "age": null,
  149. "identity_id": null,
  150. "address": null,
  151. "user_photo": null,
  152. "license_num": null
  153. }
  154. ]
  155. }
参数 类型 描述
code int 状态码:200 --- 成功 其它 --- 异常

需要字段:

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注