接口调用更新

This commit is contained in:
wuhongjian 2022-06-14 17:58:37 +08:00
parent f392764b0a
commit bb614e285a
3 changed files with 8 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
back/dist-西海岸-后台管理.zip

View File

@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-04-20 17:16:35
* @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-06-14 17:40:14
* @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-06-14 17:46:02
* @Description: 告诉大家这是什么
*/
import request from '@/utils/request'
@ -48,15 +48,15 @@ export function paddleocr(params) {
}
export function getVideoList(params) {
return axios.get(
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName',
params,
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' +
params.name + '&pageNo=' + params.pageNo + '&pageSize=' + params.pageSize,
config2
)
}
export function getHls(params) {
return axios.get(
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStream',
params,
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStream?cameraId=' +
params.cameraId + '&protocol=' + params.protocol,
config2
)
}

View File

@ -1018,7 +1018,7 @@
// resourceList.data
// )
const params = {
name: searchValue.value,
name: searchValue.value || '',
pageNo: paramsGetResources.pageNum,
pageSize: paramsGetResources.pageSize
}