From bb8cdc0ec9e92e3b6e15692fbfff72822156f680 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Thu, 13 Nov 2025 13:32:41 +0800
Subject: [PATCH] 1.修改分组表名。 2.修改航线信息表字段名。
---
ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java b/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
index 1e0f8f1..b3d901a 100644
--- a/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
+++ b/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
@@ -73,16 +73,17 @@
@ApiOperation("获取video_id")
@PostMapping("/videoid/{sn}")
- public String getVideoId(@PathVariable String sn) {
- String videoId = "";
+ public ResponseResult<LiveTypeDTO> getVideoId(@PathVariable String sn) {
+ LiveTypeDTO liveTypeDTO = new LiveTypeDTO();
try{
- videoId = _liveStreamHandler.getLiveParam(sn).getVideoId();
+ liveTypeDTO = _liveStreamHandler.getLiveParam(sn);
+
}
catch (Exception e){
- videoId = e.getMessage();
+ // videoId = e.getMessage();
e.printStackTrace();
}
- return videoId;
+ return ResponseResult.success(liveTypeDTO);
}
/**
--
Gitblit v1.9.3