[关闭]
@apis1990 2016-08-24T04:01:30.000000Z 字数 973 阅读 393

订单

获得所有教练的订单列表


1.URL:/service/api/get_coach_orders.php/id/{id}/status/{status}

测试地址:http://36.33.24.119:8081/api/get_coach_orders.php/id/10/status/1

2.请求方式:GET

3.请求参数:

参数 类型 是否必须 描述
id 用户id
status 1:待完成 2:已完成 3:已取消

4.接口返回结果

  1. {
  2. "code": 200,
  3. "data": [
  4. {
  5. "l_study_order_id": "6",
  6. "s_order_no": "2015082452979949",
  7. "dt_order_time": "1440354628",
  8. "appoint_time_id": "6",
  9. "time_config_id": "1,2",
  10. "l_user_id": "1",
  11. "s_user_name": "chenxi",
  12. "s_user_phone": "18656999023",
  13. "l_coach_id": "10",
  14. "s_coach_name": "\u7f57\u66fc",
  15. "s_coach_phone": "13555711866",
  16. "s_address": "",
  17. "dc_money": "290.00",
  18. "dt_appoint_time": "2015-08-25 00:00:00",
  19. "i_start_hour": "0",
  20. "i_end_hour": "0",
  21. "i_service_time": "0",
  22. "i_status": "1",
  23. "s_zhifu_dm": "MDFR921262W2K0S",
  24. "dt_zhifu_time": "0000-00-00 00:00:00",
  25. "deal_type": "1",
  26. "s_time_money_detail": "",
  27. "s_order_time": "",
  28. "s_order_money": "",
  29. "s_lisence_type": "",
  30. "cancel_type": "0",
  31. "order_time": "2015/8/25 8.00-9.00,9.00-10.00",
  32. "time_config_arr": [
  33. "8.00-9.00",
  34. "9.00-10.00"
  35. ],
  36. "s_student_imgurl": "",
  37. "is_comment": 2
  38. }
  39. ...
  40. ]
  41. }
参数 类型 描述
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注