This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import request from '@/config/axios'
// 相机 API
export const CameraControlApi = {
// 相机控制(POST)
cameraControl: async (urlStr: string, data) => {
return await request.post({ url: urlStr, data })
},
// 查询录像文件列表(GET)
getRecordFiles: async (params: {
cameraId: number
channel?: number
startTime: string
endTime: string
}) => {
return await request.get({ url: `/camera/control/record-files`, params })
}