아이디/비밀번호 찾기 수정(1)

This commit is contained in:
김현욱
2025-12-19 17:14:49 +09:00
parent e11797fa1e
commit 736cacae57
8 changed files with 634 additions and 24 deletions

View File

@@ -337,6 +337,9 @@ public interface BOMbrMapper {
public int insertBOPhoneAuth(BOMbrVO vo);
public int selectBOPhoneAuth(BOMbrVO vo);
public int insertBOEmailAuth(BOMbrVO vo);
public int selectBOEmailAuth(BOMbrVO vo);
public void insertBOMbrGradMapping(BOMbrVO mbrVO);
public void insertBOMemberSite(BOMbrVO mbrVO);

View File

@@ -1026,6 +1026,65 @@ public class BOMbrService {
return message;
}
/**
* 이메일 인증번호 생성
*
* @param mbrVO
* @return
* @author
*/
public DataMap insertBOEmailAuth(BOMbrVO vo) {
DataMap message = new DataMap();
int result = 0;
try {
result = mapper.insertBOEmailAuth(vo);
if (result > 0) {
message.put("result", "success");
message.put("sndngInnb", vo.getSndngInnb());
} else {
message.put("result", "fail");
}
} catch (WnbtRestException wre) {
throw new WnbtRestException(wre.getMessage());
} catch (Exception e) {
log.error(e.getMessage(), e);
}
return message;
}
/**
* 이메일 인증
*
* @param mbrVO
* @return
* @author
*/
public DataMap selectBOEmailAuth(BOMbrVO vo) {
DataMap message = new DataMap();
int result = 0;
try {
result = mapper.selectBOEmailAuth(vo);
if (result > 0) {
message.put("result", "success");
} else {
message.put("result", "fail");
}
} catch (WnbtRestException wre) {
throw new WnbtRestException(wre.getMessage());
} catch (Exception e) {
log.error(e.getMessage(), e);
}
return message;
}
/**
* 회원구분코드 조회
*