简要描述

  • 调用接口获取服务项目

接口版本

版本号 制定人 制定日期 修订日期
V 1.0 xxxx-xx-xx

请求URL:

请求方式:

  • GET

请求参数:

参数名 是否必须 类型 说明
access_token string 获取到的授权码access_token

返回示例:

正确时返回一:

  1. {
  2. "code": 200,
  3. "msg": "服务项目如下:",
  4. "data": {
  5. "status": "success",
  6. "time": 1564654716,
  7. "耗时": 0.082000000000000003,
  8. "ltems": [
  9. {
  10. "tid": 2,
  11. "service_ltems_name": "不住家保姆"
  12. },
  13. {
  14. "tid": 1,
  15. "service_ltems_name": "住家保姆"
  16. },
  17. {
  18. "tid": 3,
  19. "service_ltems_name": "月嫂"
  20. },
  21. {
  22. "tid": 4,
  23. "service_ltems_name": "育婴师"
  24. },
  25. {
  26. "tid": 5,
  27. "service_ltems_name": "早教师"
  28. },
  29. {
  30. "tid": 6,
  31. "service_ltems_name": "病患护工"
  32. },
  33. {
  34. "tid": 7,
  35. "service_ltems_name": "养老护工"
  36. },
  37. {
  38. "tid": 8,
  39. "service_ltems_name": "管家"
  40. },
  41. {
  42. "tid": 9,
  43. "service_ltems_name": "外佣"
  44. },
  45. {
  46. "tid": 10,
  47. "service_ltems_name": "钟点工"
  48. },
  49. {
  50. "tid": 11,
  51. "service_ltems_name": "保洁清洗"
  52. },
  53. {
  54. "tid": 12,
  55. "service_ltems_name": "保养/除害"
  56. },
  57. {
  58. "tid": 13,
  59. "service_ltems_name": "居家维修"
  60. },
  61. {
  62. "tid": 14,
  63. "service_ltems_name": "搬家/搬运"
  64. },
  65. {
  66. "tid": 15,
  67. "service_ltems_name": "代驾"
  68. },
  69. {
  70. "tid": 16,
  71. "service_ltems_name": "家教"
  72. },
  73. {
  74. "tid": 17,
  75. "service_ltems_name": "贴心服务"
  76. },
  77. {
  78. "tid": 18,
  79. "service_ltems_name": "衣服干洗"
  80. }
  81. ]
  82. }
  83. }

说明:当返回此结果时说明成功

错误返回一:

  1. {
  2. "code": 400,
  3. "msg": "您的订单已存在,修改订单请调用相应接口!",
  4. "data": {
  5. "status": "error",
  6. "time": "1559297160",
  7. "耗时": 0.068000000000000005
  8. }
  9. }