From e76b70dcbc1058a1ae656e0b8b81b135654fa642 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 28 Nov 2023 15:22:45 +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/special/b/web/LntrisBController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/interfaces/lntris/special/b/web/LntrisBController.java b/src/main/java/cokr/xit/interfaces/lntris/special/b/web/LntrisBController.java index c560ed2..809500a 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/special/b/web/LntrisBController.java +++ b/src/main/java/cokr/xit/interfaces/lntris/special/b/web/LntrisBController.java @@ -4,6 +4,7 @@ import java.util.List; import javax.annotation.Resource; +import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -34,7 +35,7 @@ import lombok.Getter; import lombok.Setter; @RestController -@RequestMapping("/intf/lntris") +@RequestMapping(value = "/intf/lntris", produces = MediaType.APPLICATION_JSON_VALUE) public class LntrisBController extends AbstractController { @Resource(name = "lntrisBService") private LntrisBService lntrisBService;