匹配新的rediskey前缀

This commit is contained in:
2026-08-14 16:54:32 +08:00
parent 1fe185109b
commit 936dec7beb
6 changed files with 21 additions and 23 deletions
@@ -33,11 +33,12 @@ public interface LogBusService {
String total();
/**
* 获取指定日期的日志统计数据(按级别,从Redis读取)
* 获取指定日期的日志统计数据
*
* @param time 时间
* @return 日志级别编码 -> 数量
* @param time 时间
* @param deleteKey 删除缓存
* @return 统计数据
*/
Map<Integer, Long> getTotalByDay(Instant time);
Map<Integer, Long> getTotalByDay(Instant time, boolean deleteKey);
}