From 7319513775184ef14ce399da4da9c70a2d042ba0 Mon Sep 17 00:00:00 2001 From: wangxin Date: Tue, 10 Jul 2018 17:26:43 +0800 Subject: [PATCH] =?UTF-8?q?NtcPzReport=E7=A7=BB=E5=8A=A8=E5=88=B0report?= =?UTF-8?q?=E5=8C=85=E4=B8=8B=EF=BC=8C=E8=B7=AF=E5=BE=84=E6=94=B9=E4=B8=BA?= =?UTF-8?q?report?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{log/ntc => report}/NtcPzReportController.java | 5 +++-- src/main/webapp/static/global/scripts/common.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/main/java/com/nis/web/controller/{log/ntc => report}/NtcPzReportController.java (94%) diff --git a/src/main/java/com/nis/web/controller/log/ntc/NtcPzReportController.java b/src/main/java/com/nis/web/controller/report/NtcPzReportController.java similarity index 94% rename from src/main/java/com/nis/web/controller/log/ntc/NtcPzReportController.java rename to src/main/java/com/nis/web/controller/report/NtcPzReportController.java index 95c907cb3..4ef885ab1 100644 --- a/src/main/java/com/nis/web/controller/log/ntc/NtcPzReportController.java +++ b/src/main/java/com/nis/web/controller/report/NtcPzReportController.java @@ -6,7 +6,7 @@ *@date 2018年6月12日 下午2:09:41 *@version 版本号 */ -package com.nis.web.controller.log.ntc; +package com.nis.web.controller.report; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -37,7 +37,7 @@ import com.nis.web.controller.BaseController; * @version V1.0 */ @Controller -@RequestMapping("${adminPath}/logs") +@RequestMapping("${adminPath}/report") public class NtcPzReportController extends BaseController{ @RequestMapping(value="ajaxGetLogTotal",method=RequestMethod.POST) @ResponseBody @@ -69,4 +69,5 @@ public class NtcPzReportController extends BaseController{ // } return data; } + } diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 0ec31e514..a0f73a832 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -767,7 +767,7 @@ var GetLogTotal=function(data){ var request=$.ajax({ type:'post', timeout:1000,//超时时间设置,查询接口时间过长超时 - url:pathName+'/logs/ajaxGetLogTotal', + url:pathName+'/report/ajaxGetLogTotal', data:{"endTime":timeStamp,"action":data.action,"functionId":data.functionId,"compileId":data.compileId}, dataType:'json', async:true,