|
|
44b6c70a4b
|
fix(roi):修复 working_hours 为空数组 [] 时被错误识别为 None 的问题,导致全天模式失效。
Python Test / test (push) Has been cancelled
- 修改 `api/roi.py` 中的判断逻辑:使用 `is not None` 替代 truthy 检查,确保 `[]` 能正确序列化并存入数据库
- 更新 `config.yaml` 全局默认值为 `working_hours: []`,表示“全天开启”
|
2026-01-22 18:02:19 +08:00 |
|
|
|
cb46d12cfa
|
fix:修复因数据库缺少 working_hours 列导致 ROI 配置失败的问题。
- 手动执行 SQL:ALTER TABLE rois ADD COLUMN working_hours TEXT
- 确保现有 SQLite 数据库(security_monitor.db)结构与模型定义一致
- 避免因字段缺失引发 API 或算法读取异常
|
2026-01-22 16:44:26 +08:00 |
|
|
|
13afc654ab
|
fix(timezone):修复触发告警记录的时间混乱问题
|
2026-01-22 09:08:44 +08:00 |
|
|
|
804c6a60e9
|
fix(alarm): update alarm status endpoint to accept JSON body
|
2026-01-21 17:50:19 +08:00 |
|
|
|
46ee360d46
|
fix(api): update camera creation endpoint to accept JSON body
|
2026-01-21 17:03:59 +08:00 |
|
|
|
6712a311f8
|
fix(camera): resolve camera status display issue
|
2026-01-21 16:06:39 +08:00 |
|
|
|
1b344aeb2e
|
feat(db): add missing columns for cloud sync and alarm region data
|
2026-01-21 13:49:01 +08:00 |
|
|
|
e965b10603
|
配置修改
|
2026-01-21 13:29:00 +08:00 |
|
|
|
7552cf86c3
|
ROI选区01
|
2026-01-20 18:26:49 +08:00 |
|
|
|
604ef82ffb
|
ROI选区01
|
2026-01-20 17:42:18 +08:00 |
|