feat: batch KT-BC send

dev
gitea-관리자 1 year ago
parent 02ce226e13
commit a47e99b476

@ -1,10 +1,7 @@
package kr.xit.biz.mbl.service; package kr.xit.biz.mbl.service;
import kr.xit.biz.ens.model.kakao.KkopayDocDTO; import kr.xit.biz.ens.model.kakao.KkopayDocDTO;
import kr.xit.biz.ens.model.kt.KtCommonDTO.KtCommonResponse;
import kr.xit.biz.ens.model.kt.KtTokenDTO; import kr.xit.biz.ens.model.kt.KtTokenDTO;
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenConfirmResponse;
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenReadRequest;
import kr.xit.biz.mbl.mapper.IMobilePageMapper; import kr.xit.biz.mbl.mapper.IMobilePageMapper;
import kr.xit.biz.mbl.model.MobilePageDTO.MobilePageManage; import kr.xit.biz.mbl.model.MobilePageDTO.MobilePageManage;
import kr.xit.core.consts.ErrorCode; import kr.xit.core.consts.ErrorCode;
@ -88,6 +85,11 @@ public class MobilePageService extends EgovAbstractServiceImpl implements IMobil
*/ */
@Override @Override
public MobilePageManage findKtMblPage(final KtTokenDTO.KtTokenConfirmRequest reqDTO) { public MobilePageManage findKtMblPage(final KtTokenDTO.KtTokenConfirmRequest reqDTO) {
//TODO::테스트
return mapper.selectKtMobilePage("srcKey");
//TODO::실운영시 코멘트 제거
/*
if (Checks.isEmpty(reqDTO.getAccessToken())) if (Checks.isEmpty(reqDTO.getAccessToken()))
throw BizRuntimeException.create(String.valueOf(ErrorCode.BAD_REQUEST.getHttpStatus().value()), "정상적인 요청이 아닙니다. 재인증 후 시도하시기 바랍니다."); throw BizRuntimeException.create(String.valueOf(ErrorCode.BAD_REQUEST.getHttpStatus().value()), "정상적인 요청이 아닙니다. 재인증 후 시도하시기 바랍니다.");
@ -106,12 +108,12 @@ public class MobilePageService extends EgovAbstractServiceImpl implements IMobil
if(readRes.getResultCd().equals("00")){ if(readRes.getResultCd().equals("00")){
String srcKey = cfmRes.getSrcKey(); String srcKey = cfmRes.getSrcKey();
//TODO:: srckey로 컨텐츠 조회후 결과 return
return mapper.selectKtMobilePage(srcKey); return mapper.selectKtMobilePage(srcKey);
} }
throw BizRuntimeException.create(readRes.getResultCd(), readRes.toStringErrorMsg()); throw BizRuntimeException.create(readRes.getResultCd(), readRes.toStringErrorMsg());
} }
throw BizRuntimeException.create(cfmRes.getResultCd(), cfmRes.toStringErrorMsg()); throw BizRuntimeException.create(cfmRes.getResultCd(), cfmRes.toStringErrorMsg());
*/
} }
} }

@ -853,7 +853,7 @@ public class NiceCiDTO {
/** /**
* dataBody (P000 , ) : 8 * dataBody (P000 , ) : 8
*/ */
@Schema(requiredMode = RequiredMode.REQUIRED, title = "정상처리 여부", example = "P000") @Schema(requiredMode = RequiredMode.REQUIRED, title = "정상처리 여부")
private String rspCd; private String rspCd;
/** /**
@ -862,25 +862,15 @@ public class NiceCiDTO {
* 200 * 200
* </pre> * </pre>
*/ */
@Schema(requiredMode = RequiredMode.REQUIRED, title = "상세 메세지", example = " ") @Schema(requiredMode = RequiredMode.REQUIRED, title = "상세 메세지")
private String resMsg; private String resMsg;
/** /**
* <pre> * <pre>
* rsp_cd P000 : 4 * rsp_cd P000 : 4
* - 0000:
* - 0001:
* - 0002:
* - 0003:
* - 0004:
* - 0005: (key_version, key_info )
* - 0006:
* - 0007: key ( Key )
* - 0008:
* - 0099:
* </pre> * </pre>
*/ */
@Schema(requiredMode = RequiredMode.AUTO, title = "상세 결과코드", example = "0000") @Schema(requiredMode = RequiredMode.AUTO, title = "상세 결과코드")
private String resultCd; private String resultCd;
} }

Loading…
Cancel
Save