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;