# 01_alert_sys **Repository Path**: fmi110/01_alert_sys ## Basic Information - **Project Name**: 01_alert_sys - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-07 - **Last Updated**: 2026-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 弱电间监控提醒 基于 **Tauri 2 + React** 的桌面程序,定时拉取旷世门禁打卡记录,发现新记录时系统通知提醒。 ## 功能 - 定时轮询API接口配置(签名鉴权) - 本地 SQLite 缓存与去重 - Windows 系统通知 + 系统托盘 - 实时监控 / 历史记录 / 门禁配置 / 系统设置 ## 环境要求 - Node.js 18+ - Rust stable(`rustup default stable`) - **Visual Studio 2022 Build Tools**(含「使用 C++ 的桌面开发」/ VC++ 工具链,提供 `link.exe`) - Windows 10+ 国内网络可在 `src-tauri/.cargo/config.toml` 中配置 crates.io 镜像(项目已预置 rsproxy)。 ## 开发 ```bash npm install npm run tauri dev ``` Windows 上若提示找不到 `link.exe`,需先安装 **Visual Studio 2022 Build Tools(含 VC++)**,然后使用项目脚本(会自动加载 MSVC 环境): ```powershell .\scripts\dev.ps1 ``` ## 构建 ```powershell # 需 MSVC 环境,Release 可执行文件: # src-tauri/target/release/alert-sys.exe npm run tauri build ``` ## 首次使用 1. 打开「系统设置」,填写 HOST、secretKey 等 API 配置 2. 打开「门禁配置」,添加门禁点 deviceUuid 3. 点击「立即同步」或等待自动轮询 配置保存在本机 `%APPDATA%/com.alert.sys/settings.json`。 ## 文档 详见 [`docs/开发文档.md`](docs/开发文档.md)