From 89c622406283bc2b8f214280bb797a881e0c26a5 Mon Sep 17 00:00:00 2001 From: Lawrence <1934378145@qq.com> Date: 星期二, 09 六月 2020 15:39:51 +0800 Subject: [PATCH] 实现PTZ控制代码 --- src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java b/src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java index 5950d17..fb22948 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java @@ -46,7 +46,7 @@ Date date; try { date = format.parse(formatTime); - Long timestamp=date.getTime(); + Long timestamp=date.getTime()/1000; //杞崲涓篋ate绫� return timestamp; } catch (ParseException e) { -- Gitblit v1.8.0