From 0f3898910c42d4303347ac7295d3c7f0cc8e8457 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 19 四月 2023 16:21:28 +0800
Subject: [PATCH] 收流时设置re_use_port参数解决端口关闭快速打开造成的端口未释放问题, 支持点播的tcp主动

---
 web_src/src/components/service/DeviceService.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/web_src/src/components/service/DeviceService.js b/web_src/src/components/service/DeviceService.js
index 61314fe..85d36f8 100644
--- a/web_src/src/components/service/DeviceService.js
+++ b/web_src/src/components/service/DeviceService.js
@@ -9,7 +9,7 @@
   getDeviceList(currentPage, count, callback, errorCallback){
     this.$axios({
       method: 'get',
-      url:`./api/device/query/devices`,
+      url:`/api/device/query/devices`,
       params: {
         page: currentPage,
         count: count
@@ -25,7 +25,7 @@
   getDevice(deviceId, callback, errorCallback){
     this.$axios({
       method: 'get',
-      url:`./api/device/query/devices/${deviceId}`,
+      url:`/api/device/query/devices/${deviceId}`,
     }).then((res) => {
       if (typeof (callback) == "function") callback(res.data)
     }).catch((error) => {
@@ -82,7 +82,7 @@
   getChanel(isCatalog, catalogUnderDevice, deviceId, currentPage, count, callback, errorCallback) {
     this.$axios({
       method: 'get',
-      url: `./api/device/query/devices/${deviceId}/channels`,
+      url: `/api/device/query/devices/${deviceId}/channels`,
       params:{
         page: currentPage,
         count: count,
@@ -121,7 +121,7 @@
   getSubChannel(isCatalog, deviceId, channelId, currentPage, count, callback, errorCallback) {
     this.$axios({
       method: 'get',
-      url: `./api/device/query/sub_channels/${deviceId}/${channelId}/channels`,
+      url: `/api/device/query/sub_channels/${deviceId}/${channelId}/channels`,
       params:{
         page: currentPage,
         count: count,
@@ -161,7 +161,7 @@
     }
     this.$axios({
       method: 'get',
-      url: `./api/device/query/tree/${deviceId}`,
+      url: `/api/device/query/tree/${deviceId}`,
       params:{
         page: currentPage,
         count: count,

--
Gitblit v1.8.0