Commit 0c0a216a authored by 罗林杰's avatar 罗林杰

修改订单

parent ef46a1cd
...@@ -66,3 +66,70 @@ export function exportCmsOrder(query) { ...@@ -66,3 +66,70 @@ export function exportCmsOrder(query) {
responseType: 'blob' responseType: 'blob'
}) })
} }
// 7. 查询异常订单信息表列表
export function listExceptionCmsOrder(query) {
return request({
url: '/cmsOrder/selectErrorOrderByPagination',
method: 'get',
params: query
})
}
// 8.退款补偿
export function refundReimbursement(ids) {
return request({
url: '/cmsOrder/refundReimbursement',
method: 'get',
params: { // 修改为使用params来传递查询参数
ids: Array.isArray(ids) ? ids.join(',') : ids // 如果ids是数组,则将其转换为逗号分隔的字符串
}
})
}
// 9.支付确认
export function payConfirm(data) {
return request({
url: '/cmsOrder/order/payConfirm',
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: data
})
}
// 9.人工退单
export function chargebacks(data) {
return request({
url: '/cmsOrder/cancel',
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: data
})
}
// 9.人工退单
export function refundConfirm(data) {
return request({
url: '/cmsOrder/order/refundConfirm',
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: data
})
}
// 9.异常订单补偿
export function manualCompensateOrder(data) {
return request({
url: '/cmsOrder/manualCompensateOrder',
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: data
})
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment