|
@ -876,10 +876,10 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String endDate,
|
|
|
@RequestParam(required = true) String area,
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index) {
|
|
|
@RequestParam(required = false) String index) {
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result= statisticsEsService.appIndexHead(startDate, endDate, area, level, index);
|
|
|
result= statisticsEsService.appIndexCenter(startDate, endDate, area, level, index);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|