|
|
@@ -103,4 +103,11 @@ public class StatisticController {
|
|
|
public void clearUser() {
|
|
|
cacheService.clearUser();
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/fixedTop")
|
|
|
+ @Cacheable("fixedTop")
|
|
|
+ public String fixedTop() {
|
|
|
+ LocalDateTime start = LocalDateTime.of(2022, 5, 30, 20, 0, 0);
|
|
|
+ return statisticService.top(start, LocalDateTime.now(), 50);
|
|
|
+ }
|
|
|
}
|