feat: 增加历史订单清空、删除功能

This commit is contained in:
2025-03-31 15:28:19 +08:00
parent a53ade8386
commit 274833d548
3 changed files with 77 additions and 4 deletions

View File

@@ -48,6 +48,22 @@ const OrderApi = {
data
});
},
//取消订单
cancelOrder(data: any) {
return request<any>({
url: `${baseURL}/cancelOrder`,
method: "post",
data
});
},
//取消某一次 下单
rmPlaceOrder(data: any) {
return request<any>({
url: `${baseURL}/rmPlaceOrder`,
method: "post",
data
});
},
};
export default OrderApi;