1.URL
http://124.223.60.234:8080/system/asset/configure/queryMqttSubscriptionDetails
2.请求参数
2.1请求头
token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"accessKey":"F940B79790004404AAC277418FC71C5E"
}
2.3.参数说明
| 字段 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| accessKey | String | Access Key | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data":{
"url": "mqtt://170.106.106.105:1883",
"accessKey": "F940B79790004404AAC277418FC71C5E",
"userName": "xxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxx",
"locationTopic": "upload/F940B79790004404AAC277418FC71C5E/{terminalNum}/location",
"alarmTopic": "upload/F940B79790004404AAC277418FC71C5E/{terminalNum}/alarm",
"eventTopic": "upload/F940B79790004404AAC277418FC71C5E/{terminalNum}/event",
"cmdTopic": "upload/F940B79790004404AAC277418FC71C5E/{terminalNum}/cmd"
}
}
3.2.返回结果说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 返回状态 |
| message | String | 返回结果描述 |
| data | object | 返回结果体 |
data说明
| 字段 | 类型 | 说明 |
|---|---|---|
| accessKey | String | 规则key |
| userName | String | 用户名 |
| password | String | 密码 |
| orgId | String | 公司组织唯一标识 |
| orgName | String | 公司组织名称 |
| descInfo | String | 描述 |
| type | int | 是否订阅子组织设备的数据(1:是;0:否) |
| status | int | 状态(0:禁用;1:启用) |
| createTime | String | 配置时间 |
| creatorId | String | 配置人唯一标识 |
| creator | String | 配置人 |
Author:admin Create time:2025-06-28 12:35
Last editor:admin Update time:2025-10-31 14:50
Last editor:admin Update time:2025-10-31 14:50