아이디/비밀번호 찾기 수정(1)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 회원구분코드 조회
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user