幽冥大陆(一百07)—门禁局域网http获取名单—东方仙盟练气期

获取名单列表

Url 地址:http://deviceAddress:port/getAllDeviceIdWhiteList

请求方式:post

发送消息的内容

|--------|----------|--------|
| 数据类型 | 字段名称 | 说明 |
| String | password | 设备用户密码 |

接受消息应答数据内容

|--------|---------|------------------------|
| 数据类型 | 字段名称 | 说明 |
| String | message | 提示消息 |
| int | result | 0 成功; 1,参数设置错误;2,密码错误; |
| Object | data | 消息体 |

消息体的内容

|------------|-----------|--------------|
| 数据类型 | 字段名称 | 说明 |
| String\[\] | idNumList | 表示人员的唯一编号的数组 |

示例

复制代码
url:http://192.168.1.135:8091/getAllDeviceIdWhiteList`

`发送:`
`{"password":"123456"}`

`返回:`
`{`
`"data":"{\n\t\"idList\":\n\t[\n\t\t\"3886\",\n\t\t\"3887\",\n\t\t\"3888\"}",`
`    "message" : "Get All Device   White List Success",`
`    "result" : 0`
`}`

`

获取名单详情

Url 地址:http://deviceAddress:port/getDeviceWhiteListDetailByIdNum

请求方式:post

发送消息的内容

|--------|----------|--------|
| 数据类型 | 字段名称 | 说明 |
| String | password | 设备用户密码 |
| Object | data | 消息体 |

消息体的内容

|--------|-----------------|-----------|
| 数据类型 | 字段名称 | 说明 |
| String | employee_number | 表示人员的唯一编号 |

接受消息应答数据内容

|--------|---------|------------------------|
| 数据类型 | 字段名称 | 说明 |
| String | message | 提示消息 |
| int | result | 0 成功; 1,参数设置错误;2,密码错误; |
| Object | data | 消息体 |

消息体的内容

|--------|-----------------|---------------------------------------------------------------|
| 数据类型 | 字段名称 | 说明 |
| String | usertype | user类型;white(白名单),black(黑名单) |
| String | name | 姓名 |
| String | sex | 男,女 |
| String | nation | 民族 |
| String | idno | 身份证号 |
| String | peoplestartdate | 名单有效期开始 |
| String | peopleenddate | 名单有效期结束 |
| String | idissue | 身份证签发机关 |
| String | idaddress | 身份证地址 |
| String | icno | ic卡号 20180716 |
| int | TimeGroupId | 0:任意时间识别成功都可同行 1:周一到周日指定时间段内识别成功才能通行,时间段外提示"无权限进入,请在指定时间段内识别" |
| String | register_base64 | 名单的base64字符串 |

示例

复制代码
url:http://192.168.1.135:8091/getDeviceWhiteListDetailByIdNum`

`发送:`
`{"password":"123456","data":{"employee_number":"5463"}}`

`返回:`
`{`
    `"data"` `:` 
    `{`
        `"TimeGroupId"` `:` `0,`
        `"icno"` `:`   `"0020202469",`
        `"idaddress"` `:` `"",`
        `"idissue"` `:` `"",`
        `"idno"` `:` `"",`
        `"name"` `:` `"2573",`
        `"nation"` `:` `"",`
        `"peopleenddate"` `:`   `"2030-12-18 15:18:20",`
        `"peoplestartdate"` `:`   `"2020-12-18 15:18:20",`
        `"register_base64"` `:`   `"/9j/4AAQSkZ....",`
        `"sex"` `:` `"男",`
        `"usertype"` `:`   `"white"`
    `},`
    `"message"` `:` `"Get Device   White Detail By ID Number Success",`
    `"result"` `:` `0`
`}`
`

阿雪技术观

在科技发展浪潮中,我们不妨积极投身技术共享。不满足于做受益者,更要主动担当贡献者。无论是分享代码、撰写技术博客,还是参与开源项目维护改进,每一个微小举动都可能蕴含推动技术进步的巨大能量。东方仙盟是汇聚力量的天地,我们携手在此探索硅基生命,为科技进步添砖加瓦。

Hey folks, in this wild tech - driven world, why not dive headfirst into the whole tech - sharing scene? Don't just be the one reaping all the benefits; step up and be a contributor too. Whether you're tossing out your code snippets, hammering out some tech blogs, or getting your hands dirty with maintaining and sprucing up open - source projects, every little thing you do might just end up being a massive force that pushes tech forward. And guess what? The Eastern FairyAlliance is this awesome place where we all come together. We're gonna team up

相关推荐
虎头金猫3 天前
4K 视频总卡在公网带宽?用 N1 + OpenList 把网盘播放链路重新理顺
运维·服务器·网络·python·容器·beautifulsoup·pandas
wuyk5553 天前
《WiFi 嵌入式物联网开发全套实战》| 第 16 章 ESP32 AP+STA 双模共存原理与工程坑点
网络·stm32·物联网
XUEYUAN52123 天前
ASN 自治系统号风控:平台如何通过 IP 所属自治域批量识别代理流量
python·网络协议·http·网络安全·socks5
QYRdata3 天前
年均增速24.2%!机器人数据湖未来六年增长动能强劲
网络·机器人·服务发现
CHENKONG_CK3 天前
破解制鞋打磨痛点:RFID赋能去毛刺工序自动化升级
网络·单片机·嵌入式硬件·网络协议·tcp/ip
chshang19923 天前
工业路由器是什么?浅谈5G工业网络中的IR602
网络·物联网·5g·智能路由器
萧瑟余晖3 天前
Netty 核心组件与 Reactor 模型详解
网络·架构
ITxiaobing20233 天前
IP 定位服务选型指南:从准确率到工程落地的技术考察
linux·服务器·网络
wuyk5553 天前
【Socket 进阶之路】第 9 章 Linux 网络服务量产稳定性优化|心跳保活、TIME_WAIT、SO_LINGER、内存池、断线重连、完整异常防护框架
linux·服务器·开发语言·网络·物联网
z落落3 天前
C#UDP+串口服务端+UDP 客户端(含 CRC16 校验)
网络·网络协议·udp