# 出入记录
# 简要描述
- 查询用户出入记录
# 请求URL
/api/openApi/getMachineOpenDoors
# 请求方式
- GET
# 参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
name | 否 | string | 用户姓名 |
machineCode | 否 | string | 门禁编码 |
machineName | 否 | string | 门禁设备名称 |
page | 是 | int | 页号 |
row | 是 | int | 每页展示的数据量 |
# 返回示例
{
"code":0,
"data":[
{
"accessType":"1",
"clazzId":"1293489554489323520",
"communityId":"1293488776261382144",
"createTime":1653012286000,
"face":"https://iotdev.zfkjgw.com/face/1293488776261382144/1653012285680.jpg",
"machineCode":"PLAA8202218000200000001",
"machineId":"a4cd1e70-615e-4289-abfb-84a6472cae18",
"machineIp":"192.168.1.117",
"machineName":"A80M",
"modelFace":"https://iotdev.zfkjgw.com/facenull",
"openId":"1653012285680",
"openTypeCd":"1",
"page":-1,
"records":0,
"role":1,
"row":0,
"storeId":"1296258251744940032",
"temperature":"",
"total":0,
"type":"2",
"userId":"1303956279446302720",
"userName":"赵泽云"
}
],
"msg":"成功",
"total":69,
"totalPage":69,
"sign": "068b379aa109ff0d64b72045dac3ae00"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
total | int | 当前查询条件可查询出的数量 |
data | array | 数据数组 |
# data对象:
参数名 | 类型 | 说明 |
---|---|---|
accessType | string | 出进类型 1 进 2 出 |
clazzId | String | 班级ID |
communityId | date | 学校(当前机构)ID |
createTime | Date | 门禁创建时间 |
face | String | 采集的照片URL(用于显示) |
machineCode | String | 门禁设备编码 |
machineId | String | 门禁设备ID |
machineIp | String | 门禁设备IP |
machineName | String | 门禁设备名称 |
modelFace | String | 照片采集URL |
openId | String | 门禁出入记录ID |
openTypeCd | String | 1表示当前设备正在使用 |
page | int | 内部用 |
records | int | 内部用 |
role | int | 角色 1:学生 2:教职工 3:访客 99:员工 |
row | int | 内部用 |
storeId | String | 门店ID |
temperature | String | 体温 |
total | int | 内部用 |
type | String | 门禁设备类型 |
userId | String | 当前通过门禁人ID |
userName | String | 当前通过门禁人名字 |