From e5a8034f88c06cb9c485436c31033d807d577a12 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 17 Mar 2021 14:36:48 +0800
Subject: [PATCH] 视频接口路径替换
---
public/map/widgets/realTimePolice/RealTimePolice.js | 2 +-
public/map/popup/js/realtime-view-video.js | 2 +-
public/realVideo/realtime-view-video.js | 2 +-
src/views/realTimePolice/real.vue | 6 +++---
src/page/index/logo.vue | 4 ++--
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/public/map/popup/js/realtime-view-video.js b/public/map/popup/js/realtime-view-video.js
index a8f3a39..e4c990d 100644
--- a/public/map/popup/js/realtime-view-video.js
+++ b/public/map/popup/js/realtime-view-video.js
@@ -20,7 +20,7 @@
$.ajax({
type: 'GET',
dataType: 'JSON',
- url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
+ url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
success: function (data) {
realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8)
diff --git a/public/map/widgets/realTimePolice/RealTimePolice.js b/public/map/widgets/realTimePolice/RealTimePolice.js
index 8dba6e6..6f877a4 100644
--- a/public/map/widgets/realTimePolice/RealTimePolice.js
+++ b/public/map/widgets/realTimePolice/RealTimePolice.js
@@ -1034,7 +1034,7 @@
$.ajax({
type: 'GET',
dataType: 'JSON',
- url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
+ url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
success: function (data) {
that.realStartVideo(dom, data.data.m3u8)
diff --git a/public/realVideo/realtime-view-video.js b/public/realVideo/realtime-view-video.js
index 4d0073c..3a52acf 100644
--- a/public/realVideo/realtime-view-video.js
+++ b/public/realVideo/realtime-view-video.js
@@ -17,7 +17,7 @@
$.ajax({
type: 'GET',
dataType: 'JSON',
- url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
+ url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber,
success: function (data) {
realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8)
}
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index 33fe2e2..3696e03 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -354,7 +354,7 @@
},
queryOldVideo(data) {
var newAxios = axios.create({
- baseURL: "http://36.134.81.48:18000",
+ baseURL: "http://web.byisf.com:18000",
withCredentials: false,
headers: {
"Content-type": "application/x-www-form-urlencoded",
@@ -376,7 +376,7 @@
.then((res) => {
newAxios
.get(
- `https://36.134.81.48:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}`
+ `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}`
)
.then((result) => {
this.innerVisibleVideo = true;
diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 70f7c8e..3bc1710 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -1008,7 +1008,7 @@
},
queryOldVideo(data) {
var newAxios = axios.create({
- baseURL: "http://36.134.81.48:18000",
+ baseURL: "https://web.byisf.com:18000",
withCredentials: false,
headers: {
"Content-type": "application/x-www-form-urlencoded",
@@ -1030,7 +1030,7 @@
.then((res) => {
newAxios
.get(
- `https://36.134.81.48:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}`
+ `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}`
)
.then((result) => {
this.innerVisibleVideo = true;
@@ -1096,7 +1096,7 @@
},
aKeyToCall(e, form) {
var newCallAxios = axios.create({
- baseURL: "http://36.134.81.48:18000",
+ baseURL: "https://web.byisf.com:18000",
withCredentials: false,
headers: {
"Content-Type": "application/json;",
--
Gitblit v1.9.3