feat:新增视频操作
This commit is contained in:
@@ -35,3 +35,12 @@ export function postVideoRemainApi(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 根据监控点编号进行云台操作
|
||||
export function postVideoControlApi(data) {
|
||||
return request({
|
||||
url: '/fjtcc-api/api/largeScreen/video/controlling',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -40,6 +40,10 @@ instance.interceptors.response.use(
|
||||
if (res.data.code == 200) {
|
||||
return res.data
|
||||
} else {
|
||||
ElMessage({
|
||||
message: res.data.msg,
|
||||
type: 'error'
|
||||
})
|
||||
return Promise.reject(res.data)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user