From 1655e5903baa643e91603307e24653998e01b754 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Wed, 9 Jul 2025 16:44:54 +0800 Subject: [PATCH] =?UTF-8?q?[1078]=20=E5=AE=8C=E5=96=84=E5=BD=95=E5=83=8F?= =?UTF-8?q?=E5=9B=9E=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../abl/bean/hook/OnPlayABLHookParam.java | 36 ++++++++----------- web/src/views/jtDevice/channel/record.vue | 5 +-- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/abl/bean/hook/OnPlayABLHookParam.java b/src/main/java/com/genersoft/iot/vmp/media/abl/bean/hook/OnPlayABLHookParam.java index af18210e6..77c180d36 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/abl/bean/hook/OnPlayABLHookParam.java +++ b/src/main/java/com/genersoft/iot/vmp/media/abl/bean/hook/OnPlayABLHookParam.java @@ -1,31 +1,23 @@ package com.genersoft.iot.vmp.media.abl.bean.hook; + +import lombok.Data; +import lombok.EqualsAndHashCode; + +@EqualsAndHashCode(callSuper = true) +@Data public class OnPlayABLHookParam extends ABLHookParam{ + private String ip; private Integer port; private String params; - public String getIp() { - return ip; - } - - public void setIp(String ip) { - this.ip = ip; - } - - public Integer getPort() { - return port; - } - - public void setPort(Integer port) { - this.port = port; - } - - public String getParams() { - return params; - } - - public void setParams(String params) { - this.params = params; + @Override + public String toString() { + return "OnPlayABLHookParam{" + + "ip='" + ip + '\'' + + ", port=" + port + + ", params='" + params + '\'' + + '}'; } } diff --git a/web/src/views/jtDevice/channel/record.vue b/web/src/views/jtDevice/channel/record.vue index 162c904d3..98cc690b5 100755 --- a/web/src/views/jtDevice/channel/record.vue +++ b/web/src/views/jtDevice/channel/record.vue @@ -414,6 +414,7 @@ export default { chooseFile(index) { this.chooseFileIndex = index const chooseFile = this.detailFiles[this.chooseFileIndex] + console.log(chooseFile) this.playTime = new Date(chooseFile.startTime).getTime() this.playRecord(chooseFile.startTime, this.endTime) }, @@ -428,8 +429,8 @@ export default { this.$store.dispatch('jtDevice/startPlayback', { phoneNumber: this.phoneNumber, channelId: this.channelId, - startTime: this.startTime, - endTime: this.endTime, + startTime: startTime, + endTime: endTime, type: 0, rate: 0, playbackType: 0,