From 67375932bc80268df856d7c80875617bfd6e5b48 Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Tue, 22 Nov 2022 19:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/file.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/src/api/file.js b/front/src/api/file.js index bd199a46..deec0224 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -109,7 +109,7 @@ export function getListForPOI(params) { //西海岸 获取左侧标签树 export function getPlaceType() { return axios.get( - 'http://10.134.135.92:9537/data_service/placeTypes/getPlaceType', + `http://${_cameraUrl}/data_service/placeTypes/getPlaceType`, config2 ) } @@ -117,7 +117,7 @@ export function getPlaceType() { //西海岸 根据标签树查询视频列表 export function CameraConditionPlaceType(params) { return axios.post( - 'http://10.134.135.92:9537/data_service/getCamera/CameraConditionPlaceType' , + `http://${_cameraUrl}/data_service/getCamera/CameraConditionPlaceType'`, params, config2 ) @@ -126,7 +126,7 @@ export function CameraConditionPlaceType(params) { // 西海岸视频wss流获取 export function getCameraLiveStream(params) { return axios.get( - 'http://10.134.135.92:9537/data_service/getCamera/getCameraLiveStream?cameraIndexCode=' + + `http://${_cameraUrl}/data_service/getCamera/getCameraLiveStream?cameraIndexCode=` + params.channelId + '&protocol=' + 'wss' + '&transmode=1&streamType=1',