이용정지회원 주소록 요청시 슬랙알림 기능 추가
This commit is contained in:
parent
5fe9df5280
commit
a558f0417e
@ -5033,6 +5033,33 @@ public class EgovLoginController {
|
||||
try {
|
||||
mberManageVO.setSendSttus("N"); //주소록 전송 전 상태 'N'
|
||||
mberManageService.updateReqeustAddr(mberManageVO);
|
||||
|
||||
// 법인폰 알람여부 체크
|
||||
JoinSettingVO joinSettingVO = new JoinSettingVO();
|
||||
joinSettingVO = egovSiteManagerService.selectAdminNotiDetail();
|
||||
// 이메일 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
||||
String emailTitle = "회원관리 > 이용정지회원 주소록 요청";
|
||||
|
||||
// CS관리자 이메일 알림전송
|
||||
mjonNoticeSendUtil.csAdminEmailNoticeSend("", mberManageVO.getMberId(), emailTitle);
|
||||
}
|
||||
|
||||
// SMS 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
||||
String smsTitle = "이용정지회원 주소록 요청";
|
||||
|
||||
// CS관리자 SMS 알림전송
|
||||
mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle);
|
||||
}
|
||||
|
||||
// SLACK 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
||||
// Slack 메시지 발송(단순본문)
|
||||
String msg = "[문자온] 이용정지회원 주소록 요청 - " + mberManageVO.getMberId();
|
||||
mjonCommon.sendSimpleSlackMsg(msg);
|
||||
}
|
||||
|
||||
}catch(Exception e) {
|
||||
modelAndView.addObject("message", "주소록 요청에 실패했습니다.");
|
||||
modelAndView.addObject("result", "fail");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user