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.
xxdj1/api/modules/service.js

42 lines
1.0 KiB

2 years ago
import {
req
} from '../../utils/req.js';
export default {
// 首页轮播图
index(param) {
return req.get("/massage/app/Index/index", 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)
},
// 技师服务列表(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)
},
}