This commit is contained in:
midoks 2022-10-17 23:48:20 +08:00
parent 58232e10ab
commit 757284cdf1
3 changed files with 4 additions and 6 deletions

View File

@ -247,7 +247,7 @@ wsPost('get_global_conf', '' ,{}, function(rdata){
$('#setAll').click(function(){
var args = "name=webstats&func=reload";
layer.confirm('您真的要同步所有站点吗?', {icon:3,closeBtn: 2}, function() {
layer.confirm('您真的要同步所有站点吗?', {icon:3,closeBtn: 1}, function() {
var e = layer.msg('正在同步,请稍候...', {icon: 16,time: 0});
$.post("/plugins/run", args, function(g) {
layer.close(e);

View File

@ -2032,7 +2032,7 @@ function wsTableErrorLogRequest(page){
type: 1,
title: "【"+res.domain + "】详情信息",
area: '600px',
closeBtn: 2,
closeBtn: 1,
shadeClose: false,
content: '<div class="pd15 lib-box">\
<div style="height:80px;"><table class="table" style="border:#ddd 1px solid; margin-bottom:10px">\
@ -2241,7 +2241,7 @@ function wsTableLogRequest(page){
type: 1,
title: "【"+res.domain + "】详情信息",
area: '600px',
closeBtn: 2,
closeBtn: 1,
shadeClose: false,
content: '<div class="pd15 lib-box">\
<div style="height:80px;"><table class="table" style="border:#ddd 1px solid; margin-bottom:10px">\

View File

@ -66,8 +66,6 @@ log_by_lua_block {
local method = ngx.req.get_method()
local excluded = false
local today = ngx.re.gsub(ngx.today(),'-','')
local day = os.date("%d")
local number_day = tonumber(day)
local day_column = "day"..number_day
@ -230,7 +228,7 @@ log_by_lua_block {
local protocol = ngx.var.server_protocol
local request_uri = ngx.var.request_uri
local time_key = C:get_store_key()
local method = ngx.req.get_method()
local method = method
local body_length = C:get_length()
local domain = C:get_domain()
local referer = ngx.var.http_referer