Commit c35932e24cf9dda9ef396ab5a45fb1a6e5539748
Merge remote-tracking branch 'origin/wvp-28181-2.0' into wvp-28181-2.0
Showing
1 changed file
with
2 additions
and
2 deletions
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({ |