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);