feat:新增视频操作

This commit is contained in:
zjc
2025-02-18 14:47:07 +08:00
parent 497e49df33
commit c2ca99260a
15 changed files with 119 additions and 20 deletions

View File

@@ -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
})
}

View File

@@ -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)
}
},