From a09d398037a1be3e3cf740cd9d4525636e61a78b Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 15 Nov 2024 10:06:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor(record):=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=20VideoPlayer=20=E7=BB=84=E4=BB=B6=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 VidepPlayer.vue 重命名为 VideoPlayer.vue,纠正拼写错误 - 添加生产环境 API 接口的注释 --- .../{VidepPlayer.vue => VideoPlayer.vue} | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) rename ruoyi-ui/src/views/record/recordInspectionCabinet/{VidepPlayer.vue => VideoPlayer.vue} (77%) diff --git a/ruoyi-ui/src/views/record/recordInspectionCabinet/VidepPlayer.vue b/ruoyi-ui/src/views/record/recordInspectionCabinet/VideoPlayer.vue similarity index 77% rename from ruoyi-ui/src/views/record/recordInspectionCabinet/VidepPlayer.vue rename to ruoyi-ui/src/views/record/recordInspectionCabinet/VideoPlayer.vue index dd906cf..1e447e4 100644 --- a/ruoyi-ui/src/views/record/recordInspectionCabinet/VidepPlayer.vue +++ b/ruoyi-ui/src/views/record/recordInspectionCabinet/VideoPlayer.vue @@ -25,11 +25,20 @@ export default { async loadVideoPaths() { const filePath = this.$route.query.filePath; try { - // TODO: 修改为实际接口地址 + + //TODO:修改为实际接口地址 const thermalResponse = `/dev-api/record/recordInspectionCabinet/getThermalVideo/${filePath}`; this.thermalVideoUrl = thermalResponse; const visibleResponse = `/dev-api/record/recordInspectionCabinet/getVisibleVideo/${filePath}`; this.visibleVideoUrl = visibleResponse; + /* const thermalResponse = `/prod-api/record/recordInspectionCabinet/getThermalVideo/${filePath}`; + this.thermalVideoUrl = thermalResponse; + const visibleResponse = `/prod-api/record/recordInspectionCabinet/getVisibleVideo/${filePath}`; + this.visibleVideoUrl = visibleResponse;*/ + /* const thermalResponse = getThermalVideo(filePath); + this.thermalVideoUrl = thermalResponse; + const visibleResponse= getVisibleVideo(filePath); + this.visibleVideoUrl = visibleResponse;*/ this.playVideo(); } catch (error) {