pull/109/head
Mr Chen 6 years ago
parent 7f485ba841
commit b2cbaf7346
  1. 2
      plugins/pm2/js/pm2.js
  2. 2
      plugins/simdht/index.py
  3. 2
      route/static/app/public.js

@ -64,7 +64,7 @@ function pm2List() {
pm2Post('list','', function(data){
var rdata = $.parseJSON(data.data);
console.log(rdata);
// console.log(rdata);
if (!rdata['status']){
layer.msg(rdata['msg'],{icon:2,time:2000,shade: [0.3, '#000']});
return;

@ -133,7 +133,7 @@ def stop():
data = public.execShell(file + ' stop')
if data[1] == '':
return 'ok'
return 'fail'
return data[1]
def restart():

@ -1524,7 +1524,6 @@ function pluginOpService(a, b, v) {
}
var d = "";
switch(b) {
case "stop":d = '停止';break;
case "start":d = '启动';break;
@ -1555,7 +1554,6 @@ function pluginOpService(a, b, v) {
setTimeout(function(){
location.reload();
},2000);
},'json').error(function() {
layer.close(e);
layer.msg('操作异常!', {icon: 1});

Loading…
Cancel
Save