两个地方的设备参数 组件 加上授权功能

This commit is contained in:
mmc
2026-08-06 10:47:34 +08:00
parent 6f2f568172
commit 3fc8e1b5fd
5 changed files with 446 additions and 311 deletions

View File

@@ -437,6 +437,26 @@ export function deviceCommmand(data) {
})
}
///iot/device/paramModifyAuth
//设备前置授权
export function getDeviceAuth(data) {
return request({
url: '/iot/device/paramModifyAuth',
method: 'post',
data
})
}
//查看当前是否有权限修改
export function hasPermission(params) {
return request({
url: '/iot/device/hasPermission',
method: 'get',
params
})
}