From ed035b74d95f4d18d110626c8335f4b189125db6 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 28 六月 2023 10:47:33 +0800 Subject: [PATCH] 添加关闭收流发流的接口 --- web_src/src/components/dialog/StreamProxyEdit.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/dialog/StreamProxyEdit.vue b/web_src/src/components/dialog/StreamProxyEdit.vue index c8efc14..76011fa 100644 --- a/web_src/src/components/dialog/StreamProxyEdit.vue +++ b/web_src/src/components/dialog/StreamProxyEdit.vue @@ -195,7 +195,7 @@ let that = this; this.$axios({ method: 'get', - url:`./api/platform/query/10000/1` + url:`/api/platform/query/10000/1` }).then(function (res) { that.platformList = res.data.data.list; }).catch(function (error) { @@ -212,7 +212,7 @@ if (that.proxyParam.mediaServerId !== "auto"){ that.$axios({ method: 'get', - url:`./api/proxy/ffmpeg_cmd/list`, + url:`/api/proxy/ffmpeg_cmd/list`, params: { mediaServerId: that.proxyParam.mediaServerId } @@ -230,7 +230,7 @@ this.noneReaderHandler(); this.$axios({ method: 'post', - url:`./api/proxy/save`, + url:`/api/proxy/save`, data: this.proxyParam }).then((res)=> { this.dialogLoading = false; @@ -261,7 +261,7 @@ var that = this; await that.$axios({ method: 'get', - url:`./api/platform/exit/${deviceGbId}` + url:`/api/platform/exit/${deviceGbId}` }).then(function (res) { result = res.data; }).catch(function (error) { -- Gitblit v1.8.0