From 06ee603e38ded9476420d8229e0976ede4254d6a Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Thu, 10 Feb 2022 22:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=907.1.6=E3=80=91=E3=80=90statistics?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/modular/statistic/aop/InterfaceStatisticsAop.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel-s-system/system-business-home/src/main/java/cn/stylefeng/roses/kernel/system/modular/statistic/aop/InterfaceStatisticsAop.java b/kernel-s-system/system-business-home/src/main/java/cn/stylefeng/roses/kernel/system/modular/statistic/aop/InterfaceStatisticsAop.java index 03362b023..2747bfd58 100644 --- a/kernel-s-system/system-business-home/src/main/java/cn/stylefeng/roses/kernel/system/modular/statistic/aop/InterfaceStatisticsAop.java +++ b/kernel-s-system/system-business-home/src/main/java/cn/stylefeng/roses/kernel/system/modular/statistic/aop/InterfaceStatisticsAop.java @@ -61,7 +61,7 @@ public class InterfaceStatisticsAop implements Ordered { // 执行统计业务,只统计指定的几个接口 try { - saveRequestCount(joinPoint); + saveRequestCount(); } catch (Exception e) { // 统计业务出现异常打印日志 log.error("接口统计出现异常!", e); @@ -76,7 +76,7 @@ public class InterfaceStatisticsAop implements Ordered { * @author fengshuonan * @date 2022/2/10 21:25 */ - private void saveRequestCount(ProceedingJoinPoint joinPoint) { + private void saveRequestCount() { // 获取请求的地址 HttpServletRequest request = HttpServletUtil.getRequest();