|
|
@@ -104,9 +104,9 @@ public class PublicApiController {
|
|
|
@RequestMapping(value = "/sum/all/time", method = RequestMethod.GET)
|
|
|
public HashMap<String, Object> sumRecentPublishWithTime(Long time) throws Exception {
|
|
|
long start = System.currentTimeMillis();
|
|
|
- log.info("/api/sum/publish/time get 参数:time{}", new Date(time));
|
|
|
+ log.info("/api/sum/all/time get 参数:time{}", new Date(time));
|
|
|
HashMap<String, Object> map = publicInquiryService.sumRecentPublishWithTime(time);
|
|
|
- log.info("/api/sum/publish/time get 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/api/sum/all/time get 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
@@ -119,9 +119,9 @@ public class PublicApiController {
|
|
|
@RequestMapping(value = "/sum/all/scope", method = RequestMethod.GET)
|
|
|
public ModelMap sumPublishWithTimeScope(Long starttime, Long endtime) throws Exception {
|
|
|
long start = System.currentTimeMillis();
|
|
|
- log.info("/api/sum/publish/scope get 参数:starttime{}, endtime:{}", new Date(starttime), new Date(endtime));
|
|
|
+ log.info("/api/sum/all/scope get 参数:starttime{}, endtime:{}", new Date(starttime), new Date(endtime));
|
|
|
ModelMap map = publicInquiryService.sumPublishWithTimeScope(starttime, endtime);
|
|
|
- log.info("/api/sum/publish/scope get 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/api/sum/all/scope get 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
}
|