123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import request from '@/common/util/request'
- export const _API_OrderChart = data => request.get('/app/chart?type=0', data) // 获取 订单管理 图表数据接口
- export const _API_OrderPay = data => request.get('/pay_order', data) // 支付订单
- export const _API_OrderCancel = data => request.get('/destory', data) // 取消订单
- export const _API_OrderLog = data => request.get('/get_log', data) // 订单日志
- export const _API_OrderMyExamine = data => request.get('/order/my_order?status=0', data) // 我的订单-待审核
- export const _API_OrderMySended = data => request.get('/order/my_order?status=1', data) // 我的订单-已发货
- export const _API_OrderMyCompleted = data => request.get('/order/my_order?status=2', data) // 我的订单-已完成
- export const _API_GetOrderDetail = data => request.get('/order/GetOrderDetail', data) // 合并订单明细
- export const _API_OrderMy1 = data => request.get('/order_list?status=0', data) // 我的订单-全部
- export const _API_OrderMy2 = data => request.get('/order_list?status=1', data) // 我的订单-待付款
- export const _API_OrderMy3 = data => request.get('/order_list?status=2', data) // 我的订单-待审核
- export const _API_OrderMy4 = data => request.get('/order_list?status=3', data) // 我的订单-待收货
- export const _API_OrderMy5 = data => request.get('/order_list?status=4', data) // 我的订单-已完成
- export const getOrderList = (status, data) => request.get(`/order_list?status=${status}`, data)
- export const _API_OrderDownWillpay = data => request.get('/order/order_lower?status=0', data) // 下级订单-待付款
- export const _API_OrderDownWillsend = data => request.get('/order/order_lower?status=1', data) // 下级订单-待发货
- export const _API_OrderDownSended = data => request.get('/order/order_lower?status=2', data) // 下级订单-已发货
- export const _API_OrderDownForward = data => request.get('/order/order_turn', data) // 下级订单-已转发
- export const _API_OrderDownCompleted = data => request.get('/order/order_lower?status=3', data) // 下级订单-已完成
- // export const _API_PlaceOrder = data => request.post('/order/submit_order', data) // 订货下单
- export const _API_PlaceOrder = data => request.post('/submit_order', data) // 订货下单
- export const _API_OrderReceiveGoods = data => request.get('/order/order_complete', data) // 确认收货
- export const _API_OrderReceiveGoods1 = data => request.get('/order/sure_order', data) // 确认收货
- export const _API_OrderReceiveMoney = data => request.get('/order/order_sure_pay', data) // 确认收款
- export const _API_OrderDel = data => request.get('/order/del', data) // 删除订单
- export const _API_OrderDetail = data => request.get('/order/detail', data) // 获取订单详情
- export const _API_OrderDetail1 = data => request.get('/order_detail', data) // 获取订单详情
- export const _API_OrderSend = data => request.post('/order/forward', data) // 发货/转单
- export const _API_OrderStorage = data => request.get('/order/my_storage', data) // 我的库存
- export const _API_OrderAgain = data => request.get('/order/again', data) // 再次下单
- export const _API_GetTShirtNum = data => request.get('/order/type_count', data) // 回去 t-shirt 数量
- export const _API_SubmitTShirtNum = data => request.post('/order/type_submit', data) // 提交 t-shirt 数量
- // 订单接口
- export const _API_GetallGift = () => request.get('/order/get_gift_info') // 全部赠品
- export const _API_GetOrderGift = data => request.get('/order/get_gift', data) // 订单详情赠品
- export const _API_GetLogistics = data => request.get('/order/get_order_expresses', data) // 查询订单物流
- export const _API_GetExpressTrack = data => request.get('/order/get_express', data) // 订单物流详情
- export const _API_mergeOrder = data => request.get('/order/search_order', data) // 合并订单
- export const _API_DestoryOrder = data => request.get('/order/ApplyDestoryOrder', data) // 作废订单
- export const _API_destory = data => request.get('/order/destory', data) // 不需要审核的作废订单
- /*线上实战营*/
- export const _API_payment = data => request.get('/pays/payment', data) // 报名支付
- export const _API_GetStatus = data => request.get('/pays/GetStatus', data) // 查询是否需报名
- export const _API_SearchStatus = data => request.get('/pays/SearchStatus', data) // 查询是否需报名
- export const GetEnrollUserAddress = data => request.get('/pays/GetEnrollUserAddress', data) // 报名前获取收货地址
- export const UpdateAddAddress = data => request.post('/pays/UpdateAddAddress', data) // 报名前提交收货地址
- export const GetEnrollInfo = data => request.get('/pays/GetEnrollInfo', data) // 获取报名信息
- // export const getSzyExpress = data => request.get('/pays/getSzyExpress', data) // 获取物流信息
- export const getSzyExpress = data => request.get('/pays/GetExpress', data) // 获取线上实战营物流信息
- export const GetSzyGiftInfo = data => request.get('/pays/GetGiftInfo', data) // 判断线上实战营物流信息是否上传
- export const CheckGoodNum = data => request.post('/order/CheckGoodNum', data) // 下单前检查库存
- // 申请大礼包
- export const GetUserInfo = data => request.get('/BigGift/GetUserInfo', data) // 获取下级
- export const UploadApplyImg = data => request.post('/BigGift/UploadApplyImg', data) // 上传凭证
- export const CheckMoney = data => request.get('/BigGift/CheckMoney', data) // 校验是否够大礼包
- export const ApplyBigGift = data => request.post('/BigGift/ApplyBigGift', data) // 提交申请
- export const GetApplyBigGift = data => request.get('/BigGift/GetApplyBigGift', data) // 礼包详情
|