From c5839e1f3800abf95279842d997429bc012edd14 Mon Sep 17 00:00:00 2001 From: dell Date: Fri, 14 Dec 2018 11:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=EF=BC=8C=E5=90=8E=E7=BB=A7=E6=A0=B9=E6=8D=AE=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E6=83=85=E5=86=B5=E7=9C=8B=E6=98=AF=E5=90=A6=E6=9C=89?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E5=AF=B9=E6=8E=A5=E5=8F=A3=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E7=81=B5=E6=B4=BB=E6=80=A7=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/restful/SystemHomePageController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/nis/web/controller/restful/SystemHomePageController.java b/src/main/java/com/nis/web/controller/restful/SystemHomePageController.java index 7b68d54..4551732 100644 --- a/src/main/java/com/nis/web/controller/restful/SystemHomePageController.java +++ b/src/main/java/com/nis/web/controller/restful/SystemHomePageController.java @@ -77,8 +77,8 @@ public class SystemHomePageController extends BaseRestController { trafficAreaStatPage, 0); } - @RequestMapping(value = "/log/v1/cfgSortLogStat", method = RequestMethod.GET) - @ApiOperation(value = "配置日志TOP5统计获取", httpMethod = "GET", notes = "对配置日志TOP5统计信息进行查询", response = Map.class) + @RequestMapping(value = "/log/v1/logServiceTopn", method = RequestMethod.GET) + @ApiOperation(value = "日志TOP5业务统计量获取", httpMethod = "GET", notes = "对日志TOP5业务统计量信息进行查询", response = Map.class) public Map cfgSortLogStat(String searchReportStartTime, String searchReportEndTime, HttpServletRequest request, HttpServletResponse response) { long start = System.currentTimeMillis(); @@ -110,14 +110,14 @@ public class SystemHomePageController extends BaseRestController { @RequestMapping(value = "/log/v1/blockAndDropStat", method = RequestMethod.GET) @ApiOperation(value = "丢弃量获取", httpMethod = "GET", notes = "对阻断和丢弃量进行查询", response = Map.class) public Map blockAndDropStat(String searchReportStartTime, String searchReportEndTime, - @RequestParam(required = true) int searchBusinessType, HttpServletRequest request, + int searchBusinessType, HttpServletRequest request, HttpServletResponse response) { long start = System.currentTimeMillis(); AuditLogThread saveLogThread = super.saveRequestLog(servicesRequestLogService, Constants.OPACTION_GET, request, null); Page dropInfo = null; - + if(searchBusinessType == 0)searchBusinessType = 1; try { dropInfo = systemHomePageService.getBlockAndDropStat(searchReportStartTime, searchReportEndTime, searchBusinessType, request, response);