订单删除

This commit is contained in:
wwz
2025-03-31 14:08:34 +08:00
parent 10a47abe13
commit e352acbdd0
7 changed files with 521 additions and 66 deletions

View File

@@ -44,4 +44,22 @@ export const APIgetOrderById = (data) => {
method: 'get',
data: data
})
}
//删除所有待支付订单
export const APIcancelOrder = (data) => {
return request({
url: url + '/user/order/cancelOrder',
method: 'post',
data: data
})
}
//删除某一个待支付订单
export const APIrmPlaceOrder = (data) => {
return request({
url: url + '/user/order/rmPlaceOrder',
method: 'post',
data: data
})
}