From fbced0c4dd4950a184f8471ef71995aa93dafd50 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Sat, 27 Dec 2025 10:17:44 +0800
Subject: [PATCH] 优化
---
ard-common/src/main/java/com/ard/common/constant/CacheConstants.java | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/ard-common/src/main/java/com/ard/common/constant/CacheConstants.java b/ard-common/src/main/java/com/ard/common/constant/CacheConstants.java
index 7fe59b7..5dd4433 100644
--- a/ard-common/src/main/java/com/ard/common/constant/CacheConstants.java
+++ b/ard-common/src/main/java/com/ard/common/constant/CacheConstants.java
@@ -3,7 +3,7 @@
/**
* 缓存的key 常量
*
- * @author ruoyi
+ * @author ard
*/
public class CacheConstants
{
@@ -11,6 +11,11 @@
* 登录用户 redis key
*/
public static final String LOGIN_TOKEN_KEY = "login_tokens:";
+
+ /**
+ * 登录用户编号 redis key
+ */
+ public static final String LOGIN_USERID_KEY = "login_userid:";
/**
* 验证码 redis key
@@ -51,4 +56,14 @@
* 所有相机 redis key
*/
public static final String CAMERA_LIST_KEY = "camera_list:";
+
+ /**
+ * 在线无人机 redis key
+ */
+ public static final String UAV_ONLINE_KEY = "uav_online:";
+
+ /**
+ * 用户列表 redis key
+ */
+ public static final String SYS_USER_KEY = "sys_user:";
}
--
Gitblit v1.9.3