|
@@ -71,7 +71,7 @@ public class StatisticController {
|
|
|
cacheService.clearTop(monthValue);
|
|
cacheService.clearTop(monthValue);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @PreAuthorize("ADMIN")
|
|
|
|
|
|
|
+ @PreAuthorize("hasRole('ADMIN')")
|
|
|
@GetMapping("/clearWeekTop")
|
|
@GetMapping("/clearWeekTop")
|
|
|
public void clearWeekTop(){
|
|
public void clearWeekTop(){
|
|
|
cacheService.clearWeekTop();
|
|
cacheService.clearWeekTop();
|