[1078] 合并新UI

This commit is contained in:
lin
2025-05-14 18:01:12 +08:00
parent 68f7d3ef74
commit 081a146f2a
9 changed files with 535 additions and 467 deletions

View File

@@ -87,4 +87,56 @@ export function stopPlay(params) {
}
})
}
export function updateChannel(data) {
return request({
method: 'post',
url: `/api/jt1078/terminal/channel/update`,
data: data
})
}
export function addChannel(data) {
return request({
method: 'post',
url: `/api/jt1078/terminal/channel/add`,
data: data
})
}
export function ptz(params) {
const { phoneNumber, channelId, command, speed } = params
return request({
method: 'get',
url: '/api/jt1078/ptz',
params: {
phoneNumber: phoneNumber,
channelId: channelId,
command: command,
speed: speed
}
})
}
export function wiper(params) {
const { phoneNumber, channelId, command } = params
return request({
method: 'get',
url: '/api/jt1078/wiper',
params: {
phoneNumber: phoneNumber,
channelId: channelId,
command: command
}
})
}
export function fillLight(params) {
const { phoneNumber, channelId, command } = params
return request({
method: 'get',
url: '/api/jt1078/fill-light',
params: {
phoneNumber: phoneNumber,
channelId: channelId,
command: command
}
})
}