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', diff --git a/front/src/views/home/infrastructureApplication.vue b/front/src/views/home/infrastructureApplication.vue index df2129bb..e48286b7 100644 --- a/front/src/views/home/infrastructureApplication.vue +++ b/front/src/views/home/infrastructureApplication.vue @@ -2,7 +2,7 @@ * @Author: Light * @Date: 2022-11-18 11:53:43 * @LastEditors: Light - * @LastEditTime: 2022-11-22 14:50:32 + * @LastEditTime: 2022-11-22 19:28:55 * @Description: 告诉大家这是什么 -->