From 3a92dc7ef668997c9b8cecb6ee23618db8bfae13 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Tue, 28 Oct 2025 16:24:07 +0800
Subject: [PATCH] 2025-10-28 zwy 更新,机场状态返回的3个JSON文档添加type值,区分三个文档,方便前端取值。
---
ard-common/src/main/java/com/ard/common/constant/CacheConstants.java | 12 +++++++++++-
1 files changed, 11 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..227b406 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
{
@@ -46,4 +46,14 @@
* 授权使用机器码 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:";
}
--
Gitblit v1.9.3