From 7732a1d180f04ea8e3cd569a73a9288bca5626e9 Mon Sep 17 00:00:00 2001 From: wendy512 <wendy512@yeah.net> Date: 星期四, 18 七月 2024 13:40:47 +0800 Subject: [PATCH] 解决国标视频回放判断streamMode时空指针异常问题 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformGbStream.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformGbStream.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformGbStream.java old mode 100644 new mode 100755 index 9883a8f..f7402b6 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformGbStream.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformGbStream.java @@ -1,15 +1,23 @@ package com.genersoft.iot.vmp.gb28181.bean; +import io.swagger.v3.oas.annotations.media.Schema; + public class PlatformGbStream { - private String gbStreamId; + + @Schema(description = "ID") + private int gbStreamId; + + @Schema(description = "骞冲彴ID") private String platformId; + + @Schema(description = "鐩綍ID") private String catalogId; - public String getGbStreamId() { + public Integer getGbStreamId() { return gbStreamId; } - public void setGbStreamId(String gbStreamId) { + public void setGbStreamId(Integer gbStreamId) { this.gbStreamId = gbStreamId; } -- Gitblit v1.8.0