feat: ktgbs api fix

main
Jonguk. Lim 3 months ago
parent 691c186a4b
commit 4977a4f9d5

@ -3,6 +3,8 @@ package kr.xit.biz.mbl.service;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import kr.xit.biz.ens.model.cntc.CntcDTO; import kr.xit.biz.ens.model.cntc.CntcDTO;
import kr.xit.biz.ens.model.kakao.v1.KkopayDocDTO;
import kr.xit.biz.ens.model.kakao.v2.KkotalkApiDTO;
import kr.xit.biz.ens.model.kt.KtCommonDTO; import kr.xit.biz.ens.model.kt.KtCommonDTO;
import kr.xit.biz.ens.model.kt.KtTokenDTO; import kr.xit.biz.ens.model.kt.KtTokenDTO;
import kr.xit.biz.mbl.mapper.IMobilePageMapper; import kr.xit.biz.mbl.mapper.IMobilePageMapper;
@ -15,8 +17,8 @@ import kr.xit.core.model.IApiResponse;
import kr.xit.core.service.AbstractService; import kr.xit.core.service.AbstractService;
import kr.xit.core.spring.annotation.TraceLogging; import kr.xit.core.spring.annotation.TraceLogging;
import kr.xit.core.support.utils.Checks; import kr.xit.core.support.utils.Checks;
import kr.xit.ens.kakao.v1.service.IKkopayEltrcDocService; import kr.xit.ens.kakao.pay.service.IKkopayEltrcDocService;
import kr.xit.ens.kakao.v2.service.IKkotalkEltrcDocService; import kr.xit.ens.kakao.talk.service.IKkotalkEltrcDocService;
import kr.xit.ens.kt.service.IKtBcService; import kr.xit.ens.kt.service.IKtBcService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@ -71,18 +73,18 @@ public class MobilePageService extends AbstractService implements IMobilePageSer
if(mobilePageManage == null) throw BizRuntimeException.create("데이타 오류[카카오페이 내문서함 문서가 없습니다]"); if(mobilePageManage == null) throw BizRuntimeException.create("데이타 오류[카카오페이 내문서함 문서가 없습니다]");
// FIXME: 테스트를 위해 임시로 주석처리 // FIXME: 테스트를 위해 임시로 주석처리
// final ApiResponseDTO<KkopayDocDTO.ValidTokenResponse> res = kkopayService.findKkopayReadyAndMblPage( final ApiResponseDTO<KkopayDocDTO.ValidTokenResponse> res = kkopayService.findKkopayReadyAndMblPage(
// KkopayDocDTO.OneTimeToken.builder() KkopayDocDTO.OneTimeToken.builder()
// .document_binder_uuid(reqDTO.getDocumentBinderUuid()) .document_binder_uuid(reqDTO.getDocumentBinderUuid())
// .external_document_uuid(reqDTO.getExternalDocumentUuid()) .external_document_uuid(reqDTO.getExternalDocumentUuid())
// .token(reqDTO.getToken()) .token(reqDTO.getToken())
// .signguCode(mobilePageManage.getSignguCode()) .signguCode(mobilePageManage.getSignguCode())
// .ffnlgCode(mobilePageManage.getFfnlgCode()) .ffnlgCode(mobilePageManage.getFfnlgCode())
// .build() .build()
// ); );
// if(!res.isSuccess()){ if(!res.isSuccess()){
// throw BizRuntimeException.create(res.getMessage()); throw BizRuntimeException.create(res.getMessage());
// } }
return mobilePageManage.getMobilePageCn(); return mobilePageManage.getMobilePageCn();
} }
@ -112,17 +114,17 @@ public class MobilePageService extends AbstractService implements IMobilePageSer
if(mobilePageManage == null) throw BizRuntimeException.create("데이타 오류[카카오톡 내문서함 문서가 없습니다]"); if(mobilePageManage == null) throw BizRuntimeException.create("데이타 오류[카카오톡 내문서함 문서가 없습니다]");
// FIXME: 테스트를 위해 임시로 주석처리 // FIXME: 테스트를 위해 임시로 주석처리
// final ApiResponseDTO<KkotalkApiDTO.ValidTokenResponse> res = kkotalkService.findKkotalkReadyAndMblPage( final ApiResponseDTO<KkotalkApiDTO.ValidTokenResponse> res = kkotalkService.findKkotalkReadyAndMblPage(
// KkotalkApiDTO.ValidTokenRequest.builder() KkotalkApiDTO.ValidTokenRequest.builder()
// .envelopeId(reqDTO.getEnvelopeId()) .envelopeId(reqDTO.getEnvelopeId())
// .token(reqDTO.getToken()) .token(reqDTO.getToken())
// .signguCode(mobilePageManage.getSignguCode()) .signguCode(mobilePageManage.getSignguCode())
// .ffnlgCode(mobilePageManage.getFfnlgCode()) .ffnlgCode(mobilePageManage.getFfnlgCode())
// .build() .build()
// ); );
// if(!res.isSuccess()){ if(!res.isSuccess()){
// throw BizRuntimeException.create(res.getMessage()); throw BizRuntimeException.create(res.getMessage());
// } }
return mobilePageManage.getMobilePageCn(); return mobilePageManage.getMobilePageCn();
} }

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.cmm; package kr.xit.ens.kakao.pay.cmm;
import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.ObjectUtils;

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.service; package kr.xit.ens.kakao.pay.service;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -27,14 +27,14 @@ import kr.xit.core.spring.annotation.TraceLogging;
import kr.xit.core.spring.util.ApiWebClientUtil; import kr.xit.core.spring.util.ApiWebClientUtil;
import kr.xit.core.support.utils.Checks; import kr.xit.core.support.utils.Checks;
import kr.xit.core.support.utils.JsonUtils; import kr.xit.core.support.utils.JsonUtils;
import kr.xit.ens.kakao.v1.cmm.CmmKakaoUtils; import kr.xit.ens.kakao.pay.cmm.CmmKakaoUtils;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.pay.service
* fileName : KkopayEltrcDocService * fileName : KkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.service; package kr.xit.ens.kakao.pay.service;
import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletableFuture;
@ -10,7 +10,7 @@ import kr.xit.core.model.ApiResponseDTO;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.pay.service
* fileName : IKkopayEltrcDocService * fileName : IKkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.service; package kr.xit.ens.kakao.pay.service;
import kr.xit.biz.ens.model.kakao.v1.KkopayDocAttrDTO; import kr.xit.biz.ens.model.kakao.v1.KkopayDocAttrDTO;
import kr.xit.biz.ens.model.kakao.v1.KkopayDocBulkDTO; import kr.xit.biz.ens.model.kakao.v1.KkopayDocBulkDTO;
@ -8,7 +8,7 @@ import kr.xit.core.model.ApiResponseDTO;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.pay.service
* fileName : IKkopayEltrcDocService * fileName : IKkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.service; package kr.xit.ens.kakao.pay.service;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -35,7 +35,7 @@ import lombok.extern.slf4j.Slf4j;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.pay.service
* fileName : KkopayEltrcDocService * fileName : KkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v1.web; package kr.xit.ens.kakao.pay.web;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -15,14 +15,14 @@ import kr.xit.biz.ens.model.kakao.v1.KkopayDocBulkDTO;
import kr.xit.biz.ens.model.kakao.v1.KkopayDocDTO; import kr.xit.biz.ens.model.kakao.v1.KkopayDocDTO;
import kr.xit.core.model.ApiResponseDTO; import kr.xit.core.model.ApiResponseDTO;
import kr.xit.core.model.IApiResponse; import kr.xit.core.model.IApiResponse;
import kr.xit.ens.kakao.v1.service.IKkopayEltrcDocService; import kr.xit.ens.kakao.pay.service.IKkopayEltrcDocService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
/** /**
* <pre> * <pre>
* description : controller * description : controller
* packageName : kr.xit.ens.kakao.v1.web * packageName : kr.xit.ens.kakao.pay.web
* fileName : KkopayEltrcDocController * fileName : KkopayEltrcDocController
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v2.service; package kr.xit.ens.kakao.talk.service;
import kr.xit.biz.ens.model.kakao.v2.KkotalkApiDTO; import kr.xit.biz.ens.model.kakao.v2.KkotalkApiDTO;
import kr.xit.biz.ens.model.kakao.v2.KkotalkDTO; import kr.xit.biz.ens.model.kakao.v2.KkotalkDTO;
@ -7,7 +7,7 @@ import kr.xit.core.model.ApiResponseDTO;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.talk.service
* fileName : IKkopayEltrcDocService * fileName : IKkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v2.service; package kr.xit.ens.kakao.talk.service;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -33,7 +33,7 @@ import lombok.extern.slf4j.Slf4j;
/** /**
* <pre> * <pre>
* description : * description :
* packageName : kr.xit.ens.kakao.v1.service * packageName : kr.xit.ens.kakao.talk.service
* fileName : KkopayEltrcDocService * fileName : KkopayEltrcDocService
* author : julim * author : julim
* date : 2023-04-28 * date : 2023-04-28

@ -1,4 +1,4 @@
package kr.xit.ens.kakao.v2.web; package kr.xit.ens.kakao.talk.web;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -14,14 +14,14 @@ import kr.xit.biz.ens.model.kakao.v2.KkotalkApiDTO;
import kr.xit.biz.ens.model.kakao.v2.KkotalkDTO; import kr.xit.biz.ens.model.kakao.v2.KkotalkDTO;
import kr.xit.core.model.ApiResponseDTO; import kr.xit.core.model.ApiResponseDTO;
import kr.xit.core.model.IApiResponse; import kr.xit.core.model.IApiResponse;
import kr.xit.ens.kakao.v2.service.IKkotalkEltrcDocService; import kr.xit.ens.kakao.talk.service.IKkotalkEltrcDocService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
/** /**
* <pre> * <pre>
* description : controller * description : controller
* packageName : kr.xit.ens.kakao.v2.web * packageName : kr.xit.ens.kakao.talk.web
* fileName : KkotalkEltrcDocController * fileName : KkotalkEltrcDocController
* author : julim * author : julim
* date : 2024-08-12 * date : 2024-08-12
Loading…
Cancel
Save