设备操作
POST
{{api_url}}Device/addControl
请求参数
参数名
类型
描述
必填
uid
int
示例:1
必填
control_value
int
变量值,示例:1
必填
var_id
int
变量ID,示例:240
必填
id
int
设备ID,必填,示例:1
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:密码验证已失效
必填
data
string
示例:
必填
url
object
示例:null
必填
wait
int
示例:3
必填
code
int
示例:0
必填
msg
string
示例:设备不在线,请检查后再操作
必填
data
string
示例:
必填
url
object
示例:null
必填
wait
int
示例:3
必填