From d26c499c2a92dd099aa74a751875e0c1c36b5f79 Mon Sep 17 00:00:00 2001 From: JIeunhuh Date: Fri, 23 May 2025 14:26:45 +0900 Subject: [PATCH] =?UTF-8?q?url=20=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/oper/floodPre/page.tsx | 4 ++-- apps/sn/app/oper/oldPp/page.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sn/app/oper/floodPre/page.tsx b/apps/sn/app/oper/floodPre/page.tsx index 0d307415d..8fa3e9ae7 100644 --- a/apps/sn/app/oper/floodPre/page.tsx +++ b/apps/sn/app/oper/floodPre/page.tsx @@ -41,7 +41,7 @@ const Page = () => { handleDownload(`/attach-service/api/v1/download/${atflId}`, fileNm) } const registFile = async (fileNm: string, year: string, quater: string, cd: string, id: string) => { - const data = await postData('api/v1/sbmrgPrevnt', { + const data = await postData('v1/sbmrgPrevnt', { atflNm: fileNm, mngYr: year, mngQu: quater, @@ -114,7 +114,7 @@ const Page = () => { }}> - { await registFile }} /> + {await registFile(file, year,quater, cd,id) }} /> ) diff --git a/apps/sn/app/oper/oldPp/page.tsx b/apps/sn/app/oper/oldPp/page.tsx index 48b2ec44e..26a20d21e 100644 --- a/apps/sn/app/oper/oldPp/page.tsx +++ b/apps/sn/app/oper/oldPp/page.tsx @@ -42,7 +42,7 @@ const Page = () => { return true } const registFile = async (fileNm:string, year: string, quater: string,cd: string, id: string) => { - const data = await postData('api/v1/dcrpPpl', { + const data = await postData('v1/dcrpPpl', { atflNm: fileNm, mngYr: year, mngQu: quater, @@ -115,7 +115,7 @@ const Page = () => { }}> - { registFile }} /> + {await registFile(file, year,quater, cd,id)}} /> )