카카오 친구톡 상세 화면 개발 중
@762de3060d59c954f11ce1300eb1af92288e4e58
--- src/main/java/itn/let/kakao/user/kakaoFt/web/KakaoFriendsTalkTemplateController.java
+++ src/main/java/itn/let/kakao/user/kakaoFt/web/KakaoFriendsTalkTemplateController.java
... | ... | @@ -96,6 +96,8 @@ |
| 96 | 96 |
return "redirect:/web/user/login/login.do"; |
| 97 | 97 |
} |
| 98 | 98 |
|
| 99 |
+ model.addAttribute("loginVO", loginVO);
|
|
| 100 |
+ |
|
| 99 | 101 |
try {
|
| 100 | 102 |
|
| 101 | 103 |
//사용자 등록 발신프로필 정보 조회해오기 |
... | ... | @@ -472,4 +474,55 @@ |
| 472 | 474 |
return modelAndView; |
| 473 | 475 |
} |
| 474 | 476 |
|
| 477 |
+ |
|
| 478 |
+ /** |
|
| 479 |
+ * @methodName : selectKakaoFriendsTemplateDataDetail |
|
| 480 |
+ * @author : 우영두 |
|
| 481 |
+ * @date : 2024.01.04 |
|
| 482 |
+ * @description : selectKakaoFriendsTemplateDataDetail 카카오 친구톡 템플릿 상세 화면 |
|
| 483 |
+ * @param kakaoVO |
|
| 484 |
+ * @param model |
|
| 485 |
+ * @param response |
|
| 486 |
+ * @return |
|
| 487 |
+ * @throws Exception |
|
| 488 |
+ */ |
|
| 489 |
+ @RequestMapping(value= {"/web/mjon/kakao/template/selectKakaoFriendsTemplateDataDetail.do"})
|
|
| 490 |
+ public String selectKakaoFriendsTemplateDataDetail( |
|
| 491 |
+ @ModelAttribute("kakaoVO") KakaoVO kakaoVO, ModelMap model, HttpServletResponse response
|
|
| 492 |
+ ) throws Exception {
|
|
| 493 |
+ |
|
| 494 |
+ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
|
| 495 |
+ String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId()); |
|
| 496 |
+ if(userId == "") {
|
|
| 497 |
+ return "redirect:/web/user/login/login.do"; |
|
| 498 |
+ } |
|
| 499 |
+ |
|
| 500 |
+ model.addAttribute("loginVO", loginVO);
|
|
| 501 |
+ |
|
| 502 |
+ try {
|
|
| 503 |
+ |
|
| 504 |
+ //사용자 등록 발신프로필 정보 조회해오기 |
|
| 505 |
+ kakaoVO.setUserId(userId); |
|
| 506 |
+ List<KakaoVO> resultProfileList = kakaoApiService.selectKakaoProfileList(kakaoVO); |
|
| 507 |
+ model.addAttribute("resultProfileList", resultProfileList);
|
|
| 508 |
+ |
|
| 509 |
+ // 특수문자 리스트 불러오기 |
|
| 510 |
+ MjonSymbolVO symbolVO = new MjonSymbolVO(); |
|
| 511 |
+ List<MjonSymbolVO> symbolList = mjonSymbolService.selectMjonSymbolList(symbolVO); |
|
| 512 |
+ model.addAttribute("symbolList", symbolList);
|
|
| 513 |
+ |
|
| 514 |
+ |
|
| 515 |
+ |
|
| 516 |
+ System.out.println("++++++++++++++++++ templateCode ::: "+kakaoVO.getTemplateCode());
|
|
| 517 |
+ System.out.println("++++++++++++++++++ senderKey ::: "+kakaoVO.getSenderKey());
|
|
| 518 |
+ |
|
| 519 |
+ } catch (Exception e) {
|
|
| 520 |
+ System.out.println(" selectKakaoFriendsTemplateDataDetail Error ::: " + e);
|
|
| 521 |
+ } |
|
| 522 |
+ |
|
| 523 |
+ |
|
| 524 |
+ |
|
| 525 |
+ return "/web/kakao/template/ft/KakaoFriendstalkTemplateDetail"; |
|
| 526 |
+ } |
|
| 527 |
+ |
|
| 475 | 528 |
} |
+++ src/main/webapp/WEB-INF/jsp/web/kakao/template/ft/KakaoFriendstalkTemplateDetail.jsp
... | ... | @@ -0,0 +1,993 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 3 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 4 | +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 5 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 6 | +<script src="/js/MJUtill.js"></script> | |
| 7 | +<script src="/js/kakao/templateComm.js"></script> | |
| 8 | +<script type="text/javascript"> | |
| 9 | + | |
| 10 | +/* 파일등록 */ | |
| 11 | +var _fileIdx = 0; | |
| 12 | +var _fileForm2 = new Array(); | |
| 13 | +var fileExt = ""; // 첨부파일 확장자 | |
| 14 | + | |
| 15 | +$(document).ready(function (){ | |
| 16 | + | |
| 17 | + //첫로딩시 우측 미리보기 화면 숨김처리 | |
| 18 | + $('.emphasis_title_text').hide(); //강조유형 타이틀 | |
| 19 | + $('.emphasis_side_text').hide(); //강조유형 보조문구 | |
| 20 | + //$('.template_text').hide(); //내용 미리보기 | |
| 21 | + $('.side_info_text').hide(); //부가정보 내용 | |
| 22 | + $('.channel_info_text').hide(); //채널추가 텍스트 내용 | |
| 23 | + $('.btnAd').hide(); //샘플 채널추가 버튼 | |
| 24 | + $('.btnEmpty').hide(); //샘플 버튼 | |
| 25 | + | |
| 26 | + //템플릿명 입력 글자수 체크 해주기 | |
| 27 | + $("#inputTemplateName").keyup(function(e){ | |
| 28 | + | |
| 29 | + var contents = $('#inputTemplateName').val(); | |
| 30 | + var conLeng = strMaxCharacterCnt(contents); | |
| 31 | + | |
| 32 | + if(conLeng > 100){ | |
| 33 | + | |
| 34 | + alert("템플릿명은 100자를 넘을 수 없습니다."); | |
| 35 | + var splicecon = strMaxLengthSubstring(contents, 99); | |
| 36 | + $('#inputTemplateName').val(splicecon); | |
| 37 | + return false; | |
| 38 | + | |
| 39 | + } | |
| 40 | + | |
| 41 | + }); | |
| 42 | + | |
| 43 | + //템플릿 내용 입력 글자수 체크 해주기 | |
| 44 | + $("#inputTemplateContent").keyup(function(e){ | |
| 45 | + | |
| 46 | + var contents = $('#inputTemplateContent').val(); | |
| 47 | + console.log(contents); | |
| 48 | + setContentsLengForFriends(contents); | |
| 49 | + | |
| 50 | + }); | |
| 51 | + | |
| 52 | +}); | |
| 53 | + | |
| 54 | +//--------------첨부파일 처리 함수 시작-------------------------- | |
| 55 | + | |
| 56 | +/* 파일사이즈 가져오기 */ | |
| 57 | +function getStrFileSize(filesize){ | |
| 58 | + var sizeStr=""; | |
| 59 | + var sizeKB = filesize/1024; | |
| 60 | + if(parseInt(sizeKB) > 1024){ | |
| 61 | + var sizeMB = sizeKB/1024; | |
| 62 | + sizeStr = sizeMB.toFixed(2)+" MB"; | |
| 63 | + }else{ | |
| 64 | + sizeStr = sizeKB.toFixed(2)+" KB"; | |
| 65 | + } | |
| 66 | + return sizeStr; | |
| 67 | +} | |
| 68 | + | |
| 69 | +//첨부 이미지 정보 확인 처리 해주기(이미지 리사이징 전단계) | |
| 70 | +function imgResizeInfo(event){ | |
| 71 | + | |
| 72 | + var fileValue = $("#imgFile").val().split("\\"); | |
| 73 | + var fileName = fileValue[fileValue.length-1]; | |
| 74 | + | |
| 75 | + var fileExt = fileName.split('.').pop().toLowerCase(); | |
| 76 | + | |
| 77 | + if(fileExt.length > 0){ | |
| 78 | + if($.inArray(fileExt, ['jpg','jpeg','png']) == -1) { | |
| 79 | + alert('jpg, jpeg, png 파일만 업로드 할수 있습니다.'); | |
| 80 | + return false; | |
| 81 | + } | |
| 82 | + | |
| 83 | + $("#imgNm").text(fileName); | |
| 84 | + } | |
| 85 | + | |
| 86 | + //알림톡 이미지 등록 요청하기 | |
| 87 | + getTemplateImagUrl(); | |
| 88 | +} | |
| 89 | + | |
| 90 | +//파일첨부 버튼 클릭시 파일 첨부 실행 | |
| 91 | +function upImgClick(){ | |
| 92 | + | |
| 93 | + var selectChennelID = $("select[name='selectAgentCode']").val(); //채널ID 정보 | |
| 94 | + var imageType = $("input[name=img_file_add]:checked").val(); //이미지 종류 정보(일반, 와이드) | |
| 95 | + var title = $("#imgTitle").val(); | |
| 96 | + var link = $("#imgLink").val(); | |
| 97 | + | |
| 98 | + if(selectChennelID == ''){ | |
| 99 | + | |
| 100 | + $("#imgNm").text(""); | |
| 101 | + $("#imgFile").val(""); | |
| 102 | + alert("채널ID를 선택해 주세요."); | |
| 103 | + return false; | |
| 104 | + | |
| 105 | + } | |
| 106 | + | |
| 107 | + if(imageType != ''){ | |
| 108 | + | |
| 109 | + bizForm.imageType.value = imageType; | |
| 110 | + | |
| 111 | + }else{ | |
| 112 | + | |
| 113 | + $("#imgNm").text(""); | |
| 114 | + $("#imgFile").val(""); | |
| 115 | + alert("이미지 종류를 선택해 주세요."); | |
| 116 | + return false; | |
| 117 | + | |
| 118 | + } | |
| 119 | + | |
| 120 | + if(title == ''){ | |
| 121 | + | |
| 122 | + $("#imgNm").text(""); | |
| 123 | + $("#imgFile").val(""); | |
| 124 | + alert("이미지 제목을 입력해 주세요."); | |
| 125 | + return false; | |
| 126 | + | |
| 127 | + } | |
| 128 | + | |
| 129 | + //이미지 선택시 링크 정보 및 url 패턴 검사 | |
| 130 | + if(link == ''){ | |
| 131 | + | |
| 132 | + $("#imgNm").text(""); | |
| 133 | + $("#imgFile").val(""); | |
| 134 | + alert("이미지 클릭시 이동할 URL 주소를 http:// 또는 https:// 포함하여 입력해 주세요."); | |
| 135 | + return false; | |
| 136 | + | |
| 137 | + }else{ | |
| 138 | + | |
| 139 | + if(link.search("http://") == -1 && link.search("https://") == -1){ | |
| 140 | + | |
| 141 | + $("#imgNm").text(""); | |
| 142 | + $("#imgFile").val(""); | |
| 143 | + alert("이미지 URL 주소에는 http:// 또는 https://를 포함하여 입력해야 합니다."); | |
| 144 | + return false; | |
| 145 | + | |
| 146 | + } | |
| 147 | + | |
| 148 | + } | |
| 149 | + | |
| 150 | + //첨부파일 선택 팝업 호출해주기 | |
| 151 | + $("#imgFile").click(); | |
| 152 | + | |
| 153 | +} | |
| 154 | + | |
| 155 | +//카카오 친구톡 이미지 등록 요청 API 호출해주기 | |
| 156 | +function getTemplateImagUrl(){ | |
| 157 | + | |
| 158 | + var bizForm = document.bizForm; | |
| 159 | + | |
| 160 | + var data = new FormData(bizForm); | |
| 161 | + var atchFileSts = true; //첨부파일 갯수 상태 값1 | |
| 162 | + | |
| 163 | + data.append("file0", $('#imgFile').prop('files')[0]); | |
| 164 | + | |
| 165 | + var fileValue = $("#imgFile").val().split("\\"); | |
| 166 | + var fileName = fileValue[fileValue.length-1]; | |
| 167 | + | |
| 168 | + var fileExt = fileName.split('.').pop().toLowerCase(); | |
| 169 | + | |
| 170 | + if($.inArray(fileExt, ['jpg','jpeg', 'png']) == -1) { | |
| 171 | + | |
| 172 | + alert('jpg, jpeg 파일만 업로드 할수 있습니다.'); | |
| 173 | + return false; | |
| 174 | + | |
| 175 | + } | |
| 176 | + | |
| 177 | + var url = ""; | |
| 178 | + | |
| 179 | + if(fileExt == "jpg" || fileExt == "jpeg" || fileExt == "png"){ | |
| 180 | + | |
| 181 | + url = "/web/mjon/kakao/template/sendKakaoFriendsTemplateImageUploadAjax.do"; | |
| 182 | + | |
| 183 | + }else{ | |
| 184 | + | |
| 185 | + alert('jpg, jpeg 파일만 업로드 할수 있습니다.'); | |
| 186 | + return; | |
| 187 | + | |
| 188 | + } | |
| 189 | + | |
| 190 | + $.ajax({ | |
| 191 | + type : 'POST' | |
| 192 | + , enctype : 'multipart/form-data' | |
| 193 | + , url : url | |
| 194 | + , data : data | |
| 195 | + , dataType:'json' | |
| 196 | + , async:true | |
| 197 | + , processData: false | |
| 198 | + , contentType: false | |
| 199 | + , cache : false | |
| 200 | + , success : function(returnData, status){ | |
| 201 | + if(returnData.result == "success") { | |
| 202 | + | |
| 203 | + var code = returnData.code; | |
| 204 | + var msg = returnData.msg; | |
| 205 | + var imgUrl = returnData.imgUrl; | |
| 206 | + | |
| 207 | + if(code == "200"){//등록 성공시 메시지 및 이미지 표시 처리 | |
| 208 | + alert("이미지 등록이 완료 되었습니다."); | |
| 209 | + $("#templateImageName").val(fileName); | |
| 210 | + $("#templateImageUrl").val(imgUrl); | |
| 211 | + | |
| 212 | + $('.kakao_image').css("display", "block"); | |
| 213 | + $("#kakaoImg").attr("src", imgUrl); | |
| 214 | + | |
| 215 | + }else if(code == "2002"){//일반 이미지 가로 세로 크기 오류 발생 | |
| 216 | + | |
| 217 | + alert("권장 이미지 사이즈는 가로 720px 세로 720px(가로:세로 비율이 2:1 아닐 경우, 가로 500px, 세로 250px 이하일 경우 업로드 불가), 최대용량 500KB 입니다."); | |
| 218 | + | |
| 219 | + //첨부파일 정보를 지워준다. | |
| 220 | + $("#imgFile").val(""); | |
| 221 | + $("#imgNm").text(""); | |
| 222 | + return false; | |
| 223 | + | |
| 224 | + }else if(code == "405"){ | |
| 225 | + | |
| 226 | + alert("권장 이미지 사이즈는 가로 800px 세로 600px(가로:세로 비율이 2:1 아닐 경우, 가로 500px, 세로 250px 이하일 경우 업로드 불가), 최대용량 2MB 입니다."); | |
| 227 | + | |
| 228 | + //첨부파일 정보를 지워준다. | |
| 229 | + $("#imgFile").val(""); | |
| 230 | + $("#imgNm").text(""); | |
| 231 | + return false; | |
| 232 | + | |
| 233 | + }else{ | |
| 234 | + | |
| 235 | + alert(msg); | |
| 236 | + | |
| 237 | + //첨부파일 정보를 지워준다. | |
| 238 | + $("#imgFile").val(""); | |
| 239 | + $("#imgNm").text(""); | |
| 240 | + return false; | |
| 241 | + } | |
| 242 | + | |
| 243 | + }else if(returnData.result == "loginFail"){ | |
| 244 | + location.href="/web/user/login/login.do"; | |
| 245 | + }else{ | |
| 246 | + alert("이미지 등록 중 오류가 발생하였습니다.!!!"); | |
| 247 | + return false; | |
| 248 | + } | |
| 249 | + }, | |
| 250 | + beforeSend : function(xmlHttpRequest) { | |
| 251 | + //로딩창 show | |
| 252 | + $('.loading_layer').addClass('active'); | |
| 253 | + }, | |
| 254 | + complete : function(xhr, textStatus) { | |
| 255 | + //로딩창 hide | |
| 256 | + $('.loading_layer').removeClass('active'); | |
| 257 | + }, | |
| 258 | + error : function(request , status, error){ | |
| 259 | + alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); | |
| 260 | + } | |
| 261 | + }); | |
| 262 | + | |
| 263 | + //첨부파일 이름 및 데이터 지워주기 - 완료 후 팝업이 자동으로 닫힘. | |
| 264 | + $("#imgFile").val(""); | |
| 265 | + //$("#imgNm").val(""); | |
| 266 | + | |
| 267 | +} | |
| 268 | + | |
| 269 | + | |
| 270 | +//발신 템플릿 등록 | |
| 271 | +function addTemplate(){ | |
| 272 | + | |
| 273 | + var selectAgentCode = $("select[name='selectAgentCode']").val(); // 선택 채널ID | |
| 274 | + var yellowId = $("select[name='selectAgentCode'] option:selected").text().replaceAll('@',''); // 선택 채널명 | |
| 275 | + var inputTemplateName = $("#inputTemplateName").val(); // 입력 템플릿 이름 | |
| 276 | + var imageType = $("input[name=img_file_add]:checked").val(); // 첨부 이미지 종류(없음, 일반, 와이드 이미지) | |
| 277 | + var imageTitle = $("#imgTitle").val(); //첨부이미지 제목 | |
| 278 | + var imageLink = $("#imgLink").val(); //첨부이미지 클릭시 이동 링크 주소 | |
| 279 | + var inputTemplateAd = $("input[name=ad_flag]:checked").val(); // 광고성메시지 선택 여부 | |
| 280 | + var inputTemplateContent = $("#inputTemplateContent").val(); // 템플릿 내용 | |
| 281 | + | |
| 282 | + var inputTemplateImageName = $("#templateImageName").val(); // 템플릿 이미지 파일명 | |
| 283 | + var inputTemplateImageUrl = $("#templateImageUrl").val(); // 템플릿 이미지 링크 | |
| 284 | + | |
| 285 | + // 공통 유효성 검사 조회 | |
| 286 | + if(selectAgentCode == null || selectAgentCode == ""){ | |
| 287 | + alert("채널ID를 선택해 주세요"); | |
| 288 | + return; | |
| 289 | + }; | |
| 290 | + | |
| 291 | + if(inputTemplateName == null || inputTemplateName == ""){ | |
| 292 | + alert("템플릿 명을 입력해 주세요"); | |
| 293 | + $("#inputTemplateName").focus(); | |
| 294 | + return; | |
| 295 | + }; | |
| 296 | + | |
| 297 | + if(imageType == 'I' || imageType == 'W'){ | |
| 298 | + | |
| 299 | + if(imageTitle == ''){ | |
| 300 | + | |
| 301 | + alert("이미지 제목을 입력해 주세요."); | |
| 302 | + return false; | |
| 303 | + | |
| 304 | + } | |
| 305 | + | |
| 306 | + if(imageLink == ''){ | |
| 307 | + | |
| 308 | + alert("이미지 클릭시 이동할 URL을 입력해 주세요."); | |
| 309 | + return false; | |
| 310 | + | |
| 311 | + }else{ | |
| 312 | + | |
| 313 | + if(imageLink.search("http://") == -1 && imageLink.search("https://") == -1){ | |
| 314 | + | |
| 315 | + alert("이미지 URL 주소에는 http:// 또는 https://를 포함하여 입력해야 합니다."); | |
| 316 | + return false; | |
| 317 | + | |
| 318 | + } | |
| 319 | + | |
| 320 | + } | |
| 321 | + | |
| 322 | + } | |
| 323 | + | |
| 324 | + | |
| 325 | + if(inputTemplateContent == null || inputTemplateContent == ""){ | |
| 326 | + alert("템플릿 내용을 입력해 주세요."); | |
| 327 | + return; | |
| 328 | + }; | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + var bizForm = document.bizForm; | |
| 333 | + bizForm.senderKey.value = selectAgentCode; | |
| 334 | + bizForm.yellowId.value = yellowId; | |
| 335 | + bizForm.templateName.value = inputTemplateName; | |
| 336 | + bizForm.imageType.value = imageType; | |
| 337 | + bizForm.imgTitle.value = imageTitle | |
| 338 | + bizForm.imgLink.value = imageLink | |
| 339 | + bizForm.adFlag.value = inputTemplateAd; | |
| 340 | + bizForm.templateContent.value = inputTemplateContent; | |
| 341 | + | |
| 342 | + var data = new FormData(bizForm); | |
| 343 | + | |
| 344 | + if(confirm("템플릿을 저장하시겠습니까?")){ | |
| 345 | + | |
| 346 | + $.ajax({ | |
| 347 | + type: "POST" | |
| 348 | + , url: "/web/mjon/kakao/template/insertKakaoFriendsTemplateDataAjax.do" | |
| 349 | + , data: data | |
| 350 | + , dataType: 'json' | |
| 351 | + , async: false | |
| 352 | + , processData: false | |
| 353 | + , contentType: false | |
| 354 | + , cache: false | |
| 355 | + , success: function (returnData, status) { | |
| 356 | + | |
| 357 | + var result = returnData.result; | |
| 358 | + | |
| 359 | + if(result == "notLogin") {//차단 발신번호인 경우 등록 불가 | |
| 360 | + alert("로그인후 진행이 가능합니다."); | |
| 361 | + }else if(returnData.result == "success") { | |
| 362 | + alert("템플릿 저장이 완료되었습니다."); | |
| 363 | + location.href="/web/mjon/kakao/template/selectKakaoFriendsTemplateList.do"; | |
| 364 | + return false; | |
| 365 | + }else{ | |
| 366 | + | |
| 367 | + alert("템플릿 저장에 오류가 발생하였습니다."); | |
| 368 | + return false; | |
| 369 | + | |
| 370 | + } | |
| 371 | + } | |
| 372 | + ,error: function (e) { | |
| 373 | + console.log("ERROR : ", e); | |
| 374 | + alert("템플릿 저장에 오류가 발생하였습니다."); | |
| 375 | + } | |
| 376 | + }); | |
| 377 | + | |
| 378 | + } | |
| 379 | + | |
| 380 | +} | |
| 381 | + | |
| 382 | +function fnImageDel(){ | |
| 383 | + | |
| 384 | + var selectAgentCode = $("select[name='selectAgentCode']").val(); // 선택 채널ID | |
| 385 | + var imageUrl = $("#templateImageUrl").val(); | |
| 386 | + var bizForm = document.bizForm; | |
| 387 | + | |
| 388 | + bizForm.senderKey.value = selectAgentCode; | |
| 389 | + | |
| 390 | + if(imageUrl == ''){ | |
| 391 | + | |
| 392 | + alert("등록된 이미지가 없습니다."); | |
| 393 | + return false; | |
| 394 | + | |
| 395 | + } | |
| 396 | + | |
| 397 | + var data = new FormData(bizForm); | |
| 398 | + | |
| 399 | + if(confirm("등록된 이미지를 삭제하시겠습니까?")){ | |
| 400 | + | |
| 401 | + $.ajax({ | |
| 402 | + type: "POST" | |
| 403 | + , url: "/web/mjon/kakao/template/deleteKakaoFriendsImageDataAjax.do" | |
| 404 | + , data: data | |
| 405 | + , dataType: 'json' | |
| 406 | + , async: false | |
| 407 | + , processData: false | |
| 408 | + , contentType: false | |
| 409 | + , cache: false | |
| 410 | + , success: function (returnData, status) { | |
| 411 | + | |
| 412 | + var result = returnData.result; | |
| 413 | + var code = returnData.code; | |
| 414 | + var msg = returnData.msg; | |
| 415 | + | |
| 416 | + if(result == "notLogin") {//차단 발신번호인 경우 등록 불가 | |
| 417 | + alert("로그인후 진행이 가능합니다."); | |
| 418 | + }else if(returnData.result == "success") { | |
| 419 | + | |
| 420 | + if(code == "200"){ | |
| 421 | + | |
| 422 | + alert("등록된 이미지가 삭제되었습니다."); | |
| 423 | + $("#imgTitle").val(""); | |
| 424 | + $("#imgLink").val(""); | |
| 425 | + $("#imgFile").val(""); | |
| 426 | + $("#imgNm").text("첨부파일 이미지"); | |
| 427 | + $("#templateImageUrl").val(""); | |
| 428 | + $('.kakao_image').css("display", "none"); | |
| 429 | + $("#kakaoImg").attr("src", ""); | |
| 430 | + return false; | |
| 431 | + | |
| 432 | + }else{ | |
| 433 | + | |
| 434 | + alert(msg); | |
| 435 | + return false; | |
| 436 | + } | |
| 437 | + | |
| 438 | + | |
| 439 | + }else{ | |
| 440 | + | |
| 441 | + alert("이미지 삭제에 오류가 발생하였습니다."); | |
| 442 | + return false; | |
| 443 | + | |
| 444 | + } | |
| 445 | + } | |
| 446 | + ,error: function (e) { | |
| 447 | + console.log("ERROR : ", e); | |
| 448 | + alert("이미지 삭제에 오류가 발생하였습니다."); | |
| 449 | + } | |
| 450 | + }); | |
| 451 | + | |
| 452 | + } | |
| 453 | + | |
| 454 | +} | |
| 455 | + | |
| 456 | + | |
| 457 | +//알림톡 내용 초기화 해주기 | |
| 458 | +function fnContentsReset(){ | |
| 459 | + | |
| 460 | + $("#inputTemplateContent").val(""); | |
| 461 | + $(".template_text").text("내용 미리보기"); | |
| 462 | + | |
| 463 | + $('.nowChar').text("0 /"); | |
| 464 | + | |
| 465 | +} | |
| 466 | + | |
| 467 | +//우측 미리보기 화면 채널 아이디 정보 변경해 주기 | |
| 468 | +function fnAgentCodeChg(){ | |
| 469 | + | |
| 470 | + var yellowIdVal = $("#selectAgentCode option:checked").val(); | |
| 471 | + var yellowId = $("#selectAgentCode option:checked").text(); | |
| 472 | + var yellowIdAt = yellowId.replaceAll('@',''); | |
| 473 | + if(yellowIdVal != ''){ | |
| 474 | + | |
| 475 | + $('#spnYellowid').text(yellowId); //미리보기화면 채널ID | |
| 476 | + $('#spnYellowidAt').text(yellowIdAt); //미리보기화면 채널ID @제거 | |
| 477 | + $('#yellowIdCon').text(yellowIdAt); //내용 입력 부분 채널ID | |
| 478 | + | |
| 479 | + | |
| 480 | + }else{ | |
| 481 | + | |
| 482 | + $('#spnYellowid').text("채널ID"); //미리보기화면 채널ID | |
| 483 | + $('#spnYellowidAt').text("채널ID"); //미리보기화면 채널ID @제거 | |
| 484 | + $('#yellowIdCon').text("채널ID"); //내용 입력 부분 채널ID | |
| 485 | + } | |
| 486 | + | |
| 487 | +} | |
| 488 | + | |
| 489 | +$(document).on('change', 'input[name=img_file_add]', function(){ | |
| 490 | + | |
| 491 | + var contents = $('#inputTemplateContent').val(); | |
| 492 | + if(contents != ''){ | |
| 493 | + setContentsLengForFriends(contents); | |
| 494 | + } | |
| 495 | + | |
| 496 | + $("#imgTitle").val(""); | |
| 497 | + $("#imgLink").val(""); | |
| 498 | + $("#imgFile").val(""); | |
| 499 | + $("#imgNm").text("첨부파일 이미지"); | |
| 500 | + $("#templateImageUrl").val(""); | |
| 501 | + | |
| 502 | + | |
| 503 | +}) | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | +//광고성 정보 포함 선택에 따른 텍스트 표시 부분 처리 | |
| 508 | +$(document).on('change', '.inputAdFlag', function(){ | |
| 509 | + | |
| 510 | + var adFlagVal = $(this).val(); | |
| 511 | + if(adFlagVal == 'N'){//광고 표시 숨김처리 | |
| 512 | + | |
| 513 | + $('.adFlag').hide(); | |
| 514 | + $('.kakao_block_text').hide(); | |
| 515 | + $('#adFlagFront').hide(); | |
| 516 | + $('.adFlagAfter').hide(); | |
| 517 | + | |
| 518 | + }else{ | |
| 519 | + $('.adFlag').show(); | |
| 520 | + $('.kakao_block_text').show(); | |
| 521 | + $('#adFlagFront').show(); | |
| 522 | + $('.adFlagAfter').show(); | |
| 523 | + } | |
| 524 | + | |
| 525 | +}); | |
| 526 | + | |
| 527 | +//이모티콘 삽입 기능 처리 | |
| 528 | +$(document).on('click', '.symbolButton, .changeWord', function (){ | |
| 529 | + //var templateContents = $('#inputTemplateContent').val(); | |
| 530 | + //$('#inputTemplateContent').val(templateContents + $(this).attr("value")); | |
| 531 | + | |
| 532 | + // 커서 위치에 삽입 | |
| 533 | + setCursorInsertText("inputTemplateContent", $(this).attr("value")); | |
| 534 | + | |
| 535 | + setContentsLeng($('#inputTemplateContent').val()); | |
| 536 | +}); | |
| 537 | + | |
| 538 | +</script> | |
| 539 | + | |
| 540 | +<!-- 로딩바 --> | |
| 541 | +<div class="loading_layer"> | |
| 542 | + <div class="loading_container"> | |
| 543 | + <div class="bar"></div> | |
| 544 | + <div class="text">Loading</div> | |
| 545 | + </div> | |
| 546 | +</div> | |
| 547 | + | |
| 548 | +<!-- content 영역 --> | |
| 549 | +<div class="inner"> | |
| 550 | + <!-- send top --> | |
| 551 | + <div class="send_top"> | |
| 552 | + <!-- tab button --> | |
| 553 | + <%@include file="/WEB-INF/jsp/web/kakao/include/KaKaoAlimtalkTopMenuTap.jsp" %> | |
| 554 | + <!--// tab button --> | |
| 555 | + <!-- 카카오톡 설정 - 알림톡 템플릿 등록/관리 - 내템플릿 --> | |
| 556 | + <div class="top_content kakaotalkset_cont current pay_tab_wrap"> | |
| 557 | + <div class="heading"> | |
| 558 | + <h2>카카오톡 설정</h2> | |
| 559 | + <button type="button" class="button info" | |
| 560 | + onclick="window.open('popup_kakaoset_template.html','_blank','width=790, height=300, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbars=yes')">사용안내</button> | |
| 561 | + </div> | |
| 562 | + <div class="list_tab_wrap2 type2"> | |
| 563 | + <!-- tab button --> | |
| 564 | + <%@include file="/WEB-INF/jsp/web/kakao/include/KaKaoAlimtalkSubMenuTap.jsp" %> | |
| 565 | + <!--// tab button --> | |
| 566 | + </div> | |
| 567 | + <form id="bizForm" name="bizForm" method="multipart/form-data"> | |
| 568 | + <input type="hidden" id="menuTopTab" name="menuTopTab" value="tabConf"> | |
| 569 | + <input type="hidden" id="menuSubTab" name="menuSubTab" value="tabSubFt"> | |
| 570 | + <input type="hidden" id="inputSenderKey" name="senderKey" value=""/> | |
| 571 | + <input type="hidden" id="yellowId" name="yellowId" value=""/> | |
| 572 | + <input type="hidden" id="templateName" name="templateName" value=""/> | |
| 573 | + <input type="hidden" id="imageType" name="imageType" value=""/> | |
| 574 | + <input type="hidden" id="imageTitle" name="imageTitle" value=""> | |
| 575 | + <input type="hidden" id="imageLink" name="imageLink" value=""> | |
| 576 | + <input type="hidden" id="adFlag" name="adFlag" value=""> | |
| 577 | + <input type="hidden" id="templateImageUrl" name="templateImageUrl" value=""> | |
| 578 | + <input type="hidden" id="templateContent" name="templateContent" value=""> | |
| 579 | + | |
| 580 | + | |
| 581 | + <div class="send_general friend_talk_wrap kakao_wrap"> | |
| 582 | + <div class="send_left"> | |
| 583 | + <p class="tType1_title">친구톡 템플릿 상세</p> | |
| 584 | + <table class="tType1"> | |
| 585 | + <colgroup> | |
| 586 | + <col style="width: 190px;"> | |
| 587 | + <col style="width: auto;"> | |
| 588 | + </colgroup> | |
| 589 | + <tbody> | |
| 590 | + <tr> | |
| 591 | + <th>채널ID</th> | |
| 592 | + <td> | |
| 593 | + <select class="select_gray_type" name="selectAgentCode" id="selectAgentCode" onchange="javascript:fnAgentCodeChg();"> | |
| 594 | + <option value="">채널ID 선택</option> | |
| 595 | + <c:forEach var="kakaoProfileInfo" items="${resultProfileList}" varStatus="status"> | |
| 596 | + <option value="${kakaoProfileInfo.senderKey}"><c:out value='${kakaoProfileInfo.yellowId}'/></option> | |
| 597 | + </c:forEach> | |
| 598 | + </select> | |
| 599 | + </td> | |
| 600 | + </tr> | |
| 601 | + <tr> | |
| 602 | + <th>템플릿명</th> | |
| 603 | + <td> | |
| 604 | + <input type="text" class="template_name" id="inputTemplateName" name="inputTemplateName" placeholder="템플릿 명을 입력해주세요" maxLength="100"> | |
| 605 | + <p class="template_name_cf">최대 100자, 템플릿 관리용</p> | |
| 606 | + </td> | |
| 607 | + </tr> | |
| 608 | + <tr> | |
| 609 | + <th>이미지 첨부</th> | |
| 610 | + <td class="img_file_add_td"> | |
| 611 | + <div class="img_sort_wrap"> | |
| 612 | + <input type="radio" name="img_file_add" id="img_file_0" value="" checked><label for="img_file_0">첨부 안함</label> | |
| 613 | + <input type="radio" name="img_file_add" id="img_file_1" value="I"><label for="img_file_1">이미지 첨부</label> | |
| 614 | + <input type="radio" name="img_file_add" id="img_file_2" value="W"><label for="img_file_2">와이드 이미지 첨부</label> | |
| 615 | + <div class="img_add_info_wrap basic_img_add_wrap"> | |
| 616 | + <p class="info_title_text"><span class="c_e40000">*</span> 이미지 첨부 안내</p> | |
| 617 | + <ul class="info_text"> | |
| 618 | + <li>- 권장사이즈 : 720px * 720px</li> | |
| 619 | + <li>- 제한사이즈 : 가로 500px 미만, 가로:세로 비율이 2:1 미만 또는 3:4 초과시 업로드 불가</li> | |
| 620 | + <li>- 파일형식 : jpg, png (최대 500kb)</li> | |
| 621 | + <li>- 이미지 첨부시 메시지 내용은 최대 400자까지 입력할 수 있습니다.</li> | |
| 622 | + </ul> | |
| 623 | + </div> | |
| 624 | + <div class="img_add_info_wrap wide_img_add_wrap"> | |
| 625 | + <p class="info_title_text"><span class="c_e40000">*</span> 와이드 이미지 첨부 안내</p> | |
| 626 | + <ul class="info_text"> | |
| 627 | + <li>- 권장사이즈 : 800px * 600px</li> | |
| 628 | + <!-- <li>- 제한사이즈 : 가로 500px 미만, 가로:세로 비율이 2:1 미만 또는 3:4 초과시 업로드 불가</li> --> | |
| 629 | + <li>- 파일형식 : jpg, png (최대 2mb)</li> | |
| 630 | + <li>- 와이드 이미지 첨부시 메시지 내용은 최대 76자, 버튼 1개까지 입력할 수 있습니다.</li> | |
| 631 | + </ul> | |
| 632 | + </div> | |
| 633 | + </div> | |
| 634 | + <div class="img_file_add_wrap"> | |
| 635 | + <ul class="img_file_info_wrap"> | |
| 636 | + <li> | |
| 637 | + <p>이미지 제목</p> | |
| 638 | + <input type="text" id="imgTitle" name="imgTitle" class="img_url" maxLength="50"> | |
| 639 | + </li> | |
| 640 | + <li> | |
| 641 | + <p>이미지 클릭시 이동할 URL</p> | |
| 642 | + <input type="text" id="imgLink" name="imgLink" placeholder="http://" class="img_url" maxLength="1000"> | |
| 643 | + </li> | |
| 644 | + <li> | |
| 645 | + <p class="file_name" id="imgNm" name="imgNm">첨부파일 이미지</p> | |
| 646 | + <input type="file" id="imgFile" accept=".jpg, .jpeg, .png" onchange="imgResizeInfo(event); return false;" style="display:none"/> | |
| 647 | + <button type="button" class="btn_del btnImgDel" onclick="buttonTypeDel(this);"> | |
| 648 | + <img src="/publish/images/btn_delete.png" id="imgDel" alt="이미지 삭제" onclick="fnImageDel();"> | |
| 649 | + </button> | |
| 650 | + </li> | |
| 651 | + </ul> | |
| 652 | + <button type="button" class="btnType btnType8 btn_img_upload" title="이미지 불러오기" onclick="javascript:upImgClick(); return false;">이미지 불러오기</button> | |
| 653 | + </div> | |
| 654 | + </td> | |
| 655 | + </tr> | |
| 656 | + <tr> | |
| 657 | + <th>광고포함 여부</th> | |
| 658 | + <td> | |
| 659 | + <input type="radio" class="inputAdFlag" name="ad_flag" id="ad_Y" value="Y" checked><label for="ad_Y">광고성 정보 | |
| 660 | + 포함</label> | |
| 661 | + <input type="radio" class="inputAdFlag" name="ad_flag" id="ad_N" value="N"><label for="ad_N">포함 안함</label> | |
| 662 | + </td> | |
| 663 | + </tr> | |
| 664 | + <tr> | |
| 665 | + <th>내용</th> | |
| 666 | + <td class="kakao_template_text"> | |
| 667 | + <div class="put_left short"> | |
| 668 | + <!-- <input type="text" class="template_name"> --> | |
| 669 | + <div class="put_text_wrap"> | |
| 670 | + <div class="ad_txt"> | |
| 671 | + <p><span id="adFlagFront">(광고)</span> <span id="yellowIdCon" >채널ID</span></p> | |
| 672 | + </div> | |
| 673 | + <label for="inputTemplateContent" class="label"></label> | |
| 674 | + <textarea id="inputTemplateContent" name="inputTemplateContent" class="put_text" placeholder="내용을 입력해주세요."></textarea> | |
| 675 | + <div class="text_length"> | |
| 676 | + <div> | |
| 677 | + <p class="adFlagAfter">수신거부 : 홈 > 채널차단</p> | |
| 678 | + </div> | |
| 679 | + <div> | |
| 680 | + <p><span class="fwMd nowChar">0 /</span><span class="c_002c9a fwMd totChar">1000</span>자</p> | |
| 681 | + </div> | |
| 682 | + </div> | |
| 683 | + </div> | |
| 684 | + </div> | |
| 685 | + <div class="put_right"> | |
| 686 | + <div class="btn_popup_wrap"> | |
| 687 | + <button type="button" class="btnType btnType7" | |
| 688 | + onclick="miniPopup(this)">특수문자</button> | |
| 689 | + <div class="send_miniPop spc_character"> | |
| 690 | + <div class="tab_character"> | |
| 691 | + <a href="#none" class="on">특수문자</a> | |
| 692 | + <a href="#none">웃음</a> | |
| 693 | + <a href="#none">슬픔</a> | |
| 694 | + <a href="#none">분노</a> | |
| 695 | + <a href="#none">사랑</a> | |
| 696 | + <a href="#none">그외</a> | |
| 697 | + </div> | |
| 698 | + <!-- 특수문자 --> | |
| 699 | + <div class="cnt_character on"> | |
| 700 | + <div class="box_character"> | |
| 701 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 702 | + <c:if test="${symbolList.symbolType == 'D'}"> | |
| 703 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}"><c:out value="${symbolList.symbol}"/></a> | |
| 704 | + </c:if> | |
| 705 | + </c:forEach> | |
| 706 | + </div> | |
| 707 | + </div> | |
| 708 | + <!-- //특수문자 --> | |
| 709 | + | |
| 710 | + <!-- 웃음 --> | |
| 711 | + <div class="cnt_character emt_character"> | |
| 712 | + <div class="box_character"> | |
| 713 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 714 | + <c:if test="${symbolList.symbolType == 'S'}"> | |
| 715 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}">${symbolList.symbol}</a> | |
| 716 | + </c:if> | |
| 717 | + </c:forEach> | |
| 718 | + </div> | |
| 719 | + </div> | |
| 720 | + <!-- //웃음 --> | |
| 721 | + | |
| 722 | + <!-- 슬픔 --> | |
| 723 | + <div class="cnt_character emt_character"> | |
| 724 | + <div class="box_character"> | |
| 725 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 726 | + <c:if test="${symbolList.symbolType == 'C'}"> | |
| 727 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}">${symbolList.symbol}</a> | |
| 728 | + </c:if> | |
| 729 | + </c:forEach> | |
| 730 | + </div> | |
| 731 | + </div> | |
| 732 | + <!-- //슬픔 --> | |
| 733 | + | |
| 734 | + <!-- 분노 --> | |
| 735 | + <div class="cnt_character emt_character"> | |
| 736 | + <div class="box_character"> | |
| 737 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 738 | + <c:if test="${symbolList.symbolType == 'A'}"> | |
| 739 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}">${symbolList.symbol}</a> | |
| 740 | + </c:if> | |
| 741 | + </c:forEach> | |
| 742 | + </div> | |
| 743 | + </div> | |
| 744 | + <!-- //분노 --> | |
| 745 | + | |
| 746 | + <!-- 사랑 --> | |
| 747 | + <div class="cnt_character emt_character"> | |
| 748 | + <div class="box_character"> | |
| 749 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 750 | + <c:if test="${symbolList.symbolType == 'L'}"> | |
| 751 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}">${symbolList.symbol}</a> | |
| 752 | + </c:if> | |
| 753 | + </c:forEach> | |
| 754 | + </div> | |
| 755 | + </div> | |
| 756 | + <!-- //사랑 --> | |
| 757 | + | |
| 758 | + <!-- 그외 --> | |
| 759 | + <div class="cnt_character emt_character emt_etc "> | |
| 760 | + <div class="box_character"> | |
| 761 | + <c:forEach var="symbolList" items="${symbolList}" varStatus="status"> | |
| 762 | + <c:if test="${symbolList.symbolType == 'E'}"> | |
| 763 | + <a href="javascript:void(0)" class="symbolButton" value="${symbolList.symbol}">${symbolList.symbol}</a> | |
| 764 | + </c:if> | |
| 765 | + </c:forEach> | |
| 766 | + </div> | |
| 767 | + </div> | |
| 768 | + <!-- //그외 --> | |
| 769 | + <button type="button" class="btn_close" | |
| 770 | + onclick="miniPopup(this)">닫기</button> | |
| 771 | + </div> | |
| 772 | + </div> | |
| 773 | + <div class="btn_popup_wrap convers_wrap"> | |
| 774 | + <button type="button" class="btnType btnType7" | |
| 775 | + onclick="miniPopup(this)">특정문구 일괄변환<i | |
| 776 | + class="qmMark"></i></button> | |
| 777 | + <div class="send_miniPop convers"> | |
| 778 | + <div> | |
| 779 | + <div class="convers_top"> | |
| 780 | + <span>특정문구 일괄변환이란?</span> | |
| 781 | + <p>주소록, 엑셀에 입력된 내용을 이용해 수신자마다 다른 내용의 메시지를 발송하는 기능</p> | |
| 782 | + </div> | |
| 783 | + <div class="convers_middle"> | |
| 784 | + <a href="javascript:void(0)" class="changeWord" value="\#{이름}"><c:out value="\#{이름}"/></a> | |
| 785 | + </div> | |
| 786 | + <div class="convers_bottom"> | |
| 787 | + <a href="javascript:void(0)" class="changeWord" value="\#{1}"><c:out value="\#{1}"/></a> | |
| 788 | + <a href="javascript:void(0)" class="changeWord" value="\#{2}"><c:out value="\#{2}"/></a> | |
| 789 | + <a href="javascript:void(0)" class="changeWord" value="\#{3}"><c:out value="\#{3}"/></a> | |
| 790 | + <a href="javascript:void(0)" class="changeWord" value="\#{4}"><c:out value="\#{4}"/></a> | |
| 791 | + </div> | |
| 792 | + </div> | |
| 793 | + <button type="button" class="btn_close" | |
| 794 | + onclick="miniPopup(this)">닫기</button> | |
| 795 | + </div> | |
| 796 | + </div> | |
| 797 | + <div class="btn_popup_wrap spc_wrap"> | |
| 798 | + <button type="button" class="btnType btnType7" | |
| 799 | + onclick="miniPopup(this)">이모티콘</button> | |
| 800 | + <div class="send_miniPop spc_character kakao_emoticon"> | |
| 801 | + <div class="cnt_character"> | |
| 802 | + <div class="box_character"> | |
| 803 | + <a href="javascript:void(0)" class="changeWord" value="(미소)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_001.png" alt="" /></a> | |
| 804 | + <a href="javascript:void(0)" class="changeWord" value="(윙크)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_002.png" alt="" /></a> | |
| 805 | + <a href="javascript:void(0)" class="changeWord" value="(방긋)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_003.png" alt="" /></a> | |
| 806 | + <a href="javascript:void(0)" class="changeWord" value="(반함)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_004.png" alt="" /></a> | |
| 807 | + <a href="javascript:void(0)" class="changeWord" value="(눈물)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_005.png" alt="" /></a> | |
| 808 | + <a href="javascript:void(0)" class="changeWord" value="(절규)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_006.png" alt="" /></a> | |
| 809 | + <a href="javascript:void(0)" class="changeWord" value="(크크)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_007.png" alt="" /></a> | |
| 810 | + <a href="javascript:void(0)" class="changeWord" value="(메롱)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_008.png" alt="" /></a> | |
| 811 | + <a href="javascript:void(0)" class="changeWord" value="(잘자)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_009.png" alt="" /></a> | |
| 812 | + <a href="javascript:void(0)" class="changeWord" value="(잘난척)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_010.png" alt="" /></a> | |
| 813 | + <a href="javascript:void(0)" class="changeWord" value="(헤롱)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_011.png" alt="" /></a> | |
| 814 | + <a href="javascript:void(0)" class="changeWord" value="(놀람)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_012.png" alt="" /></a> | |
| 815 | + <a href="javascript:void(0)" class="changeWord" value="(아픔)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_013.png" alt="" /></a> | |
| 816 | + <a href="javascript:void(0)" class="changeWord" value="(당황)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_014.png" alt="" /></a> | |
| 817 | + <a href="javascript:void(0)" class="changeWord" value="(풍선껌)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_015.png" alt="" /></a> | |
| 818 | + <a href="javascript:void(0)" class="changeWord" value="(버럭)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_016.png" alt="" /></a> | |
| 819 | + <a href="javascript:void(0)" class="changeWord" value="(부끄)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_017.png" alt="" /></a> | |
| 820 | + <a href="javascript:void(0)" class="changeWord" value="(궁금)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_018.png" alt="" /></a> | |
| 821 | + <a href="javascript:void(0)" class="changeWord" value="(흡족)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_019.png" alt="" /></a> | |
| 822 | + <a href="javascript:void(0)" class="changeWord" value="(깜찍)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_020.png" alt="" /></a> | |
| 823 | + <a href="javascript:void(0)" class="changeWord" value="(으으)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_021.png" alt="" /></a> | |
| 824 | + <a href="javascript:void(0)" class="changeWord" value="(민망)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_022.png" alt="" /></a> | |
| 825 | + <a href="javascript:void(0)" class="changeWord" value="(곤란)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_023.png" alt="" /></a> | |
| 826 | + <a href="javascript:void(0)" class="changeWord" value="(잠)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_024.png" alt="" /></a> | |
| 827 | + <a href="javascript:void(0)" class="changeWord" value="(행복)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_025.png" alt="" /></a> | |
| 828 | + <a href="javascript:void(0)" class="changeWord" value="(안도)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_026.png" alt="" /></a> | |
| 829 | + <a href="javascript:void(0)" class="changeWord" value="(우웩)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_027.png" alt="" /></a> | |
| 830 | + <a href="javascript:void(0)" class="changeWord" value="(외계인)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_028.png" alt="" /></a> | |
| 831 | + <a href="javascript:void(0)" class="changeWord" value="(외계인녀)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_029.png" alt="" /></a> | |
| 832 | + <a href="javascript:void(0)" class="changeWord" value="(공포)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_030.png" alt="" /></a> | |
| 833 | + <a href="javascript:void(0)" class="changeWord" value="(근심)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_031.png" alt="" /></a> | |
| 834 | + <a href="javascript:void(0)" class="changeWord" value="(악마)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_032.png" alt="" /></a> | |
| 835 | + <a href="javascript:void(0)" class="changeWord" value="(썩소)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_033.png" alt="" /></a> | |
| 836 | + <a href="javascript:void(0)" class="changeWord" value="(쳇)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_034.png" alt="" /></a> | |
| 837 | + <a href="javascript:void(0)" class="changeWord" value="(야호)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_035.png" alt="" /></a> | |
| 838 | + <a href="javascript:void(0)" class="changeWord" value="(좌절)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_036.png" alt="" /></a> | |
| 839 | + <a href="javascript:void(0)" class="changeWord" value="(삐침)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_037.png" alt="" /></a> | |
| 840 | + <a href="javascript:void(0)" class="changeWord" value="(하트)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_038.png" alt="" /></a> | |
| 841 | + <a href="javascript:void(0)" class="changeWord" value="(실연)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_039.png" alt="" /></a> | |
| 842 | + <a href="javascript:void(0)" class="changeWord" value="(별)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_040.png" alt="" /></a> | |
| 843 | + <a href="javascript:void(0)" class="changeWord" value="(브이)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_041.png" alt="" /></a> | |
| 844 | + <a href="javascript:void(0)" class="changeWord" value="(오케이)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_042.png" alt="" /></a> | |
| 845 | + <a href="javascript:void(0)" class="changeWord" value="(최고)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_043.png" alt="" /></a> | |
| 846 | + <a href="javascript:void(0)" class="changeWord" value="(최악)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_044.png" alt="" /></a> | |
| 847 | + <a href="javascript:void(0)" class="changeWord" value="(그만)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_045.png" alt="" /></a> | |
| 848 | + <a href="javascript:void(0)" class="changeWord" value="(땀)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_046.png" alt="" /></a> | |
| 849 | + <a href="javascript:void(0)" class="changeWord" value="(알약)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_047.png" alt="" /></a> | |
| 850 | + <a href="javascript:void(0)" class="changeWord" value="(밥)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_048.png" alt="" /></a> | |
| 851 | + <a href="javascript:void(0)" class="changeWord" value="(커피)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_049.png" alt="" /></a> | |
| 852 | + <a href="javascript:void(0)" class="changeWord" value="(맥주)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_050.png" alt="" /></a> | |
| 853 | + <a href="javascript:void(0)" class="changeWord" value="(소주)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_051.png" alt="" /></a> | |
| 854 | + <a href="javascript:void(0)" class="changeWord" value="(와인)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_052.png" alt="" /></a> | |
| 855 | + <a href="javascript:void(0)" class="changeWord" value="(치킨)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_053.png" alt="" /></a> | |
| 856 | + <a href="javascript:void(0)" class="changeWord" value="(축하)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_054.png" alt="" /></a> | |
| 857 | + <a href="javascript:void(0)" class="changeWord" value="(음표)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_055.png" alt="" /></a> | |
| 858 | + <a href="javascript:void(0)" class="changeWord" value="(선물)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_056.png" alt="" /></a> | |
| 859 | + <a href="javascript:void(0)" class="changeWord" value="(케이크)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_057.png" alt="" /></a> | |
| 860 | + <a href="javascript:void(0)" class="changeWord" value="(촛불)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_058.png" alt="" /></a> | |
| 861 | + <a href="javascript:void(0)" class="changeWord" value="(컵케이크a)'"><img src="/publish/images/kakao_emoticon/kakao_emoticon_059.png" alt="" /></a> | |
| 862 | + <a href="javascript:void(0)" class="changeWord" value="(컵케이크b)'"><img src="/publish/images/kakao_emoticon/kakao_emoticon_060.png" alt="" /></a> | |
| 863 | + <a href="javascript:void(0)" class="changeWord" value="(해)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_061.png" alt="" /></a> | |
| 864 | + <a href="javascript:void(0)" class="changeWord" value="(구름)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_062.png" alt="" /></a> | |
| 865 | + <a href="javascript:void(0)" class="changeWord" value="(비)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_063.png" alt="" /></a> | |
| 866 | + <a href="javascript:void(0)" class="changeWord" value="(눈)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_064.png" alt="" /></a> | |
| 867 | + <a href="javascript:void(0)" class="changeWord" value="(똥)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_065.png" alt="" /></a> | |
| 868 | + <a href="javascript:void(0)" class="changeWord" value="(근조)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_066.png" alt="" /></a> | |
| 869 | + <a href="javascript:void(0)" class="changeWord" value="(딸기)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_067.png" alt="" /></a> | |
| 870 | + <a href="javascript:void(0)" class="changeWord" value="(호박)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_068.png" alt="" /></a> | |
| 871 | + <a href="javascript:void(0)" class="changeWord" value="(입술)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_069.png" alt="" /></a> | |
| 872 | + <a href="javascript:void(0)" class="changeWord" value="(야옹)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_070.png" alt="" /></a> | |
| 873 | + <a href="javascript:void(0)" class="changeWord" value="(돈)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_071.png" alt="" /></a> | |
| 874 | + <a href="javascript:void(0)" class="changeWord" value="(담배)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_072.png" alt="" /></a> | |
| 875 | + <a href="javascript:void(0)" class="changeWord" value="(축구)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_073.png" alt="" /></a> | |
| 876 | + <a href="javascript:void(0)" class="changeWord" value="(야구)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_074.png" alt="" /></a> | |
| 877 | + <a href="javascript:void(0)" class="changeWord" value="(농구)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_075.png" alt="" /></a> | |
| 878 | + <a href="javascript:void(0)" class="changeWord" value="(당구)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_076.png" alt="" /></a> | |
| 879 | + <a href="javascript:void(0)" class="changeWord" value="(골프)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_077.png" alt="" /></a> | |
| 880 | + <a href="javascript:void(0)" class="changeWord" value="(카톡)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_078.png" alt="" /></a> | |
| 881 | + <a href="javascript:void(0)" class="changeWord" value="(꽃)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_079.png" alt="" /></a> | |
| 882 | + <a href="javascript:void(0)" class="changeWord" value="(총)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_080.png" alt="" /></a> | |
| 883 | + <a href="javascript:void(0)" class="changeWord" value="(크리스마스)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_081.png" alt="" /></a> | |
| 884 | + <a href="javascript:void(0)" class="changeWord" value="(콜)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_082.png" alt="" /></a> | |
| 885 | + <a href="javascript:void(0)" class="changeWord" value="(하트뿅)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1001.png" alt="" /></a> | |
| 886 | + <a href="javascript:void(0)" class="changeWord" value="(하하)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1002.png" alt="" /></a> | |
| 887 | + <a href="javascript:void(0)" class="changeWord" value="(우와)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1003.png" alt="" /></a> | |
| 888 | + <a href="javascript:void(0)" class="changeWord" value="(심각)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1004.png" alt="" /></a> | |
| 889 | + <a href="javascript:void(0)" class="changeWord" value="(힘듦)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1005.png" alt="" /></a> | |
| 890 | + <a href="javascript:void(0)" class="changeWord" value="(흑흑)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1006.png" alt="" /></a> | |
| 891 | + <a href="javascript:void(0)" class="changeWord" value="(아잉)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1007.png" alt="" /></a> | |
| 892 | + <a href="javascript:void(0)" class="changeWord" value="(찡긋)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1008.png" alt="" /></a> | |
| 893 | + <a href="javascript:void(0)" class="changeWord" value="(뿌듯)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1009.png" alt="" /></a> | |
| 894 | + <a href="javascript:void(0)" class="changeWord" value="(깜짝)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1010.png" alt="" /></a> | |
| 895 | + <a href="javascript:void(0)" class="changeWord" value="(빠직)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1011.png" alt="" /></a> | |
| 896 | + <a href="javascript:void(0)" class="changeWord" value="(짜증)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1012.png" alt="" /></a> | |
| 897 | + <a href="javascript:void(0)" class="changeWord" value="(제발)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1013.png" alt="" /></a> | |
| 898 | + <a href="javascript:void(0)" class="changeWord" value="(씨익)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1014.png" alt="" /></a> | |
| 899 | + <a href="javascript:void(0)" class="changeWord" value="(신나)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1015.png" alt="" /></a> | |
| 900 | + <a href="javascript:void(0)" class="changeWord" value="(헉)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1016.png" alt="" /></a> | |
| 901 | + <a href="javascript:void(0)" class="changeWord" value="(열받아)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1017.png" alt="" /></a> | |
| 902 | + <a href="javascript:void(0)" class="changeWord" value="(흥)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1018.png" alt="" /></a> | |
| 903 | + <a href="javascript:void(0)" class="changeWord" value="(감동)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1019.png" alt="" /></a> | |
| 904 | + <a href="javascript:void(0)" class="changeWord" value="(뽀뽀)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1020.png" alt="" /></a> | |
| 905 | + <a href="javascript:void(0)" class="changeWord" value="(멘붕)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1021.png" alt="" /></a> | |
| 906 | + <a href="javascript:void(0)" class="changeWord" value="(정색)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1022.png" alt="" /></a> | |
| 907 | + <a href="javascript:void(0)" class="changeWord" value="(쑥스)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1023.png" alt="" /></a> | |
| 908 | + <a href="javascript:void(0)" class="changeWord" value="(꺄아)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1024.png" alt="" /></a> | |
| 909 | + <a href="javascript:void(0)" class="changeWord" value="(좋아)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1025.png" alt="" /></a> | |
| 910 | + <a href="javascript:void(0)" class="changeWord" value="(굿)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1026.png" alt="" /></a> | |
| 911 | + <a href="javascript:void(0)" class="changeWord" value="(훌쩍)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1027.png" alt="" /></a> | |
| 912 | + <a href="javascript:void(0)" class="changeWord" value="(허걱)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1028.png" alt="" /></a> | |
| 913 | + <a href="javascript:void(0)" class="changeWord" value="(부르르)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1029.png" alt="" /></a> | |
| 914 | + <a href="javascript:void(0)" class="changeWord" value="(푸하하)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1030.png" alt="" /></a> | |
| 915 | + <a href="javascript:void(0)" class="changeWord" value="(발그레)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1031.png" alt="" /></a> | |
| 916 | + <a href="javascript:void(0)" class="changeWord" value="(수줍)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1032.png" alt="" /></a> | |
| 917 | + <a href="javascript:void(0)" class="changeWord" value="(컴온)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1033.png" alt="" /></a> | |
| 918 | + <a href="javascript:void(0)" class="changeWord" value="(졸려)"><img src="/publish/images/kakao_emoticon/kakao_emoticon_1034.png" alt="" /></a> | |
| 919 | + </div> | |
| 920 | + </div> | |
| 921 | + <button type="button" class="btn_close" | |
| 922 | + onclick="miniPopup(this)">닫기</button> | |
| 923 | + </div> | |
| 924 | + </div> | |
| 925 | + <div class="btn_popup_wrap template_call_wrap"> | |
| 926 | + <button type="button" class="btnType btnType8">템플릿 불러오기</button> | |
| 927 | + </div> | |
| 928 | + <div class="send_btnWrap"> | |
| 929 | + <!-- <button type="button" class="btnType btn_text_save">내용 저장하기</button> --> | |
| 930 | + <button type="button" class="btnType btnType9" onclick="javascript:fnContentsReset();">초기화</button> | |
| 931 | + </div> | |
| 932 | + </div> | |
| 933 | + </td> | |
| 934 | + </tr> | |
| 935 | + <tr> | |
| 936 | + <th>버튼</th> | |
| 937 | + <td class="template_button"> | |
| 938 | + <select name="" id="" class="select_gray_type template_button_select"> | |
| 939 | + <option value="button_type_0">버튼타입 선택</option> | |
| 940 | + <option value="button_type_1">배송조회</option> | |
| 941 | + <option value="button_type_2">웹링크</option> | |
| 942 | + <option value="button_type_3">앱링크</option> | |
| 943 | + <option value="button_type_5">메시지전달</option> | |
| 944 | + <%-- <option value="button_type_4">봇키워드</option> | |
| 945 | + <option value="button_type_6">상담톡전환</option> | |
| 946 | + <option value="button_type_7">챗봇전환</option> --%> | |
| 947 | + </select> | |
| 948 | + <button type="button" class="btnType btnType6" onclick="friendTemplateButtonAdd();">추가</button> | |
| 949 | + <div class="button_add_wrap"> | |
| 950 | + </div> | |
| 951 | + </td> | |
| 952 | + </tr> | |
| 953 | + </tbody> | |
| 954 | + </table> | |
| 955 | + </div> | |
| 956 | + <div class="send_right"> | |
| 957 | + <div class="phone"> | |
| 958 | + <div class="phoneIn"> | |
| 959 | + <p class="prev_p"><img src="/publish/images/content/kakao_prev_icon.png" alt=""> | |
| 960 | + <span id="spnYellowid">@채널ID</span> | |
| 961 | + </p> | |
| 962 | + <!-- 텍스트 미리보기 --> | |
| 963 | + <div class="text_preview"> | |
| 964 | + <p class="friend_talk_title"><span class="adFlag">(광고)</span> <span id="spnYellowidAt">채널ID</span></p> | |
| 965 | + <div class="allimtalk_content"> | |
| 966 | + <div class="kakao_image" style="display:none;"> | |
| 967 | + <img src="" id="kakaoImg" alt=""> | |
| 968 | + </div> | |
| 969 | + <p class="template_text">내용 미리보기</p> | |
| 970 | + <div class="btnViewArea"> | |
| 971 | + <button type="button" class="btn_kakao_type" style="display:none;">문자온 바로가기</button> | |
| 972 | + </div> | |
| 973 | + </div> | |
| 974 | + <p class="kakao_block_text">수신거부 : 홈 > 채널차단</p> | |
| 975 | + | |
| 976 | + </div> | |
| 977 | + <!-- //텍스트 미리보기 --> | |
| 978 | + </div> | |
| 979 | + <p class="addText">※ 단말기 설정에 따라 다르게 보일 수 있습니다<p> | |
| 980 | + <div class="phone_bottom"> | |
| 981 | + <div class="send_btn"> | |
| 982 | + <button type="button" class="btnType btnType11" onclick="javascript:updateTemplate();">수정하기</button> | |
| 983 | + <button type="button" class="btnType btnType10"onclick="location.href='/web/mjon/kakao/template/selectKakaoFriendsTemplateList.do';">취소</button> | |
| 984 | + </div> | |
| 985 | + </div> | |
| 986 | + </div> | |
| 987 | + </div> | |
| 988 | + </div> | |
| 989 | + </form> | |
| 990 | + </div> | |
| 991 | + </div> | |
| 992 | +</div> | |
| 993 | +<!--// send top --> |
--- src/main/webapp/WEB-INF/jsp/web/kakao/template/ft/KakaoFriendstalkTemplateList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/kakao/template/ft/KakaoFriendstalkTemplateList.jsp
... | ... | @@ -297,15 +297,15 @@ |
| 297 | 297 |
} |
| 298 | 298 |
|
| 299 | 299 |
//알림톡 상세보기 화면 호출 |
| 300 |
-function fnTemplateDetail(templateCode){
|
|
| 300 |
+function fnTemplateDetail(friendId){
|
|
| 301 | 301 |
|
| 302 | 302 |
var form = document.templateForm; |
| 303 | 303 |
var selectAgentCode = $("select[name='selectAgentCode_select']").val(); // 선택 채널ID
|
| 304 | 304 |
|
| 305 | 305 |
form.senderKey.value = selectAgentCode; |
| 306 |
- form.templateCode.value = templateCode; |
|
| 306 |
+ form.friendId.value = friendId; |
|
| 307 | 307 |
|
| 308 |
- form.action="/web/mjon/kakao/template/requestKakaoApiTemplateDetail.do"; |
|
| 308 |
+ form.action="/web/mjon/kakao/template/selectKakaoFriendsTemplateDataDetail.do"; |
|
| 309 | 309 |
form.submit(); |
| 310 | 310 |
|
| 311 | 311 |
} |
... | ... | @@ -359,7 +359,7 @@ |
| 359 | 359 |
<form id="templateForm" name="templateForm" method="post"> |
| 360 | 360 |
|
| 361 | 361 |
<input type="hidden" id="inputSenderKey" name="senderKey" value=""/> |
| 362 |
- <input type="hidden" id="inputTemplateCode" name="templateCode" value=""/> |
|
| 362 |
+ <input type="hidden" id="inputFriendId" name="friendId" value=""/> |
|
| 363 | 363 |
<input type="hidden" id="arrTemplateCode" name="arrTemplateCode" value=""/> |
| 364 | 364 |
|
| 365 | 365 |
</form> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?