文档
测试

设备修改

PUT
/qgy/schools/equipment/update

接口描述

根据设备id修改设备信息

请求参数

参数名
类型
描述
必填
name
String
设备名称
可选
type
Integer
设备类型 指定值:0-无 1-进 2-出 默认值:0
可选
system
String
设备区分 指定值:Windows 或者 Android 或者 Thermometry(测温)
可选
site
Integer
设备位置 指定值:0-无 1-校门 2-宿舍 默认值:0
可选
groupId
Integer
所属分组
可选
uid
String
账户id
必填
id
Integer
设备id
必填

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data":true } ```