简要描述
- 调用接口获取服务项目
接口版本
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
V 1.0 | xxxx-xx-xx |
请求URL:
请求方式:
- GET
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | 获取到的授权码access_token |
返回示例:
正确时返回一:
{
"code": 200,
"msg": "服务项目如下:",
"data": {
"status": "success",
"time": 1564654716,
"耗时": 0.082000000000000003,
"ltems": [
{
"tid": 2,
"service_ltems_name": "不住家保姆"
},
{
"tid": 1,
"service_ltems_name": "住家保姆"
},
{
"tid": 3,
"service_ltems_name": "月嫂"
},
{
"tid": 4,
"service_ltems_name": "育婴师"
},
{
"tid": 5,
"service_ltems_name": "早教师"
},
{
"tid": 6,
"service_ltems_name": "病患护工"
},
{
"tid": 7,
"service_ltems_name": "养老护工"
},
{
"tid": 8,
"service_ltems_name": "管家"
},
{
"tid": 9,
"service_ltems_name": "外佣"
},
{
"tid": 10,
"service_ltems_name": "钟点工"
},
{
"tid": 11,
"service_ltems_name": "保洁清洗"
},
{
"tid": 12,
"service_ltems_name": "保养/除害"
},
{
"tid": 13,
"service_ltems_name": "居家维修"
},
{
"tid": 14,
"service_ltems_name": "搬家/搬运"
},
{
"tid": 15,
"service_ltems_name": "代驾"
},
{
"tid": 16,
"service_ltems_name": "家教"
},
{
"tid": 17,
"service_ltems_name": "贴心服务"
},
{
"tid": 18,
"service_ltems_name": "衣服干洗"
}
]
}
}
说明:当返回此结果时说明成功
错误返回一:
{
"code": 400,
"msg": "您的订单已存在,修改订单请调用相应接口!",
"data": {
"status": "error",
"time": "1559297160",
"耗时": 0.068000000000000005
}
}