From ef980d77c340a9875fc3b4b1bb9f9f3112399ba0 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Wed, 27 Jul 2022 14:19:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/videoSurveillance.js | 2 +- front/src/views/home/infrastructurePage.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/api/videoSurveillance.js b/front/src/api/videoSurveillance.js index 94198d54..ddd9d6e7 100644 --- a/front/src/api/videoSurveillance.js +++ b/front/src/api/videoSurveillance.js @@ -68,7 +68,7 @@ export function selectByChannelCode(params) { } export function getStreamByChannelCode(params) { return request({ - url: `/api/project/file`, + url: `/resource/hls/getHls`, method: 'get', params, }) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index eec677d2..ca1a3f45 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -234,7 +234,7 @@ const openVideo = (id) => { console.log('打开视频', id) const param = { - channelCode: id, + key: id, } getStreamByChannelCode(param).then((res) => { console.log(res)