Commit 780bc1ce authored by 赵啸非's avatar 赵啸非

添加设备版本查询接口文档

parent 1af9c465
......@@ -208,41 +208,6 @@ data|object|数据对象|-
"productCode": "ckp",
"productId": 2,
"productName": "窗口屏"
},
{
"productCode": "hjq",
"productId": 3,
"productName": "呼叫器"
},
{
"productCode": "jzxsp",
"productId": 4,
"productName": "集中显示屏"
},
{
"productCode": "dsj",
"productId": 5,
"productName": "导视机"
},
{
"productCode": "pjq",
"productId": 6,
"productName": "评级器"
},
{
"productCode": "zzfwzd",
"productId": 7,
"productName": "自助服务终端"
},
{
"productCode": "tdj",
"productId": 8,
"productName": "填单机"
},
{
"productCode": "ybj",
"productId": 9,
"productName": "样表机"
}
],
"siteList": [
......@@ -255,41 +220,6 @@ data|object|数据对象|-
"siteCode": "513400000000-0001",
"siteId": 2,
"siteName": "凉山州行政审批局"
},
{
"siteCode": "513426000000-0001",
"siteId": 3,
"siteName": "会东县行政审批局"
},
{
"siteCode": "513401001000-0001",
"siteId": 6,
"siteName": "test"
},
{
"siteCode": "513425000000-0001",
"siteId": 7,
"siteName": "会理市行政审批局"
},
{
"siteCode": "513425001000-0001",
"siteId": 8,
"siteName": "会理市城北街道办事处"
},
{
"siteCode": "510105521000-0002",
"siteId": 9,
"siteName": "蔡家测试中心"
},
{
"siteCode": "513301000000-0001",
"siteId": 10,
"siteName": "康定市行政审批局"
},
{
"siteCode": "510000000000-0001",
"siteId": 12,
"siteName": "四川省政务服务中心"
}
]
}
......@@ -392,6 +322,64 @@ deviceInfo|Object|设备基础信息|-
 productName|String|设备产品类型|-
 enabled|Integer|设备启用状态 (0.停止,1.启用)|-
**响应消息样例:**
```
{
"code":1,
"data":{
"content":"hRNPu+V1hc4lGRHtXGyVOF0U7ez8/ZxFke9L4o7DWVLMfsZwkViAChfLKSydAEWAdsbgP1dzfNrQTq7X0diu1awR/qdPNcDcpj5/hBozLn+OmuTKLUWhq9+WGtuoF3BTbtIpWkpQWDGolOCfRadenGUkuMozjEwwkt5CIDa+nzOqh56BJIhGahlx79Qt30ugj3UNhLTfvw5lpN9jY7u+icx+xnCRWIAKF8spLJ0ARYAbMXXhI21dYty7e1b+Cb2wZobupPyXRmyuy8Fkn4bculmkCywq78F6tPlu0rCCgJA="
}
}
```
### 设备版本检查
**请求URL:** m/api/checkVersion
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 检查当前设备所属版本最新版本信息
**请求参数:**
参数名称|类型|备注|必填|其它
---|---|---|---|---
deviceCode|String|设备编码,唯一|是|可是编码或者mac地址,由平台创建
deviceVersion|String|设备版本信息|否|-
**请求样例:**
```
{
"deviceCode":"a12345678"
}
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
data|object|数据对象|-
 content|String|加密后的内容|AES加密
**content解密参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
 productId|Long|产品Id|-
 productCode|String|产品编号|-
 productName|String|产品名称|-
 version|Int|版本号|-
 remark|String|备注信息|-
 downloadUrl|String|版本下载地址|-
**响应消息样例:**
```
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment