From 46d38ff8c0f5bace9618c32b6e9bda822e84e585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 14 Mar 2022 12:04:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=B8=AD=E7=9A=84=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/views/@default/clusters/cluster/boards/index.js | 4 ++-- web/views/@default/clusters/cluster/node/boards/index.js | 4 ++-- web/views/@default/servers/server/boards/index.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/views/@default/clusters/cluster/boards/index.js b/web/views/@default/clusters/cluster/boards/index.js index 6d89bff2..b4365d4a 100644 --- a/web/views/@default/clusters/cluster/boards/index.js +++ b/web/views/@default/clusters/cluster/boards/index.js @@ -193,7 +193,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + " " + stats[index].hour + "时
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + " " + stats[index].hour + "时
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) } @@ -208,7 +208,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + "
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + "
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) } diff --git a/web/views/@default/clusters/cluster/node/boards/index.js b/web/views/@default/clusters/cluster/node/boards/index.js index b279d6c2..b7198b6a 100644 --- a/web/views/@default/clusters/cluster/node/boards/index.js +++ b/web/views/@default/clusters/cluster/node/boards/index.js @@ -252,7 +252,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + " " + stats[index].hour + "时
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + " " + stats[index].hour + "时
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) } @@ -267,7 +267,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + "
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + "
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) } diff --git a/web/views/@default/servers/server/boards/index.js b/web/views/@default/servers/server/boards/index.js index 6b504ee5..7c2e463f 100644 --- a/web/views/@default/servers/server/boards/index.js +++ b/web/views/@default/servers/server/boards/index.js @@ -203,7 +203,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + " " + stats[index].hour + "时
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + " " + stats[index].hour + "时
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) } @@ -218,7 +218,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].countAttackRequests * 10000 / stats[index].countRequests) / 100 } - return stats[index].day + "
总请求数:" + stats[index].countRequests + "
缓存请求数:" + stats[index].countCachedRequests + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + stats[index].countAttackRequests + "
拦截比例:" + attackRatio + "%" + return stats[index].day + "
总请求数:" + teaweb.formatNumber(stats[index].countRequests) + "
缓存请求数:" + teaweb.formatNumber(stats[index].countCachedRequests) + "
缓存命中率:" + cachedRatio + "%
拦截攻击数:" + teaweb.formatNumber(stats[index].countAttackRequests) + "
拦截比例:" + attackRatio + "%" }) }