From 877b2519157cea762b1e63e9c57c09614216d684 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期四, 24 七月 2025 19:27:46 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/utils/DeviceMsgUtils.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/core/utils/DeviceMsgUtils.java b/src/main/java/com/zy/core/utils/DeviceMsgUtils.java index c6c26fc..7a4f8b3 100644 --- a/src/main/java/com/zy/core/utils/DeviceMsgUtils.java +++ b/src/main/java/com/zy/core/utils/DeviceMsgUtils.java @@ -84,6 +84,7 @@ public String sendDeviceCommand(SlaveType deviceType, Integer deviceId, DeviceCommandMsgModel command) { String key = parseDeviceCommandMsgKey(deviceType, deviceId) + System.currentTimeMillis(); + command.setResultKey(key); redisUtil.set(key, command, 60 * 60 * 24); return key; } -- Gitblit v1.9.1