Commit 25004aa3 authored by 喻春霖's avatar 喻春霖

完善认证热热点学校

parent 8fdc3d1e
...@@ -310,6 +310,9 @@ public class LogStatisticsController { ...@@ -310,6 +310,9 @@ public class LogStatisticsController {
} }
result.sort(Comparator.comparing(StatItem::getCount).reversed()); result.sort(Comparator.comparing(StatItem::getCount).reversed());
if (result.size()>10){
result=result.subList(0,10);
}
return MapMessage.successMessage().add("data", result); return MapMessage.successMessage().add("data", result);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment