From 2177e9dbf988188297b416dc78b0a4a587b0fdd7 Mon Sep 17 00:00:00 2001 From: wangyimeng <421132955@qq.com> Date: 星期六, 04 三月 2023 20:55:48 +0800 Subject: [PATCH] 修复查询历史录像无记录时报错问题 --- src/main/java/com/genersoft/iot/vmp/service/bean/PlayBackResult.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/PlayBackResult.java b/src/main/java/com/genersoft/iot/vmp/service/bean/PlayBackResult.java index af86196..0a332ef 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/bean/PlayBackResult.java +++ b/src/main/java/com/genersoft/iot/vmp/service/bean/PlayBackResult.java @@ -1,6 +1,6 @@ package com.genersoft.iot.vmp.service.bean; -import com.alibaba.fastjson.JSONObject; +import com.alibaba.fastjson2.JSONObject; import com.genersoft.iot.vmp.gb28181.event.SipSubscribe; import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; @@ -12,6 +12,8 @@ */ public class PlayBackResult<T> { private int code; + + private String msg; private T data; private MediaServerItem mediaServerItem; private JSONObject response; @@ -56,4 +58,12 @@ public void setEvent(SipSubscribe.EventResult<EventObject> event) { this.event = event; } + + public String getMsg() { + return msg; + } + + public void setMsg(String msg) { + this.msg = msg; + } } -- Gitblit v1.8.0