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 {