//package cokr.xit.biz.iup._legacy;
//
//
//import four.api.service.DoznService;
//import four.api.service.DoznVO;
//import java.util.Date;
//import javax.annotation.Resource;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//public class ApiController {
//    private final Logger logger = LoggerFactory.getLogger(getClass());
//
//    @Resource(name = "DoznService")
//    private DoznService doznService;
//
//    @RequestMapping(value = {"/kakao/notice"}, produces = {"application/json; charset=utf-8;"})
//    public String createBill(@RequestBody String data) {
//        this.logger.info("/kakao/notice(" + new Date() + ") : " + data);
//        DoznVO doznVO = this.doznService.selectNoticeInfo(data);
//        return this.doznService.updateApiResponse(doznVO);
//    }
//
//    @RequestMapping(value = {"/kakao/prepay"}, produces = {"application/json; charset=utf-8;"})
//    public String kakaoPrepay(@RequestBody String data) {
//        this.logger.info("/kakao/prepay(" + new Date() + ") : " + data);
//        DoznVO doznVO = this.doznService.selectPrepayInfo(data);
//        return this.doznService.updateApiResponse(doznVO);
//    }
//
//    @RequestMapping(value = {"/kakao/pay-result"}, produces = {"application/json; charset=utf-8;"})
//    public String kakaoPayResult(@RequestBody String data) {
//        this.logger.info("/kakao/pay-result(" + new Date() + ") : " + data);
//        DoznVO doznVO = this.doznService.insertPayResultInfo(data);
//        return this.doznService.updateApiResponse(doznVO);
//    }
//}
//
