From 758b87d93ea3633a2f732ac478fb749ff2269835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Thu, 25 Apr 2024 09:47:53 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=20=ED=99=95=EC=9D=B8=20=EB=A1=9C=EC=A7=81=EC=97=90=20?= =?UTF-8?q?=EB=A7=9E=EC=B6=B0=20url=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/admin/contents/Survey.jsx | 4 ++-- .../src/pages/admin/contents/survey/QuestionModal.jsx | 4 ++-- .../src/pages/admin/contents/survey/SurveyModal.jsx | 4 ++-- .../src/pages/admin/logs/FileDownloadStatus.jsx | 2 +- .../src/pages/admin/logs/MenuAccessInfo.jsx | 2 +- .../src/pages/admin/logs/PrivacyLogs.jsx | 2 +- .../src/pages/admin/logs/UserConnections.jsx | 2 +- .../admin/contents/survey/AdminSurveyController.java | 2 +- .../dbnt/kcscbackend/admin/logs/AdminLogsController.java | 8 ++++---- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx index 530d364..b72e1d4 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx @@ -23,7 +23,7 @@ function Survey({}) { const retrieveList = useCallback(() => { handleClose() EgovNet.requestFetch( - '/admin/survey/list', + '/admin/contents/survey/list', { method: "GET" }, @@ -58,7 +58,7 @@ function Survey({}) { function editUseYn(svySeq){ EgovNet.requestFetch( - '/admin/survey/info-use-yn', + '/admin/contents/survey/info-use-yn', { method: "PUT", headers: { diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx index e5af92b..f30cce7 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx @@ -15,7 +15,7 @@ function QuestionModal({svySeq}){ function getSurveyQt(){ EgovNet.requestFetch( - '/admin/survey/info-qt?svySeq='+svySeq, + '/admin/contents/survey/info-qt?svySeq='+svySeq, { method: "GET" }, @@ -77,7 +77,7 @@ function QuestionModal({svySeq}){ function editSurveyQt(e){ EgovNet.requestFetch( - '/admin/survey/info-qt', + '/admin/contents/survey/info-qt', { method: "PUT", headers: { diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/SurveyModal.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/SurveyModal.jsx index 0234b73..906f540 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/SurveyModal.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/SurveyModal.jsx @@ -21,7 +21,7 @@ function SurveyModal({savedInfo, reloadFunction}){ e.preventDefault(); e.stopPropagation(); EgovNet.requestFetch( - '/admin/survey/info', + '/admin/contents/survey/info', { method: "PUT", headers: { @@ -44,7 +44,7 @@ function SurveyModal({savedInfo, reloadFunction}){ e.preventDefault(); e.stopPropagation(); EgovNet.requestFetch( - '/admin/survey/info', + '/admin/contents/survey/info', { method: "DELETE", headers: { diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/logs/FileDownloadStatus.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/logs/FileDownloadStatus.jsx index 2fe065b..70a3c57 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/logs/FileDownloadStatus.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/logs/FileDownloadStatus.jsx @@ -55,7 +55,7 @@ function FileConnections(props) { const retrieveList = useCallback((srchCnd) => { // console.groupCollapsed("EgovAdminUsageList.retrieveList()"); - const retrieveListURL = '/admin/logs/file'; + const retrieveListURL = '/admin/logs/file-download-status'; const requestOptions = { method: "POST", diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/logs/MenuAccessInfo.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/logs/MenuAccessInfo.jsx index 3a75376..a1a5ae6 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/logs/MenuAccessInfo.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/logs/MenuAccessInfo.jsx @@ -36,7 +36,7 @@ function MenuConnections(props) { const retrieveList = useCallback((srchCnd) => { // console.groupCollapsed("EgovAdminUsageList.retrieveList()"); - const retrieveListURL = '/admin/logs/menu'; + const retrieveListURL = '/admin/logs/menu-access-info'; const requestOptions = { method: "POST", diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/logs/PrivacyLogs.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/logs/PrivacyLogs.jsx index 1d633ef..48a1c40 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/logs/PrivacyLogs.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/logs/PrivacyLogs.jsx @@ -30,7 +30,7 @@ function PrivacyConnections(props) { const retrieveList = useCallback((srchCnd) => { // console.groupCollapsed("EgovAdminUsageList.retrieveList()"); - const retrieveListURL = '/admin/logs/privacy'; + const retrieveListURL = '/admin/logs/privacy-logs'; const requestOptions = { method: "POST", diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/logs/UserConnections.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/logs/UserConnections.jsx index bcb57c9..7f1d236 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/logs/UserConnections.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/logs/UserConnections.jsx @@ -35,7 +35,7 @@ function UserConnections(props) { const retrieveList = useCallback((srchCnd) => { // console.groupCollapsed("EgovAdminUsageList.retrieveList()"); - const retrieveListURL = '/admin/logs/user'; + const retrieveListURL = '/admin/logs/user-connections'; const requestOptions = { method: "POST", diff --git a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/contents/survey/AdminSurveyController.java b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/contents/survey/AdminSurveyController.java index 280f10b..106b893 100644 --- a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/contents/survey/AdminSurveyController.java +++ b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/contents/survey/AdminSurveyController.java @@ -24,7 +24,7 @@ import java.util.Map; @RestController @RequiredArgsConstructor -@RequestMapping("/admin/survey") +@RequestMapping("/admin/contents/survey") public class AdminSurveyController { private final AdminSurveyService adminSurveyService; diff --git a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/logs/AdminLogsController.java b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/logs/AdminLogsController.java index a1c5c36..a91bdb7 100644 --- a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/logs/AdminLogsController.java +++ b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/admin/logs/AdminLogsController.java @@ -41,7 +41,7 @@ public class AdminLogsController extends BaseController { @ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "403", description = "인가된 사용자가 아님") }) - @RequestMapping(method = RequestMethod.POST, value = "/menu", consumes = MediaType.APPLICATION_JSON_VALUE) + @RequestMapping(method = RequestMethod.POST, value = "/menu-access-info", consumes = MediaType.APPLICATION_JSON_VALUE) public ResultVO MenuListCount(@RequestBody Map dateRange, @AuthenticationPrincipal LoginVO user) throws Exception { @@ -70,7 +70,7 @@ public class AdminLogsController extends BaseController { @ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "403", description = "인가된 사용자가 아님") }) - @RequestMapping(method = RequestMethod.POST, value = "/user", consumes = MediaType.APPLICATION_JSON_VALUE) + @RequestMapping(method = RequestMethod.POST, value = "/user-connections", consumes = MediaType.APPLICATION_JSON_VALUE) public ResultVO UserListCount(@RequestBody Map dateRange, @AuthenticationPrincipal LoginVO user) throws Exception { @@ -99,7 +99,7 @@ public class AdminLogsController extends BaseController { @ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "403", description = "인가된 사용자가 아님") }) - @RequestMapping(method = RequestMethod.POST, value = "/privacy", consumes = MediaType.APPLICATION_JSON_VALUE) + @RequestMapping(method = RequestMethod.POST, value = "/privacy-logs", consumes = MediaType.APPLICATION_JSON_VALUE) public ResultVO selectPrivacyLogsList(@RequestBody ThPrivacyLog thPrivacyLog, @AuthenticationPrincipal LoginVO user) throws Exception { @@ -127,7 +127,7 @@ public class AdminLogsController extends BaseController { @ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "403", description = "인가된 사용자가 아님") }) - @RequestMapping(method = RequestMethod.POST, value = "/file", consumes = MediaType.APPLICATION_JSON_VALUE) + @RequestMapping(method = RequestMethod.POST, value = "/file-download-status", consumes = MediaType.APPLICATION_JSON_VALUE) public ResultVO FileListCount(@RequestBody Map dateRange, @AuthenticationPrincipal LoginVO user) throws Exception {