From 357b6260bb6e5fe08e8500251d8f1a07af7c516b Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 27 Sep 2023 14:44:20 +0900 Subject: [PATCH] =?UTF-8?q?url=20=EC=88=98=EC=A0=95:=20/api/**/.do=20->=20?= =?UTF-8?q?/intf/**/*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/interfaces/epost/web/ApiController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/cokr/xit/interfaces/epost/web/ApiController.java b/src/main/java/cokr/xit/interfaces/epost/web/ApiController.java index 67b5b50..5094a4d 100644 --- a/src/main/java/cokr/xit/interfaces/epost/web/ApiController.java +++ b/src/main/java/cokr/xit/interfaces/epost/web/ApiController.java @@ -17,21 +17,21 @@ import cokr.xit.interfaces.epost.service.EmailRequestService; import cokr.xit.interfaces.epost.service.EmailResultService; @Controller("epostApi") -@RequestMapping(name = "전자우편 신청 결과", value = "/api/epost/result") +@RequestMapping(name = "전자우편 신청 결과", value = "/intf/epost/result") public class ApiController extends AbstractController { @Resource(name = "emailRequestService") private EmailRequestService requestService; @Resource(name = "emailResultService") private EmailResultService resultService; - @PostMapping(name = "/전자우편 신청결과 통보", value = "/receive.do") + @PostMapping(name = "/전자우편 신청결과 통보", value = "/receive") public ModelAndView receive(@RequestBody Map resultInfo) { log().debug("received processID: {}", resultInfo); return new ModelAndView("jsonView") .addObject("received", true); } - @PostMapping(name = "/전자우편 신청결과 로그 조회", value = "/list.do") + @PostMapping(name = "/전자우편 신청결과 로그 조회", value = "/list") public ModelAndView getResultLogs(@RequestBody Map req) { String procID = (String)req.get("procID"); int fetchSize = (Integer)req.get("fetchSize"); @@ -43,7 +43,7 @@ public class ApiController extends AbstractController { .addObject("more", more); } - @PostMapping(name = "/전자우편 신청결과 상태 변경", value = "/update.do") + @PostMapping(name = "/전자우편 신청결과 상태 변경", value = "/update") public ModelAndView updateResultLogStatus(@RequestBody Map req) { List logs = (List)req.get("logs"); int affected = resultService.updateResultLogStatus(logs);