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.
 
 
 
 
 
 
yanzong_qianduan/api/newFun.js

165 lines
4.5 KiB

import request from '@/utils/request'
// 邀请有礼 记录
export const inviteGetList = (param) => {
return request.post('invite/getList', param)
}
// 邀请有礼
export const inviteInit = (param) => {
return request.post('invite/index', param)
}
// 足迹列表 删除
export const goodsBrowseDel = (param) => {
return request.get('goods/browseDel', param)
}
// 足迹列表
export const goodsBrowseLog = (param) => {
return request.get('goods/browseLog', param)
}
// 上门回收 门店列表
export const storeList = (param) => {
return request.get('shop/list', param)
}
// 上门回收 回收列表
export const recoveryRecoveryList = (param) => {
return request.post('recovery/recoveryList', param)
}
export const recoveryCategoryList = (param) => {
return request.post('recovery/categoryList', param)
}
// 上门回收 提交
export const addOrder = (param) => {
return request.post('recovery/addOrder', param)
}
// 上门回收列表
export const orderList = (param) => {
return request.post('recovery/orderList', param)
}
// 上门回收物流
export const expressAll = (param) => {
return request.get('express/list', param)
}
// 上门回收预约时间
export const stopTimes = (param) => {
return request.post('shop/stopTimes', param)
}
// 上门回收编辑
export const updateOrder = (param) => {
return request.post('recovery/updateOrder', param)
}
// 上门回收tab状态
export const orderStatus = (param) => {
return request.post('recovery/orderStatus', param)
}
// 上门回收取消
export const cancelOrder = (param) => {
return request.post('recovery/cancelOrder', param)
}
// 上门回收取消
export const completeOrder = (param) => {
return request.post('recovery/completeOrder', param)
}
// 上门回收详情
export const orderDetail = (param) => {
return request.post('recovery/orderDetail', 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 })
}
// 店长 删除/批量删除
export const delGoods = (param) => {
return request.post('storeKeeper/delete', param)
}
//店长 商品订单
export const shopOrderList = (param) => {
return request.get('storeKeeper/orderList', param)
}
//店长--发货
export const sendGoods = (param) => {
return request.post('storeKeeper/delivery', param)
}
//店长==物流列表
export const wuliuList = (param) => {
return request.post('storeKeeper/expressAll', param)
}
//店长 修改价格
export const updatePrice = (param) => {
return request.post('storeKeeper/updatePrice', param)
}