mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
r
This commit is contained in:
@@ -15,7 +15,7 @@ from flask import request
|
||||
|
||||
class config_api:
|
||||
|
||||
__version = '0.0.4'
|
||||
__version = '0.0.5'
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@@ -195,9 +195,10 @@ function setMstscStatus(){
|
||||
if(index > 0){
|
||||
layer.msg('正在处理,请稍候...',{icon:16,time:20000});
|
||||
$.post('/firewall/set_ssh_status','status='+status,function(rdata){
|
||||
console.log(rdata);
|
||||
layer.closeAll();
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2});
|
||||
refresh();
|
||||
setTimeout(function(){window.location.reload();},3000);
|
||||
},'json');
|
||||
}
|
||||
},function(){
|
||||
|
||||
Reference in New Issue
Block a user