From 3c8d6b8e60f02b9a40fc5acd4dc6c34a6b594eb6 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Mon, 19 Jan 2026 11:23:32 +0800
Subject: [PATCH] 增加用户优先级和所属平台 调整无人机控制逻辑增加优先级判断
---
ard-common/src/main/java/com/ard/common/constant/CacheConstants.java | 22 +++++++++++++++++++++-
1 files changed, 21 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 0f47b95..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
@@ -46,4 +51,19 @@
* 授权使用机器码 redis key
*/
public static final String AUTH_CONFIG_KEY = "auth_config:";
+
+ /**
+ * 所有相机 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