diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/a/web/LntrisAController.java b/src/main/java/cokr/xit/interfaces/lntris/basic/a/web/LntrisAController.java index 5a3dd99..e9fb591 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/a/web/LntrisAController.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/a/web/LntrisAController.java @@ -4,6 +4,7 @@ import java.util.List; import javax.annotation.Resource; +import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -33,7 +34,7 @@ import lombok.Setter; * */ @RestController -@RequestMapping(name = "과태료 대장 단속정보", value = "/intf/lntris") +@RequestMapping(name = "과태료 대장 단속정보", value = "/intf/lntris", produces = MediaType.APPLICATION_JSON_VALUE) public class LntrisAController extends AbstractController { /**과태료 대장 단속정보 서비스*/ @Resource(name = "lntrisAService") diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/web/LntrisDController.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/web/LntrisDController.java index f1679b7..b0ad0e2 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/web/LntrisDController.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/web/LntrisDController.java @@ -34,7 +34,7 @@ import lombok.Getter; import lombok.Setter; @RestController -@RequestMapping(name = "부과정보 연계", value = "/intf/lntris") +@RequestMapping(name = "부과정보 연계", value = "/intf/lntris", produces = MediaType.APPLICATION_JSON_VALUE) public class LntrisDController extends AbstractController { private static final String JSON_REQ = "reqJson";