From 8daafecea22817b005c945c0d2a6aa403c3d9615 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 28 Nov 2023 15:22:34 +0900 Subject: [PATCH] =?UTF-8?q?json=20=EC=9D=91=EB=8B=B5=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/interfaces/lntris/basic/a/web/LntrisAController.java | 3 ++- .../xit/interfaces/lntris/basic/d/web/LntrisDController.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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";