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-04-29 18:14:58 +08:00
|
|
|
}
|