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) {