diff --git a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp index eb1dfb1d..3498ad8c 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp @@ -1265,7 +1265,9 @@ function sendMsgAjax_advc(){ var url = "/web/mjon/msgdata/sendMsgDataAjax_advc.do"; - + // 시작 시간 + const startTime = new Date(); + $.ajax({ type: "POST", url: url, @@ -1273,6 +1275,12 @@ function sendMsgAjax_advc(){ contentType: 'application/json', dataType: 'json', success: function (data) { + + // 종료 시간 + const endTime = new Date(); + const elapsed = (endTime - startTime) / 1000; // 밀리초 -> 초로 변환 + console.log(`경과 시간: ${elapsed}초`); + console.log('data : ', data); /* message:"특정문구 일괄변환 치환문자 데이터가 없습니다." status:"BAD_REQUEST" */