diff --git a/route/static/app/index.js b/route/static/app/index.js index e89dd8b18..136db84fd 100755 --- a/route/static/app/index.js +++ b/route/static/app/index.js @@ -561,7 +561,7 @@ function updateVersion(version) { }); } -function pluginService(pname,pfunc, callback){ +function pluginIndexService(pname,pfunc, callback){ $.post('/plugins/run', {name:'openresty', func:pfunc}, function(data) { if (!data.status){ layer.msg(data.msg,{icon:0,time:2000,shade: [0.3, '#000']}); @@ -631,10 +631,10 @@ function reBoot() { var body = '
'; $(".bt-window-restart").html(body); $(".SafeRestartCode").append("正在停止Web服务
"); - pluginService('openresty', 'stop', function (r1) { + pluginIndexService('openresty', 'stop', function (r1) { $(".SafeRestartCode p").addClass('c9'); $(".SafeRestartCode").append("正在停止MySQL服务...
"); - pluginService('mysql','stop', function (r2) { + pluginIndexService('mysql','stop', function (r2) { $(".SafeRestartCode p").addClass('c9'); $(".SafeRestartCode").append("开始重启服务器...
"); $.post('/system/restart_server', '',function (rdata) {