This commit is contained in:
wyh 2023-11-24 14:02:13 +08:00
parent 1cfe644361
commit 6ebfeda319
1 changed files with 42 additions and 7 deletions

View File

@ -1,14 +1,49 @@
### 海康云眸平台(iot)
# 海康云眸平台 SDK(iot)
##### 配置环境变量已
### Document
[ < 海康云眸平台 > ](https://pic.hik-cloud.com/opencustom/apidoc/online/open/4dcf8294009a45b4a7c6e89ebda639cb.html?timestamp=1700465875887)
### import
<code>$ go get -v -u myschools.me/suguo/hikvision/iot</code>
### 快速开始
---
**版本**
Golang 1.20
##### 配置环境变量
```
environment:
clientID = os.Getenv("HIK_IOT_CLIENTID")
clientSecret = os.Getenv("HIK_IOT_CLIENTSECRET")
scope = os.Getenv("HIK_IOT_SCOPE")
```
- 基础管理
- - 分组管理
- - 接入管理
- - 校时配置
- - 人员管理
##### 基础服务能力
- 分组管理
- 接入管理
- 校时配置
- 人员管理
##### 基础服务能力
- 卡片操作
- 门禁计划
- 权限分组
- 权限下发
- 访客二维码
- 本地事件查询
- 可视对讲
- 人员信息采集
##### 消息通道
- 通用事件
- open_device_onoffline 设备上下线消息
---
- 门禁类事件
- open_event_access 门禁事件消息
- open_access_qrcode_event 门禁二维码事件
- open_access_auth_sync_result 门禁权限下发结果消息
- open_event_user_info_collect 人员信息采集消息
- open_visitor_event 访客事件