You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
import {
|
|
req
|
|
} from '../../utils/req.js';
|
|
export default {
|
|
// 首页轮播图
|
|
index(param) {
|
|
return req.get("/massage/app/Index/index", param)
|
|
},
|
|
indexBanner(param) {
|
|
return req.get("massage/app/Index/indexBanner", param)
|
|
},
|
|
// 服务列表
|
|
serviceList(param) {
|
|
return req.get("/massage/app/Index/serviceList", param)
|
|
},
|
|
// 服务详情
|
|
serviceInfo(param) {
|
|
return req.get("/massage/app/Index/serviceInfo", param)
|
|
},
|
|
// 服务技师列表(ser_id,服务id,lat,lng)
|
|
serviceCoachList(param) {
|
|
return req.get("/massage/app/Index/serviceCoachList", param)
|
|
},
|
|
//获取技师
|
|
getSeviceInfo(param) {
|
|
return req.get("/massage/app/Index/getLocation", param)
|
|
},
|
|
//更新位置
|
|
updatePosition(param) {
|
|
return req.get("/massage/app/Index/updateLocation", param)
|
|
},
|
|
// 技师服务列表(coach_id)
|
|
coachServiceList(param) {
|
|
return req.get("/massage/app/Index/coachServiceList", param)
|
|
},
|
|
// 技师服务列表(coach_id)
|
|
commentList(param) {
|
|
return req.get("/massage/app/Index/commentList", param)
|
|
},
|
|
// 技师信息
|
|
coachInfo(param) {
|
|
return req.get("/massage/app/Index/coachInfo", param)
|
|
},
|
|
//优惠券列表
|
|
couponList(param) {
|
|
return req.get("/massage/app/Index/couponList", param)
|
|
},
|
|
//领取优惠券
|
|
userGetCoupon(param) {
|
|
return req.post("/massage/app/Index/userGetCoupon", param)
|
|
},
|
|
}
|
|
|