This commit is contained in:
midoks
2023-09-26 20:32:00 +08:00
parent caf3924b09
commit ead8de6e0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ from flask import request
class config_api:
__version = '0.16.1.2'
__version = '0.16.1.3'
__api_addr = 'data/api.json'
def __init__(self):
+1 -1
View File
@@ -361,7 +361,7 @@ function delAcceptPort(id, port,protocol) {
layer.confirm(lan.get('confirm_del',[port]), {title: '删除防火墙规则',closeBtn:2}, function(index) {
var loadT = layer.msg('正在删除,请稍候...',{icon:16,time:0,shade: [0.3, '#000']})
$.post("/firewall/"+action, "id=" + id + "&port=" + port+'&protocol'+protocol, function(ret) {
$.post("/firewall/"+action, "id=" + id + "&port=" + port+'&protocol='+protocol, function(ret) {
layer.close(loadT);
layer.msg(ret.msg,{icon:ret.status?1:2})
showAccept(1);