From c7e81adc74114d2976e9cf117ad51e1ffbc9c4e6 Mon Sep 17 00:00:00 2001 From: kjh Date: Wed, 11 Sep 2024 11:52:25 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=B4=EC=B9=B4=EC=98=A4=ED=86=A1=20?= =?UTF-8?q?=EC=97=90=EB=9F=AC=20=EC=BD=94=EB=93=9C=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../signtalk/service/support/accept/AcptDocKkoTalk.java | 2 +- .../cokr/xit/ens/modules/kkotalk/code/KkoTalkStatusCd.java | 7 +++++++ .../ens/modules/kkotalk/service/support/KkoTalkSender.java | 2 +- src/main/resources/application.yml | 5 +++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/accept/AcptDocKkoTalk.java b/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/accept/AcptDocKkoTalk.java index c908ba4..c4de311 100644 --- a/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/accept/AcptDocKkoTalk.java +++ b/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/accept/AcptDocKkoTalk.java @@ -25,7 +25,7 @@ public class AcptDocKkoTalk implements Accept { DateUtil.getTimeTOfTime(tbInputDataXit.getTbInputXit().getPayExpiresDt().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")))) // FIXME: readExpiresAt + 1일로 설정 .reviewExpiresAt( - "2024-10-07T23:59:59") + "2024-10-30T23:59:59") .build(); } } diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/code/KkoTalkStatusCd.java b/src/main/java/cokr/xit/ens/modules/kkotalk/code/KkoTalkStatusCd.java index ee2abc9..d530b25 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/code/KkoTalkStatusCd.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/code/KkoTalkStatusCd.java @@ -34,6 +34,13 @@ public enum KkoTalkStatusCd implements IntgrnDtlStatMapperType { , READ("열람", IntgrnDtlStatCd.READ) , EXPIRED("만료", IntgrnDtlStatCd.EXPIRED) , INTERNAL_SENT_ERR("내부 송신 오류", IntgrnDtlStatCd.INTERNAL_ERROR) + , E400_00("유효하지 않은 요청", IntgrnDtlStatCd.INTERNAL_ERROR) + , E400_02("활성화된 공인전자 주소를 찾을 수 없습니다.", IntgrnDtlStatCd.INTERNAL_ERROR) + , E400_03("비회원", IntgrnDtlStatCd.UNIDENTIFIED_USER) + , E400_04("수신거부", IntgrnDtlStatCd.FORBIDDEN) + , E404_00("상품을 찾을 수 없습니다.", IntgrnDtlStatCd.INTERNAL_ERROR) + , E429_00("최대 요청 횟수 초과. 초당 최대 호출 가능 횟수를 초과 하였습니다.", IntgrnDtlStatCd.INTERNAL_ERROR) + , E429_01("최대 요청 횟수 초과. 테스트 발송 제한을 초과하였습니다.", IntgrnDtlStatCd.INTERNAL_ERROR) ; diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkSender.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkSender.java index cda0709..4eb94b4 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkSender.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkSender.java @@ -221,7 +221,7 @@ public class KkoTalkSender extends SendProcTemplate { .link(sendTgtDTO.getLink()) .build(); - bulkReqDTO.setExternalId(sendTgtDTO.getSendDetailId().toString()); + bulkReqDTO.setExternalId(sendTgtDTO.getExternalId().toString()); bulkReqDTO.setTitle(sendTgtDTO.getTitle()); bulkReqDTO.setPayload(sendTgtDTO.getPayload()); bulkReqDTO.setReadExpiresAt(sendTgtDTO.getReadExpiresAt()); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 74ba3ca..e48e584 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -124,8 +124,9 @@ xit: host: ${xit.app.url}${xit.app.ctx} postse: intgrn: - url: ${xit.app.url}${xit.app.ctx} - path: /intgrn/noti/page/prnt + # url: ${xit.app.url}${xit.app.ctx} + url: https://xit.co.kr + path: /ens/kko/mydoc/noti/prnt kkomd: url: ${xit.app.url}${xit.app.ctx} path: /kko/mydoc/page/prnt