设备控制接口
POST
{{host}}/api/device_control/sendCommand
请求参数
参数名
类型
描述
必填
device_id
int
设备ID
必填
device_type
string
设备类型
必填
响应参数
参数名
类型
描述
必填
ret
int
返回码:0-正常,非0-失败
必填
msg
string
返回消息
必填
result
object
返回数据
必填