This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
package com.eactive.eai.rms.onl.common.service.ums;
|
package com.eactive.eai.rms.onl.common.service.ums;
|
||||||
|
|
||||||
|
import com.eactive.apim.portal.common.util.PhoneNumberUtil;
|
||||||
import com.eactive.apim.portal.template.entity.MessageRequest;
|
import com.eactive.apim.portal.template.entity.MessageRequest;
|
||||||
import com.eactive.eai.rms.data.entity.man.monitoringProperty.service.MonitoringPropertyService;
|
import com.eactive.eai.rms.data.entity.man.monitoringProperty.service.MonitoringPropertyService;
|
||||||
import com.eactive.eai.transformer.util.ByteUtil;
|
import com.eactive.eai.transformer.util.ByteUtil;
|
||||||
@@ -126,7 +127,7 @@ public class StandardMessageFactory {
|
|||||||
template.get("KKO_CTT").setValue(request.getMessage());
|
template.get("KKO_CTT").setValue(request.getMessage());
|
||||||
template.get("KKO_ATTACHMENT").setValue("{\"button\":[{\"name\":\"채널 추가\",\"type\":\"AC\"}]}");
|
template.get("KKO_ATTACHMENT").setValue("{\"button\":[{\"name\":\"채널 추가\",\"type\":\"AC\"}]}");
|
||||||
template.get("KKO_SMS_SND_MSG").setValue(request.getMessage());
|
template.get("KKO_SMS_SND_MSG").setValue(request.getMessage());
|
||||||
template.get("RCPN_MVBL_TEL_NO").setValue(request.getPhone());
|
template.get("RCPN_MVBL_TEL_NO").setValue(PhoneNumberUtil.digitsOnly(request.getPhone()));
|
||||||
|
|
||||||
String kkoSenderKey = monitoringPropertyService.getPrpty2ValById("Monitoring", "ums.kko.sender.key");
|
String kkoSenderKey = monitoringPropertyService.getPrpty2ValById("Monitoring", "ums.kko.sender.key");
|
||||||
template.put("KKO_SENDER_KEY", new FieldDefinition(40, kkoSenderKey)); // 카카오발신프로필키
|
template.put("KKO_SENDER_KEY", new FieldDefinition(40, kkoSenderKey)); // 카카오발신프로필키
|
||||||
|
|||||||
Reference in New Issue
Block a user