|
|
@ -62,7 +62,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
@Service
|
|
|
|
@Service
|
|
|
|
public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsService {
|
|
|
|
public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsService {
|
|
|
|
@Value("${contract.kt.host}")
|
|
|
|
@Value("${app.contract.kt.host}")
|
|
|
|
private String HOST;
|
|
|
|
private String HOST;
|
|
|
|
//-----------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------
|
|
|
|
// mens 사용 API
|
|
|
|
// mens 사용 API
|
|
|
@ -70,22 +70,22 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 토큰발행
|
|
|
|
* 토큰발행
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.generate-token}")
|
|
|
|
@Value("${app.contract.kt.api.generate-token}")
|
|
|
|
private String API_GENERATE_TOKEN;
|
|
|
|
private String API_GENERATE_TOKEN;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 본문자수신등록 : BC-AG-SN-002
|
|
|
|
* 본문자수신등록 : BC-AG-SN-002
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.main-send}")
|
|
|
|
@Value("${app.contract.kt.api.main-send}")
|
|
|
|
private String API_MAIN_SEND;
|
|
|
|
private String API_MAIN_SEND;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 토큰인증확인조회 : BC-AG-SN-008
|
|
|
|
* 토큰인증확인조회 : BC-AG-SN-008
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.cfm-token}")
|
|
|
|
@Value("${app.contract.kt.api.cfm-token}")
|
|
|
|
private String API_CFM_TOKEN;
|
|
|
|
private String API_CFM_TOKEN;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 토큰열람확인결과전송 : BC-AG-SN-009
|
|
|
|
* 토큰열람확인결과전송 : BC-AG-SN-009
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.read-token}")
|
|
|
|
@Value("${app.contract.kt.api.read-token}")
|
|
|
|
private String API_READ_TOKEN;
|
|
|
|
private String API_READ_TOKEN;
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
@ -97,62 +97,62 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 사전문자수신등록 : BC-AG-SN-001
|
|
|
|
* 사전문자수신등록 : BC-AG-SN-001
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.before-send}")
|
|
|
|
@Value("${app.contract.kt.api.before-send}")
|
|
|
|
private String API_BEFORE_SEND;
|
|
|
|
private String API_BEFORE_SEND;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 수신거부등록 : BC-AG-SN-007
|
|
|
|
* 수신거부등록 : BC-AG-SN-007
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.blacklist}")
|
|
|
|
@Value("${app.contract.kt.api.blacklist}")
|
|
|
|
private String API_BLACKLIST;
|
|
|
|
private String API_BLACKLIST;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 백오피스발송통계연계조회 : BC-AG-SN-011
|
|
|
|
* 백오피스발송통계연계조회 : BC-AG-SN-011
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.send-sttc}")
|
|
|
|
@Value("${app.contract.kt.api.send-sttc}")
|
|
|
|
private String API_SEND_STTC;
|
|
|
|
private String API_SEND_STTC;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 백오피스발송결과연계조회 : BC-AG-SN-012
|
|
|
|
* 백오피스발송결과연계조회 : BC-AG-SN-012
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.send-sttcdtl}")
|
|
|
|
@Value("${app.contract.kt.api.send-sttcdtl}")
|
|
|
|
private String API_SEND_STTCDTL;
|
|
|
|
private String API_SEND_STTCDTL;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* whitelist등록 : BC-AG-SN-013
|
|
|
|
* whitelist등록 : BC-AG-SN-013
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.whitelist}")
|
|
|
|
@Value("${app.contract.kt.api.whitelist}")
|
|
|
|
private String API_WHITELIST;
|
|
|
|
private String API_WHITELIST;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 유통증명서발급처리 : BC-AG-SM-001
|
|
|
|
* 유통증명서발급처리 : BC-AG-SM-001
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.cerf-acmd}")
|
|
|
|
@Value("${app.contract.kt.api.cerf-acmd}")
|
|
|
|
private String API_CERF_ACMD;
|
|
|
|
private String API_CERF_ACMD;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 기관정산화면연계토큰인증 : BC-AG-SM-002
|
|
|
|
* 기관정산화면연계토큰인증 : BC-AG-SM-002
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.exca-token}")
|
|
|
|
@Value("${app.contract.kt.api.exca-token}")
|
|
|
|
private String API_EXCA_ACMD;
|
|
|
|
private String API_EXCA_ACMD;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 정산연계자료조회 : BC-AG-EC-001
|
|
|
|
* 정산연계자료조회 : BC-AG-EC-001
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.exca}")
|
|
|
|
@Value("${app.contract.kt.api.exca}")
|
|
|
|
private String API_EXCA;
|
|
|
|
private String API_EXCA;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 전자문서유통정보수치조회 : BC-AG-HS-001
|
|
|
|
* 전자문서유통정보수치조회 : BC-AG-HS-001
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.info-acmd}")
|
|
|
|
@Value("${app.contract.kt.api.info-acmd}")
|
|
|
|
private String API_INFO_ACMD;
|
|
|
|
private String API_INFO_ACMD;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 전자문서유통정보수치확인서 발급처리 : BC-AG-HS-002
|
|
|
|
* 전자문서유통정보수치확인서 발급처리 : BC-AG-HS-002
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.cfm-acmd}")
|
|
|
|
@Value("${app.contract.kt.api.cfm-acmd}")
|
|
|
|
private String API_CFM_ACMD;
|
|
|
|
private String API_CFM_ACMD;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 수신거부상태전송 : BC-AG-SN-014
|
|
|
|
* 수신거부상태전송 : BC-AG-SN-014
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.refuse-rcv}")
|
|
|
|
@Value("${app.contract.kt.api.refuse-rcv}")
|
|
|
|
private String API_REFUSE_RCV;
|
|
|
|
private String API_REFUSE_RCV;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 수신동의상태전송 : BC-AG-SN-015
|
|
|
|
* 수신동의상태전송 : BC-AG-SN-015
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Value("${contract.kt.api.approve-rcv}")
|
|
|
|
@Value("${app.contract.kt.api.approve-rcv}")
|
|
|
|
private String API_APPROVE_RCV;
|
|
|
|
private String API_APPROVE_RCV;
|
|
|
|
|
|
|
|
|
|
|
|
private final ApiWebClientUtil webClient;
|
|
|
|
private final ApiWebClientUtil webClient;
|
|
|
|