BaseRestController - IP white 적용
UMS 연동 코드 개선
This commit is contained in:
@@ -6,6 +6,7 @@ import com.eactive.ext.kjb.common.KjbProperty;
|
||||
import com.eactive.ext.kjb.common.KjbPropertyHolder;
|
||||
import com.eactive.ext.kjb.common.KjbUmsException;
|
||||
import com.eactive.ext.kjb.ums.gson.IUmsGsonObject;
|
||||
import com.eactive.ext.kjb.ums.gson.ObpMonitoringUmsTemplate;
|
||||
import com.eactive.ext.kjb.ums.gson.UmsRequestPayload;
|
||||
import com.eactive.ext.kjb.ums.gson.VerifyPhoneUmsTemplate;
|
||||
import com.eactive.ext.kjb.utils.JsonUtil;
|
||||
@@ -113,6 +114,12 @@ public class KjbUmsService {
|
||||
return true;
|
||||
}
|
||||
|
||||
public String sendObpMonitoring(String cpno, String message) throws KjbUmsException {
|
||||
log.info("OBP 모니터링 용 메세지 발송 - message: {}", message);
|
||||
|
||||
return this.sendKakaoAlimTalk(null, UmsBizWorkCode.MONITORING, cpno, ObpMonitoringUmsTemplate.builder().message(message).build());
|
||||
}
|
||||
|
||||
public String sendKakaoAlimTalk(String guid, UmsBizWorkCode bizWorkCode, String cpno, IUmsGsonObject content) throws KjbUmsException {
|
||||
if (content == null) {
|
||||
throw new IllegalArgumentException("content is null");
|
||||
|
||||
Reference in New Issue
Block a user