课程-待预约-申请更换私教老师--展示部分
接口地址:/lab/changesjshow
get方式
参数及格式如下:
city_id:城市id//城市不可多选,没有'全国选项'
tech_id:技能id,-1为全部技能;1到x对应prd文档上的x类技能,多项技能用中间,分隔
shop_id:门店id,-1为任意门店
sort:排序方式,不传或传1为默认排序
sj_id:原私教老师的sj_id
返回格式:
返回值说明:
lat:用户当前所在的纬度
log:用户当前所在的经度
若请求成功msg返回success;否则msg为相应报错信息
{
"code": 1,
"data": {
"price": 198,
"city_all_shop_info": [
{
"shop_id": 1,
"shop_name": "万塘路店",
"lat": "121.323.121",
"log":"12.123"
},
{
"shop_id": 3,
"shop_name": "未来科技城店",
"lat": "121.1",
"log":"34.123"
}
],
"all_city_info": [
{
"city_id": 11,
"city_name": "杭州"
},
{
"city_id": 12,
"city_name": "上海"
},
{
"city_id": 16,
"city_name": "北京"
},
{
"city_id": 19,
"city_name": "哈尔滨"
}
],
"reason": [
{
"id": 1,
"content": "个人原因"
},
{
"id": 2,
"content": "教师服务不满意"
},
{
"id": 3,
"content": "教师介绍上的服务时间描述有误,在部分时间实际无法服务"
},
{
"id": 4,
"content": "教师介绍上的服务地点描述有误,在部分地点实际无法服务"
},
{
"id": 5,
"content": "教师介绍上的技能描述有误,部分技能实际无法教授"
}
],
"item": [
{
"teacher_id": "66",
"teacher_name": "德师傅",
"img_url": "德师傅头像的图片地址",
"score": 5,
"time": 32,
"technique": "雕刻,小木作,传统木工"
},
{
"teacher_id": "71",
"teacher_name": "陈开落",
"img_url": "头像的图片地址",
"score": 5,
"time": 24,
"technique": "雕刻,小木作,传统木工"
}
]
},
"msg": "success"
}Last updated
Was this helpful?