Commit 63bdaa0adf37baa49a1622f7cfc3d5f055bda495

Authored by renxh
1 parent de317a6f

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

web_src/src/components/control.vue
@@ -367,7 +367,7 @@ export default { @@ -367,7 +367,7 @@ export default {
367 let that = this; 367 let that = this;
368 this.$axios({ 368 this.$axios({
369 method: 'get', 369 method: 'get',
370 - url: '/zlm/index/api/restartServer' 370 + url: '/zlm/' + that.mediaServerChoose +'/index/api/restartServer'
371 }).then(function (res) { 371 }).then(function (res) {
372 that.getAllSession(); 372 that.getAllSession();
373 if (res.data.code == 0) { 373 if (res.data.code == 0) {
@@ -402,7 +402,7 @@ export default { @@ -402,7 +402,7 @@ export default {
402 let that = this; 402 let that = this;
403 this.$axios({ 403 this.$axios({
404 method: 'get', 404 method: 'get',
405 - url: '/zlm/index/api/kick_session&id=' + id 405 + url: '/zlm/' + that.mediaServerChoose +'/index/api/kick_session&id=' + id
406 }).then(function (res) { 406 }).then(function (res) {
407 that.getAllSession(); 407 that.getAllSession();
408 that.$message({ 408 that.$message({