From 5d2e6ca50091f405dfda9e287b367dd295dc6cf8 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Mon, 09 Feb 2026 17:39:17 +0800
Subject: [PATCH] 1. 航线任务增加校验,只有下发人和登陆人是一个人才可以删除修改操作。 2. 增加校验航线任务是否可以创建航线接口。
---
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