json 응답 설정

master
mjkhan21 12 months ago
parent da66868b88
commit e76b70dcbc

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

Loading…
Cancel
Save