관리자포탈 로그인 2-factor 인증은 KAKAO로 발송
eapim-portal CI (from elink-portal-common) / build (push) Has been cancelled

This commit is contained in:
eastargh
2026-06-26 10:36:22 +09:00
parent 363863746b
commit bda9fad391
@@ -89,7 +89,11 @@ public class MessageSendService {
smsRequest.setPhone(user.getPhone());
smsRequest.setEaiInterfaceId(smsEaiInterfaceId);
smsRequest.setServiceId(portalProperties.get("ums.sms.tx_id"));
smsRequest.setMessageType("SMS");
if ("ADMIN_VERIFICATION_MOBILEPHONE".equals(template.getMessageCode().toUpperCase())) {
smsRequest.setMessageType("KAKAO");
} else {
smsRequest.setMessageType("SMS");
}
messageRequestRepository.save(smsRequest);
logger.debug(smsRequest.toString());
}