添加了一个新的redis:key

--RedisKeys.java 获取设备最近最久时间的key
This commit is contained in:
剑雨
2025-04-30 11:08:59 +08:00
parent 09c17b2dc5
commit b4944f23ef
@@ -62,6 +62,13 @@ public class RedisKeys {
return "agent:device:count:" + id;
}
/**
* 获取智能体最后连接时间缓存key
*/
public static String getAgentDeviceLastConnectedAtById(String id) {
return "agent:device:lastConnected:" + id;
}
/**
* 获取系统配置缓存key
*/