接口调用更新

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

View File

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