|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 上门回收 回收列表
|
|
|
|
export const recoveryRecoveryList = (param) => {
|
|
|
|
return request.post('recovery/recoveryList', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 上门回收 回收分类
|
|
|
|
export const recoveryCategoryList = (param) => {
|
|
|
|
return request.post('recovery/categoryList', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单完成
|
|
|
|
export const serverConfirmSuccess = (param) => {
|
|
|
|
return request.post('server/confirmSuccess', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单详情
|
|
|
|
export const serverOrderDetails = (param) => {
|
|
|
|
return request.post('server/orderDetails', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单派单
|
|
|
|
export const serverDispatchOrders = (param) => {
|
|
|
|
return request.post('server/dispatchOrders', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单列表 派单
|
|
|
|
export const serverGetEngineer = (param) => {
|
|
|
|
return request.post('server/getEngineer', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单列表 取消
|
|
|
|
export const serverCancelOrder = (param) => {
|
|
|
|
return request.post('server/cancelOrder', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单列表 服务订单状态
|
|
|
|
export const serverOrderInfoStatus = (param) => {
|
|
|
|
return request.post('server/orderStatus', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务订单列表
|
|
|
|
export const serverOrderList = (param) => {
|
|
|
|
return request.post('server/orderList', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 创建服务订单 服务订单支付信息
|
|
|
|
export const serverOrderInfo = (param) => {
|
|
|
|
return request.post('server/orderInfo', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 创建服务订单 余额支付
|
|
|
|
export const serverOrderPay = (param) => {
|
|
|
|
return request.post('server/orderPay', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 创建服务订单
|
|
|
|
export const serverCreateOrder = (param) => {
|
|
|
|
return request.post('server/createOrder', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务列表 查询优惠券
|
|
|
|
export const serverCheckOrder = (param) => {
|
|
|
|
return request.post('server/checkOrder', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务列表
|
|
|
|
export const serverList = (param) => {
|
|
|
|
return request.post('server/list', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 服务 服务分类
|
|
|
|
export const serverCategoryList = (param) => {
|
|
|
|
return request.post('server/categoryList', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 店长 商品列表
|
|
|
|
export const storeKeeperList = (param) => {
|
|
|
|
return request.get('storeKeeper/list', param)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 门店详情
|
|
|
|
export const storeKeeperDetail = (shopId) => {
|
|
|
|
return request.get('shop/detail', { shopId })
|
|
|
|
}
|