Showing
1 changed file
with
3 additions
and
3 deletions
@@ -313,7 +313,7 @@ function refCloudMessage(showMessage, serverCount){ | @@ -313,7 +313,7 @@ function refCloudMessage(showMessage, serverCount){ | ||
313 | alert('系统异常'); | 313 | alert('系统异常'); |
314 | } | 314 | } |
315 | }); | 315 | }); |
316 | - }, 5000); | 316 | + }, 10000); |
317 | } | 317 | } |
318 | 318 | ||
319 | //写入消息 | 319 | //写入消息 |
@@ -414,7 +414,7 @@ function deployProject(ips){ | @@ -414,7 +414,7 @@ function deployProject(ips){ | ||
414 | alert(data.message); | 414 | alert(data.message); |
415 | }else{ | 415 | }else{ |
416 | //同步获取消息 | 416 | //同步获取消息 |
417 | - deployProjectGetMsg(data.data.setMessageids.split(',')[0]); | 417 | + deployProjectGetMsg(data.data.messageids.split(',')[0]); |
418 | } | 418 | } |
419 | }, | 419 | }, |
420 | error: function (data) { | 420 | error: function (data) { |
@@ -428,7 +428,7 @@ function deployProject(ips){ | @@ -428,7 +428,7 @@ function deployProject(ips){ | ||
428 | function deployProjectGetMsg(msgId){ | 428 | function deployProjectGetMsg(msgId){ |
429 | var intervalIndexMsg = setInterval(function() { | 429 | var intervalIndexMsg = setInterval(function() { |
430 | $.ajax({ | 430 | $.ajax({ |
431 | - url: 'project/getbuildmsg?messageid=' + msgId+"&project="+scalingGroupName, | 431 | + url: contextPath + 'project/getbuildmsg?messageid=' + msgId+"&project="+scalingGroupName, |
432 | type: 'POST', | 432 | type: 'POST', |
433 | dataType: 'json', | 433 | dataType: 'json', |
434 | success: function (data3) { | 434 | success: function (data3) { |
-
Please register or login to post a comment