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/SyncStatus.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java old mode 100644 new mode 100755 index f3a197c..373b971 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java @@ -1,14 +1,20 @@ package com.genersoft.iot.vmp.gb28181.bean; +import io.swagger.v3.oas.annotations.media.Schema; + /** * 鎽勫儚鏈哄悓姝ョ姸鎬� * @author lin */ +@Schema(description = "鎽勫儚鏈哄悓姝ョ姸鎬�") public class SyncStatus { + @Schema(description = "鎬绘暟") private int total; + @Schema(description = "褰撳墠鏇存柊澶氬皯") private int current; + @Schema(description = "閿欒鎻忚堪") private String errorMsg; - + @Schema(description = "鏄惁鍚屾涓�") private boolean syncIng; public int getTotal() { -- Gitblit v1.8.0