雪亮视频人流量及热力数据对接

This commit is contained in:
luolx 2025-05-30 21:44:43 +08:00
parent a7bdfaa5ad
commit 95c64b0921
1 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,52 @@
import request from '@/utils/request'
// 查询监控点信息列表
export function listPoints(query) {
return request({
url: '/large/points/list',
method: 'get',
params: query
})
}
export function listMessagePoints(query) {
return request({
url: '/large/points/listMessage',
method: 'get',
params: query
})
}
// 查询监控点信息详细
export function getPoints(id) {
return request({
url: '/large/points/' + id,
method: 'get'
})
}
// 新增监控点信息
export function addPoints(data) {
return request({
url: '/large/points',
method: 'post',
data: data
})
}
// 修改监控点信息
export function updatePoints(data) {
return request({
url: '/large/points',
method: 'put',
data: data
})
}
// 删除监控点信息
export function delPoints(id) {
return request({
url: '/large/points/' + id,
method: 'delete'
})
}