修复无法`重启媒体服务器`,`删除远端通信链路`的问题

pull/200/head
renxh 2021-10-28 17:50:06 +08:00
parent de317a6fe8
commit 63bdaa0adf
1 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ export default {
let that = this; let that = this;
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: '/zlm/index/api/restartServer' url: '/zlm/' + that.mediaServerChoose +'/index/api/restartServer'
}).then(function (res) { }).then(function (res) {
that.getAllSession(); that.getAllSession();
if (res.data.code == 0) { if (res.data.code == 0) {
@ -402,7 +402,7 @@ export default {
let that = this; let that = this;
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: '/zlm/index/api/kick_session&id=' + id url: '/zlm/' + that.mediaServerChoose +'/index/api/kick_session&id=' + id
}).then(function (res) { }).then(function (res) {
that.getAllSession(); that.getAllSession();
that.$message({ that.$message({