|
|
@ -25,6 +25,7 @@ import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtBefSendRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMainSendRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMainSendRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMsgRsltRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtMmsSendDTO.KtMsgRsltRequest;
|
|
|
|
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.KtTokenExcaRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenExcaRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenReadRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenReadRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenRequest;
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenRequest;
|
|
|
@ -220,11 +221,10 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@TraceLogging
|
|
|
|
@TraceLogging
|
|
|
|
public KtCommonResponse cfmToken(final KtTokenDTO.KtTokenConfirmRequest reqDTO) {
|
|
|
|
public KtTokenConfirmResponse cfmToken(final KtTokenDTO.KtTokenConfirmRequest reqDTO) {
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceKey(ktMnsInfo.getKtSvcCerfKey());
|
|
|
|
reqDTO.setServiceKey(ktMnsInfo.getKtSvcCerfKey());
|
|
|
|
reqDTO.setAccessToken(ktMnsInfo.getKtAccessToken());
|
|
|
|
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|
reqDTO.setProfile(null);
|
|
|
|
reqDTO.setProfile(null);
|
|
|
@ -234,7 +234,7 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
|
|
|
|
HOST + API_CFM_TOKEN,
|
|
|
|
HOST + API_CFM_TOKEN,
|
|
|
|
HttpMethod.POST,
|
|
|
|
HttpMethod.POST,
|
|
|
|
JsonUtils.toJson(reqDTO),
|
|
|
|
JsonUtils.toJson(reqDTO),
|
|
|
|
KtCommonResponse.class,
|
|
|
|
KtTokenConfirmResponse.class,
|
|
|
|
ktMnsInfo
|
|
|
|
ktMnsInfo
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -245,7 +245,6 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceKey(ktMnsInfo.getKtSvcCerfKey());
|
|
|
|
reqDTO.setServiceKey(ktMnsInfo.getKtSvcCerfKey());
|
|
|
|
reqDTO.setAccessToken(ktMnsInfo.getKtAccessToken());
|
|
|
|
|
|
|
|
reqDTO.setMmsRdgTmst(DateUtils.getTodayAndNowTime("yyyyMMddHHmmss"));
|
|
|
|
reqDTO.setMmsRdgTmst(DateUtils.getTodayAndNowTime("yyyyMMddHHmmss"));
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|