|
|
@@ -9,6 +9,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import com.style24.core.biz.thirdparty.SsgKakaoSender;
|
|
|
import com.style24.persistence.domain.Menu;
|
|
|
+import com.style24.persistence.domain.SsgDirectMessage;
|
|
|
import com.style24.persistence.domain.User;
|
|
|
import com.style24.persistence.domain.UserHst;
|
|
|
import com.style24.scm.biz.dao.TssLoginDao;
|
|
|
@@ -16,6 +17,7 @@ import com.style24.scm.support.security.session.TssSession;
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
+import com.gagaframework.web.parameter.GagaMap;
|
|
|
import com.gagaframework.web.util.GagaStringUtil;
|
|
|
|
|
|
/**
|
|
|
@@ -125,15 +127,14 @@ public class TssLoginService {
|
|
|
String certNo = GagaStringUtil.getRandomNumber(6);
|
|
|
log.info("certNo: {}", certNo);
|
|
|
|
|
|
- // TODO: SSG모듈 설치 후 주석 해제해야 함
|
|
|
-// SsgDirectMessage dm = new SsgDirectMessage();
|
|
|
-// dm.setFdestine(TssSession.getInfo().getCellPhnno());
|
|
|
-//
|
|
|
-// GagaMap replaceInfo = new GagaMap();
|
|
|
-// replaceInfo.setString("certNo", certNo);
|
|
|
-//
|
|
|
-// // 인증번호 6자리 문자메시지 발송
|
|
|
-// kakaoSender.sendSms(SsgKakaoSender.KakaoAnswerSq.CertNoSend.value(), dm, replaceInfo);
|
|
|
+ SsgDirectMessage dm = new SsgDirectMessage();
|
|
|
+ dm.setFdestine(TssSession.getInfo().getCellPhnno());
|
|
|
+
|
|
|
+ GagaMap replaceInfo = new GagaMap();
|
|
|
+ replaceInfo.setString("certNo", certNo);
|
|
|
+
|
|
|
+ // 인증번호 6자리 문자메시지 발송
|
|
|
+ kakaoSender.sendSms(SsgKakaoSender.KakaoAnswerSq.CERT_NO_SEND.value(), dm, replaceInfo);
|
|
|
|
|
|
TssSession.setAttribute("tfcertno", certNo);
|
|
|
}
|