purchase-let/api/order.js

31 lines
782 B
JavaScript
Raw Normal View History

2024-04-29 18:14:58 +08:00
import request from '@/utils/request';
2024-05-06 14:54:47 +08:00
//提交零售订单(支付一起)
2024-04-29 18:14:58 +08:00
export const createOrderApi = (data)=>{
return request.post('/order/RetailOrder/createOrder', data);
2024-04-30 16:24:55 +08:00
}
//订单列表
export const orderListApi = (data)=>{
return request.get('/order/retailOrder/order_list', data);
}
//订单详情
export const orderDetailApi = (data)=>{
return request.get('/order/RetailOrder/detail', data);
2024-05-06 14:54:47 +08:00
}
2024-05-06 15:32:45 +08:00
//重新发起支付
2024-05-06 14:54:47 +08:00
export const rePaymentApi = (data)=>{
return request.post('/order/RetailOrder/Repayment', data);
2024-05-06 15:32:45 +08:00
}
//订单数量统计
export const orderCountApi = (data)=>{
return request.post('/order/RetailOrder/order_count', data);
2024-05-07 13:39:08 +08:00
}
//取消订单
export const cancelOrderApi = (data)=>{
return request.post('/order/RetailOrder/cancel_order', data);
2024-04-29 18:14:58 +08:00
}