mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
添加了一个新的redis:key
--RedisKeys.java 获取设备最近最久时间的key
This commit is contained in:
parent
09c17b2dc5
commit
b4944f23ef
1 changed files with 7 additions and 0 deletions
|
|
@ -62,6 +62,13 @@ public class RedisKeys {
|
||||||
return "agent:device:count:" + id;
|
return "agent:device:count:" + id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取智能体最后连接时间缓存key
|
||||||
|
*/
|
||||||
|
public static String getAgentDeviceLastConnectedAtById(String id) {
|
||||||
|
return "agent:device:lastConnected:" + id;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取系统配置缓存key
|
* 获取系统配置缓存key
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue