From 1d29f86ff86f6d646e8e2082cc4c705e6a811a28 Mon Sep 17 00:00:00 2001 From: wulin Date: Wed, 15 Nov 2023 14:34:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B5=8B=E8=AF=95=E6=8F=90?= =?UTF-8?q?=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/box/websocket/api/command/AlarmClockActionCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/command/AlarmClockActionCommand.java b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/command/AlarmClockActionCommand.java index 01eaab1..a32e782 100644 --- a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/command/AlarmClockActionCommand.java +++ b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/command/AlarmClockActionCommand.java @@ -83,7 +83,7 @@ public class AlarmClockActionCommand extends ActionCommand implements IActionCom request = new DeviceAlarmClockRecordRequest(); Date date = Date.from(actionTime.getDetailTime().getLocalDateTime().atZone(ZoneId.systemDefault()).toInstant()); request.setTimes( - date.getTime() + date.getTime() / 1000 ); //request.setTime(Date.from(actionTime.getDetailTime().getLocalDateTime().atZone(ZoneId.systemDefault()).toInstant())); request.setUserId(baseSession.getUserId());