From fe9965bc637d28e2e9a2dc19b04eeb3bc5f0d869 Mon Sep 17 00:00:00 2001
From: xiaoQQya <xiaoQQya@126.com>
Date: 星期一, 20 三月 2023 14:56:46 +0800
Subject: [PATCH] perf(streamInfo): 优化点播接口返回流信息中的 RTMP/RTSP/RTC 链接
---
web_src/src/components/CloudRecordDetail.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/web_src/src/components/CloudRecordDetail.vue b/web_src/src/components/CloudRecordDetail.vue
index d76101a..40c21b6 100644
--- a/web_src/src/components/CloudRecordDetail.vue
+++ b/web_src/src/components/CloudRecordDetail.vue
@@ -115,7 +115,7 @@
props: ['recordFile', 'mediaServerId', 'dateFiles', 'mediaServerPath'],
data() {
return {
- basePath: `${this.mediaServerPath}/record`,
+ basePath: `${this.mediaServerPath}`,
dateFilesObj: [],
detailFiles: [],
chooseDate: null,
@@ -241,7 +241,7 @@
let that = this;
that.$axios({
method: 'get',
- url:`./record_proxy/${that.mediaServerId}/api/record/file/list`,
+ url:`/record_proxy/${that.mediaServerId}/api/record/file/list`,
params: {
app: that.recordFile.app,
stream: that.recordFile.stream,
@@ -340,7 +340,7 @@
let that = this;
this.$axios({
method: 'delete',
- url:`./record_proxy/${that.mediaServerId}/api/record/delete`,
+ url:`/record_proxy/${that.mediaServerId}/api/record/delete`,
params: {
page: that.currentPage,
count: that.count
@@ -359,7 +359,7 @@
that.dateFilesObj = {};
this.$axios({
method: 'get',
- url:`./record_proxy/${that.mediaServerId}/api/record/date/list`,
+ url:`/record_proxy/${that.mediaServerId}/api/record/date/list`,
params: {
app: that.recordFile.app,
stream: that.recordFile.stream
@@ -408,7 +408,7 @@
let that = this;
this.$axios({
method: 'get',
- url:`./record_proxy/${that.mediaServerId}/api/record/file/download/task/add`,
+ url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/add`,
params: {
app: that.recordFile.app,
stream: that.recordFile.stream,
@@ -433,7 +433,7 @@
let that = this;
this.$axios({
method: 'get',
- url:`./record_proxy/${that.mediaServerId}/api/record/file/download/task/list`,
+ url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/list`,
params: {
isEnd: isEnd,
}
--
Gitblit v1.8.0