[关闭]
@apis1990 2016-08-24T04:00:09.000000Z 字数 535 阅读 480

电子教练ECoach


查询训练记录历史


1. URL:/service/ecoach/api/check_upload_exam_history.php

测试地址:http://36.33.24.119:8081/ecoach/api/check_upload_exam_history.php

2. 请求方式:POST

3. 请求参数:

参数 类型 是否必须 描述
user_id int yes 用户id
site_id int yes 场地id
car_id int yes 车辆id
identity_no string yes 身份证号
exam_history 文件 yes 训练记录文件

4. 接口返回结果

  1. {
  2. "code": 200,
  3. "data": {
  4. "upload": [
  5. "20", //需要上传的id
  6. "19",
  7. "17",
  8. "16",
  9. "15",
  10. "14",
  11. "13",
  12. "12",
  13. "11",
  14. "10",
  15. "9",
  16. "8",
  17. "7",
  18. "6",
  19. "5"
  20. ],
  21. "download": [
  22. "http://192.168.100.69/php/ecoach/api/../upload/20160509/exam_record_1462775450GLAtWe.txt" //下载链接
  23. ]
  24. }
  25. }
参数 类型 描述
code int 200:成功 其它:错误
data array 查询结果集
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注