카카오 친구톡 컨트롤러 주석 정보 수정
카카오 친구톡 리스트화면 기업회원 체크 오류 수정 - 컨트롤러에서 loginVO정보 미전달로 인하여 오류 발생하여 수정 완료함
This commit is contained in:
parent
cb5b5ece1b
commit
a62a9f115d
@ -34,6 +34,7 @@ import itn.let.kakao.kakaoComm.kakaoApi.service.KakaoApiService;
|
||||
import itn.let.kakao.user.kakaoFt.service.KakaoFriendsTalkTemplateService;
|
||||
import itn.let.mjo.symbol.service.MjonSymbolService;
|
||||
import itn.let.mjo.symbol.service.MjonSymbolVO;
|
||||
import itn.let.uss.umt.service.EgovUserManageService;
|
||||
|
||||
@Controller
|
||||
public class KakaoFriendsTalkTemplateController {
|
||||
@ -54,6 +55,10 @@ public class KakaoFriendsTalkTemplateController {
|
||||
@Resource(name = "mjonSymbolService")
|
||||
private MjonSymbolService mjonSymbolService;
|
||||
|
||||
/** userManageService */
|
||||
@Resource(name = "userManageService")
|
||||
private EgovUserManageService userManageService;
|
||||
|
||||
@Autowired
|
||||
KakaoApiProfile kakaoApiProfile;
|
||||
|
||||
@ -276,10 +281,10 @@ public class KakaoFriendsTalkTemplateController {
|
||||
|
||||
|
||||
/**
|
||||
* @methodName : deleteKakaoFriendsImageDataAjax
|
||||
* @methodName : selectKakaoFriendsTemplateList
|
||||
* @author : 우영두
|
||||
* @date : 2023.03.23
|
||||
* @description : deleteKakaoFriendsImageDataAjax 카카오 친구톡 이미지 삭제요청
|
||||
* @description : selectKakaoFriendsTemplateList 카카오 친구톡 템플릿 리스트 화면
|
||||
* @param kakaoVO
|
||||
* @param model
|
||||
* @param response
|
||||
@ -297,8 +302,19 @@ public class KakaoFriendsTalkTemplateController {
|
||||
return "redirect:/web/user/login/login.do";
|
||||
}
|
||||
|
||||
model.addAttribute("loginVO", loginVO);
|
||||
|
||||
try {
|
||||
|
||||
/**
|
||||
* 회원 정지된 상태이면 알림톡 템플릿 등록 화면으로 이동되지 않도록 처리
|
||||
* */
|
||||
boolean mberSttus = userManageService.selectUserStatusInfo(userId);
|
||||
|
||||
if(!mberSttus) {
|
||||
return "redirect:/web/uat/uia/actionLogout.do";
|
||||
}
|
||||
|
||||
//사용자 등록 발신프로필 정보 조회해오기
|
||||
searchVO.setUserId(userId);
|
||||
List<KakaoVO> resultProfileList = kakaoApiService.selectKakaoProfileList(searchVO);
|
||||
@ -319,10 +335,10 @@ public class KakaoFriendsTalkTemplateController {
|
||||
|
||||
|
||||
/**
|
||||
* @methodName : deleteKakaoFriendsImageDataAjax
|
||||
* @methodName : selectKakaoFriendsTemplateListAjax
|
||||
* @author : 우영두
|
||||
* @date : 2023.03.23
|
||||
* @description : deleteKakaoFriendsImageDataAjax 카카오 친구톡 이미지 삭제요청
|
||||
* @description : selectKakaoFriendsTemplateListAjax 카카오 친구톡 템플릿 하단 리스트 정보 조회
|
||||
* @param kakaoVO
|
||||
* @param model
|
||||
* @param response
|
||||
|
||||
@ -102,6 +102,14 @@ $(function(){
|
||||
</p>
|
||||
</div>
|
||||
<div class="allimtalk_content" onclick="javascript:fnTemplateDetail('<c:out value="${templatInfoList.friendId}"/>'); return false;" style="cursor:pointer;">
|
||||
|
||||
<!-- 템플릿에 이미지가 있는경우 이미지 표시 -->
|
||||
<c:if test="${not empty templatInfoList.imageType}">
|
||||
<div class="img_box">
|
||||
<img src="<c:url value='${templatInfoList.templateImageUrl}'/>" alt="">
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
<p class="template_text"><c:out value="${fn:replace(fn:replace(templatInfoList.templateContent, newLineChar, '<br/>'), newLineChar2, '<br/>')}" escapeXml="false"/></p>
|
||||
<!-- 채널 추가형을 선택한 경우 자동으로 버튼이 하나 추가됨, 버튼을 추가한 경우 버튼 정보 표시 -->
|
||||
<c:forEach var="templatInfoButtonList" items="${templatInfoList.buttonVOList}" varStatus="status">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user