1、修改流量统计趋势图接口,调整返回数据格式,以适应时间轴自动格式化的需求;
2、趋势图时间粒度提取到nis.properties中,默认5分钟
This commit is contained in:
@@ -878,11 +878,11 @@ public class DashboardServiceController extends BaseRestController {
|
||||
long start = System.currentTimeMillis();
|
||||
AuditLogThread auditLogThread = super.saveRequestLog(servicesRequestLogService, Constants.OPACTION_GET, request,
|
||||
null);
|
||||
List<HashMap> list = new ArrayList<HashMap>();
|
||||
List list = new ArrayList();
|
||||
try {
|
||||
|
||||
// 带查询时间查询所有
|
||||
List<HashMap> websiteChart = dashboardService.getDomainTrans2(beginDate, endDate,domain,entranceId);
|
||||
List websiteChart = dashboardService.getDomainTrans2(beginDate, endDate,domain,entranceId);
|
||||
if (websiteChart != null && websiteChart.size() > 0) {
|
||||
list = websiteChart;
|
||||
}
|
||||
@@ -959,7 +959,7 @@ public class DashboardServiceController extends BaseRestController {
|
||||
AuditLogThread saveLogThread = super.saveRequestLog(servicesRequestLogService, Constants.OPACTION_GET, request,
|
||||
null);
|
||||
|
||||
Map<String, List> restMap = new HashMap<String, List>();
|
||||
Map restMap = new HashMap();
|
||||
try {
|
||||
// 验证serachBusinessType
|
||||
if (!StringUtil.isBlank(ntcConnNumReport.getSearchBusinessType())
|
||||
|
||||
Reference in New Issue
Block a user