This commit is contained in:
a0049873 2022-06-14 18:51:32 +08:00
parent bb614e285a
commit e1cc54f1a1
1 changed files with 10 additions and 4 deletions

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.wuhongjian * @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-06-14 17:46:02 * @LastEditTime: 2022-06-14 18:51:22
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
*/ */
import request from '@/utils/request' import request from '@/utils/request'
@ -49,14 +49,20 @@ 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?name=' + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' +
params.name + '&pageNo=' + params.pageNo + '&pageSize=' + params.pageSize, 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?cameraId=' + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStream?cameraId=' +
params.cameraId + '&protocol=' + params.protocol, params.cameraId +
'&protocol=' +
params.protocol,
config2 config2
) )
} }