[TOC=2]
## 設備列表
~~~[api]
get:/agent_device/list
*int:id=4#要查看的代理 id
int:current_page=1#當前頁
int:page_number=10#頁碼
<<<
success
{
"code": 0,
"data": {
"list": [
{
"id": 9,
"name": "水娃", // 設備名稱
"device_id": 3, // 設備id
"group_id": 2, // 設備分組 id
"position": "會滅火", // 所在位置
"remark": "", // 備注信息
"create_time": "2019-01-08 10:40:17", // 添加時間
"sn": "740100094149", // 設備序號
"type": 29, // 設備類型
"subtype": 0, // 設備子類型
"group_name": "測試2組" // 設備所在分組名稱
}
],
"current_page": 0,
"page_number": 0,
"total": 12,
"group_total": 2
}
}
<<<
error
{
"code": -1,
"msg": "參數錯誤"
}
~~~
## 設備搜素
~~~[api]
get:/agent_device/search
*int:id=4#代理 id
string:search=123#搜索內容
<<<
success
{
"code": 0,
"data": {
"list": [
{
"id": 12, // 解析和列表的一致
"name": "",
"device_id": 7,
"group_id": 2,
"position": "",
"remark": "",
"create_time": "2019-01-08 11:52:19",
"sn": "741100004094",
"type": 29,
"subtype": 0
}
]
}
}
<<<
error
{
"code": -1,
"msg": "參數錯誤"
}
~~~
## 設備刪除
~~~[api]
post:/agent_device/delete
*int:id=4#代理列表的 id
*array:id_list=[4,5]#刪除的設備 id 列表
<<<
success
{
"code": 0
}
<<<
error
{
"code": -1,
"msg": "參數錯誤"
}
~~~
## 更正設備
~~~[api]
post:/agent_device/update_sn
*int:device_id=1#設備id
*string:sn=11111111111#設備序列號
<<<
success
{
"code": 0
}
<<<
error
{
"code": -1,
"msg": "參數錯誤"
}
~~~
- 文檔說明
- 更新日志
- Web App 更新日志
- 自用云平臺
- 鑫源云平臺
- 生產管理
- 數據展示平臺
- 云平臺 - v3
- 設備文檔
- KP0C0 - 0 - 0
- KP3C2 - 6 - 1
- K5C2 - 13 - 0
- KP1C2 - 18 - 0
- KP2C4 - 21 - 0
- K5C6 - 25 - 0
- KP5C1 - 27 - 0
- KD5P1 - 29 - 0
- KD5P5 - 46 - 0
- KP1C3 - 47 - 0
- KP1C4 - 48 - 0
- KP1C5 - 49 - 0
- KD4P6 - 53 - 0
- KP3C2 - 65 - 0
- KD5P8 - 72 - 0
- KP2C7 - 75 - 0
- KD5P601 - 76 - 0
- KD5P11 - 79 - 0
- KP01C1510 - 87 - 0
- KP03C0100 - 88 - 0
- KP01C1520 - 90 - 0
- 上報字段
- 數據庫
- 登錄注冊
- 手機注冊
- 郵箱注冊
- 用戶名注冊
- 個人資料
- 管理功能
- 代理相關
- 代理設備
- 授權設備
- 代理功能
- 用戶相關
- 用戶設備
- 用戶分組
- 權限相關
- 設備功能
- 設備分組
- 設備接口
- 數據統計
- 數據統計V2
- 數據統計V3
- 彩云8000 - 數據統計
- 號段申請
- 數據庫
- 登錄注銷
- 申請用戶
- 申請記錄
- 用戶申請
- 文件上傳
- 生產管理
- 登錄注冊
- 提供接口