order.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import request from '@/common/util/request'
  2. export const _API_OrderPay = data => request.get('/pay_order', data) // 支付订单
  3. export const _API_OrderCancel = data => request.get('/destory', data) // 取消订单
  4. export const _API_OrderLog = data => request.get('/get_log', data) // 订单日志
  5. export const _API_GetOrderDetail = data => request.get('/order/GetOrderDetail', data) // 合并订单明细
  6. export const getOrderList = (status, data) => request.get(`/order_list?status=${status}`, data)
  7. export const _API_PlaceOrder = data => request.post('/submit_order', data) // 订货下单
  8. export const _API_OrderReceiveGoods = data => request.get('/order/order_complete', data) // 确认收货
  9. export const _API_OrderReceiveGoods1 = data => request.get('/order/sure_order', data) // 确认收货
  10. export const _API_OrderDel = data => request.get('/order/del', data) // 删除订单
  11. export const _API_OrderDetail = data => request.get('/order/detail', data) // 获取订单详情
  12. export const _API_OrderDetail1 = data => request.get('/order_detail', data) // 获取订单详情
  13. export const _API_OrderStorage = data => request.get('/order/my_storage', data) // 我的库存
  14. // 订单接口
  15. export const _API_GetallGift = () => request.get('/order/get_gift_info') // 全部赠品
  16. export const _API_GetOrderGift = data => request.get('/order/get_gift', data) // 订单详情赠品
  17. export const _API_GetLogistics = data => request.get('/order/get_order_expresses', data) // 查询订单物流
  18. export const _API_GetExpressTrack = data => request.get('/order/get_express', data) // 订单物流详情
  19. export const _API_mergeOrder = data => request.get('/order/search_order', data) // 合并订单
  20. export const _API_destory = data => request.get('/order/destory', data) // 不需要审核的作废订单
  21. export const CheckGoodNum = data => request.post('/order/CheckGoodNum', data) // 下单前检查库存