1.URL
http://124.223.60.234:8080/system/asset/mqtt/addMqttUser
2.请求参数
2.1请求头
token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"userName":"yytx",
"password":"123456",
"orgId":"8F2744CF926044CF8E5B44D2BF7D0BF0",
"contacts":"Mr.Lee",
"phoneNum":"Mr.Lee",
"email":"Mr.Lee",
"descInfo":"yytx",
"expireTime":"2026-01-01 00:00:00"
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
userName | String | 用户名 | Y |
password | String | 密码,非加密 | Y |
orgId | String | 公司唯一标识 | Y |
contacts | String | 联系人 | Y |
phoneNum | String | 联系电话 | Y |
String | 联系邮箱 | Y | |
descInfo | String | 描述 | Y |
expireTime | String | 账户过期时间 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
作者:admin 创建时间:2023-08-29 09:26
最后编辑:admin 更新时间:2025-04-23 17:26
最后编辑:admin 更新时间:2025-04-23 17:26