랜드 소유권 변경 예약 처리 및 취소 처리

This commit is contained in:
2025-03-13 14:45:31 +09:00
parent 3efd663f0d
commit 5d9b6871fb
7 changed files with 160 additions and 81 deletions

View File

@@ -130,6 +130,22 @@ export const LandAuctionDelete = async (token, params, id) => {
}
};
// 랜드 소유권 변경 예약 삭제
export const LandOwnerChangesDelete = async (token, params) => {
try {
const res = await Axios.delete(`/api/v1/land/change/delete`, {
headers: { Authorization: `Bearer ${token}` },
data: params,
});
return res.data;
} catch (e) {
if (e instanceof Error) {
throw new Error('LandAuctionDelete Error', e);
}
}
};
export const LandView = async (token) => {
try {
const res = await Axios.get(