szbinv.fixedreaders.register
固定读写器注册
- 请求路由:
szbinv.fixedreaders.register- 交互模型:
Request Responseip不可重复
请求
RSocket.rr({
route: 'szbinv.fixedreaders.register',
data: {
address: "192.168.1.200",
place: "行政楼2楼",
username: "yang@szbp",
fullName: "杨先生",
status: "0",
remark: "这是测试备注"
}
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| address | string | 是 | ip地址 | |
| place | string | 是 | 安装位置 | |
| username | string | 是 | 负责人 | |
| fullName | string | 是 | 负责人姓名 | |
| status | string | 是 | 启用状态(0:未启用,1:启用) | |
| remark | string | 否 | 备注 |
返回
{
"crBy": "admin@szbp",
"upBy": "admin@szbp",
"crDate": "2022-07-06T06:47:06.065Z",
"upDate": "2022-07-06T06:47:06.065Z",
"tenantId": "szbp",
"address": "192.168.1.200",
"place": "行政楼2楼",
"username": "yang@szbp",
"fullName": "杨先生",
"status": "0",
"remark": "这是测试备注"
}
返回属性
| 属性 | 类型 | 说明 |
|---|---|---|
| address | string | ip地址(也是id) |
| place | string | 安装位置 |
| username | string | 负责人 |
| fullName | string | 负责人姓名 |
| status | string | 启用状态(0:未启用,1:启用) |
| runStatus | string | 运行状态(0:未连接,1:已连接) |
| remark | string | 备注 |
| crBy | String | 创建人 |
| upBy | String | 修改人 |
| crDate | Instant | 创建时间 |
| upDate | Instant | 更新时间 |
| tenantId | String | 租户id |