전화번호 정규화 적용: 숫자 추출 유틸(PhoneNumberUtil) 활용
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.eactive.ext.kjb.ums;
|
package com.eactive.ext.kjb.ums;
|
||||||
|
|
||||||
|
import com.eactive.apim.portal.common.util.PhoneNumberUtil;
|
||||||
import com.eactive.apim.portal.template.entity.MessageCode;
|
import com.eactive.apim.portal.template.entity.MessageCode;
|
||||||
import com.eactive.apim.portal.template.entity.MessageRequest;
|
import com.eactive.apim.portal.template.entity.MessageRequest;
|
||||||
import com.eactive.ext.kjb.common.KjbProperty;
|
import com.eactive.ext.kjb.common.KjbProperty;
|
||||||
@@ -128,7 +129,7 @@ public class KjbUmsService {
|
|||||||
.messageIdentityNo(guid)
|
.messageIdentityNo(guid)
|
||||||
.msgBizWorkCode(bizWorkCode.getCode())
|
.msgBizWorkCode(bizWorkCode.getCode())
|
||||||
.content(content)
|
.content(content)
|
||||||
.cellphone(cpno)
|
.cellphone(PhoneNumberUtil.digitsOnly(cpno))
|
||||||
.msgSndChnlCd(UmsRequestPayload.ChannelCode.KM)
|
.msgSndChnlCd(UmsRequestPayload.ChannelCode.KM)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user