문자전송 jsp에서 시간초 재는 구문 추가
This commit is contained in:
parent
1750558c17
commit
4c65a729bc
@ -1265,7 +1265,9 @@ function sendMsgAjax_advc(){
|
|||||||
|
|
||||||
|
|
||||||
var url = "/web/mjon/msgdata/sendMsgDataAjax_advc.do";
|
var url = "/web/mjon/msgdata/sendMsgDataAjax_advc.do";
|
||||||
|
// 시작 시간
|
||||||
|
const startTime = new Date();
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: url,
|
url: url,
|
||||||
@ -1273,6 +1275,12 @@ function sendMsgAjax_advc(){
|
|||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
|
|
||||||
|
// 종료 시간
|
||||||
|
const endTime = new Date();
|
||||||
|
const elapsed = (endTime - startTime) / 1000; // 밀리초 -> 초로 변환
|
||||||
|
console.log(`경과 시간: ${elapsed}초`);
|
||||||
|
|
||||||
console.log('data : ', data);
|
console.log('data : ', data);
|
||||||
/* message:"특정문구 일괄변환 치환문자 데이터가 없습니다."
|
/* message:"특정문구 일괄변환 치환문자 데이터가 없습니다."
|
||||||
status:"BAD_REQUEST" */
|
status:"BAD_REQUEST" */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user