url 수정

This commit is contained in:
leedj312
2025-07-25 10:22:47 +09:00
parent e4b1c78102
commit bc3049c255
+3 -1
View File
@@ -14,7 +14,7 @@ const getRuseFclt = async (
) => {
const checkWrRegListRes = await checkWrRegList();
let url = `/prcsFclt/ruseInfo/${page ? page : 1}/11/A/${sggOrCity ? sggOrCity : "11"}/0/1/SW`;
let url = `/prcsFclt/ruseInfo/${page ? page : 1}/5/A/${sggOrCity ? sggOrCity : "0"}/0/1/SW`;
console.log(' checkWrRegListRes ', checkWrRegListRes)
const ruseList = checkWrRegListRes.data.filter((item: string) => item !== "");
@@ -31,6 +31,7 @@ const getRuseFclt = async (
body: JSON.stringify(ruseList),
});
const hasuList = await response.json().then((res: any) => {
const data =res.data
@@ -49,6 +50,7 @@ const getRuseFclt = async (
return{ data: data, count: res.count };
});
return hasuList
};