代码初始化

This commit is contained in:
tianyongbao
2025-04-24 17:33:21 +08:00
commit 58da6b59c7
669 changed files with 209122 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
import request from '@/utils/request'
// 查询照明信息屏列表
export function listScreen(query) {
return request({
url: '/smartlight/infoScreen/list',
method: 'get',
params: query
})
}
// 控制信息屏开关、调光、调音量信息
export function updateInfoScreen(data) {
return request({
url: `/smartlight/light/deviceControl/infoScreen/${data.ids}/${data.controlType}/${data.controlValue}`,
method: 'put',
data
})
}
// 查询照明信息屏详情--基本信息
export function getScreenBasic(id) {
return request({
url: '/smartlight/infoScreen/getInfo/' + id,
method: 'get'
})
}
// 查询照明信息屏详情--上传信息
export function getScreenUpload(id) {
return request({
url: '/smartlight/infoScreen/getInfoScreenData/' + id,
method: 'get'
})
}
// 查询照明信息屏详情--当前策略
// 历史数据
export function getScreenHis(query) {
return request({
url: '/smartlight/infoScreen/history',
method: 'get',
params: query
})
}