Browse Source

알림톡 관련 수정

jsshin 5 years ago
parent
commit
09be11247e

+ 4 - 2
src/main/java/com/style24/front/biz/web/TsfCustomerController.java

@@ -186,11 +186,13 @@ public class TsfCustomerController extends TsfBaseController {
 			customer.setRegNo(custInfo.getCustNo());
 			customer.setUpdNo(custInfo.getCustNo());
 			customer.setCustNo(custInfo.getCustNo());
-
+			customer.setCellPhnno(custInfo.getCellPhnno());
 			// 비밀번호 수정
 			customerService.saveCustomerPassword(customer);
 
-			// TODO: 2021.02.15 메일발송 서비스 붙여야함 - jsshin
+			if (StringUtils.isNotBlank(customer.getCellPhnno())) {
+				kakaotalkService.sendCustomerTempPassword(customer, customer.getCustNo());
+			}
 		}
 
 		result.setString("authMethod", customer.getAuthMethod()); // 인증방법