Quellcode durchsuchen

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

renxh vor 4 Jahren
Ursprung
Commit
63bdaa0adf
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      web_src/src/components/control.vue

+ 2 - 2
web_src/src/components/control.vue

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