From 5a75381a00a555443925bbbd8e333b14473b3ed1 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 17 十月 2023 15:34:01 +0800 Subject: [PATCH] 基于新的云端录像结构实现国标录像 --- web_src/src/components/CloudRecordDetail.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/web_src/src/components/CloudRecordDetail.vue b/web_src/src/components/CloudRecordDetail.vue index 207fbef..a3b1bc6 100755 --- a/web_src/src/components/CloudRecordDetail.vue +++ b/web_src/src/components/CloudRecordDetail.vue @@ -480,12 +480,13 @@ let that = this; this.$axios({ method: 'get', - url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/add`, + url:`/api/cloud/record/task/add`, params: { - app: that.app, - stream: that.stream, - startTime: moment(this.taskTimeRange[0]).format('YYYY-MM-DD HH:mm:ss'), - endTime: moment(this.taskTimeRange[1]).format('YYYY-MM-DD HH:mm:ss'), + app: this.app, + stream: this.stream, + mediaServerId: this.mediaServerId, + startTime: moment(this.taskTimeRange[0]).format('YYYY-MM-DD HH:mm:ss'), + endTime: moment(this.taskTimeRange[1]).format('YYYY-MM-DD HH:mm:ss'), } }).then(function (res) { if (res.data.code === 0 ) { @@ -505,8 +506,9 @@ let that = this; this.$axios({ method: 'get', - url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/list`, + url:`/api/cloud/record/task/list`, params: { + mediaServerId: this.mediaServerId, isEnd: isEnd, } }).then(function (res) { -- Gitblit v1.8.0