获取全部线路

测试地址:

{url}/dev-api/customer/livebus/queryAllLine

生产地址:

{url}/api/customer/livebus/queryAllLine

HTTP Method:GET
Content-Type:application/x-www-form-urlencoded

具体请求

header:
请求参数 说明
Authorization access_token 这里传登录获取的access_token

body:

请求参数说明

响应参数

成功响应示例

  1. {
  2. "msg": "操作成功",
  3. "code": 200,
  4. "data": [
  5. {
  6. "busLineName": "K330路",
  7. "flagList": [
  8. {
  9. "firstTime": "06:23:00",
  10. "lastTime": "18:40:00",
  11. "originStationName": "柳园小区",
  12. "flag": "1",
  13. "price": 2,
  14. "priceDesc": "2元",
  15. "terminateStationName": "火车站"
  16. },
  17. {
  18. "firstTime": "06:23:00",
  19. "lastTime": "18:40:00",
  20. "originStationName": "柳园小区",
  21. "flag": "1",
  22. "price": 2,
  23. "priceDesc": "2元",
  24. "terminateStationName": "火车站"
  25. },
  26. {
  27. "firstTime": "06:40:00",
  28. "lastTime": "18:42:00",
  29. "originStationName": "火车站",
  30. "flag": "2",
  31. "price": 2,
  32. "priceDesc": "2元",
  33. "terminateStationName": "柳园小区"
  34. },
  35. {
  36. "firstTime": "06:40:00",
  37. "lastTime": "18:42:00",
  38. "originStationName": "火车站",
  39. "flag": "2",
  40. "price": 2,
  41. "priceDesc": "2元",
  42. "terminateStationName": "柳园小区"
  43. }
  44. ],
  45. "busLineId": "4330"
  46. },
  47. {
  48. "busLineName": "环湖旅游专线",
  49. "flagList": [
  50. {
  51. "firstTime": "07:00:00",
  52. "lastTime": "17:30:00",
  53. "originStationName": "聊城五中",
  54. "flag": "2",
  55. "price": 2,
  56. "priceDesc": "2元",
  57. "terminateStationName": "火车站"
  58. },
  59. {
  60. "firstTime": "07:00:00",
  61. "lastTime": "17:30:00",
  62. "originStationName": "火车站",
  63. "flag": "1",
  64. "price": 2,
  65. "priceDesc": "2元",
  66. "terminateStationName": "聊城五中"
  67. }
  68. ],
  69. "busLineId": "7202"
  70. }
  71. ]
  72. }

失败响应示例

响应参数说明

请打开该网址查看参数信息:http://tw.twgiot.com:38092/data-center/doc.html#/default/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%8F%B0%E6%8E%A5%E5%8F%A3/getAllLinesUsingGET

注意事项:
暂无