增加信息
This commit is contained in:
@@ -17,5 +17,27 @@ export async function orderExport(body) {
|
||||
'Content-Type': 'application/json;charset=UTF-8',
|
||||
},
|
||||
data: body || {},
|
||||
responseType: 'blob'
|
||||
});
|
||||
}
|
||||
|
||||
export async function orderList(id) {
|
||||
return request(`/api/orders/orderIncomeList?id=${id}`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json;charset=UTF-8',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 退单
|
||||
export async function orderRefund(bodys) {
|
||||
return request('/api/orders/orderRefund', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json;charset=UTF-8',
|
||||
},
|
||||
data: bodys || {},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user