json 응답 설정

master
mjkhan21 12 months ago
parent da9d9315c3
commit 8daafecea2

@ -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;
* </pre>
*/
@RestController
@RequestMapping(name = "과태료 대장 단속정보", value = "/intf/lntris")
@RequestMapping(name = "과태료 대장 단속정보", value = "/intf/lntris", produces = MediaType.APPLICATION_JSON_VALUE)
public class LntrisAController extends AbstractController {
/**과태료 대장 단속정보 서비스*/
@Resource(name = "lntrisAService")

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

Loading…
Cancel
Save