Files
Security_AI_integrated/api
16337 44b6c70a4b
Some checks failed
Python Test / test (push) Has been cancelled
fix(roi):修复 working_hours 为空数组 [] 时被错误识别为 None 的问题,导致全天模式失效。
- 修改 `api/roi.py` 中的判断逻辑:使用 `is not None` 替代 truthy 检查,确保 `[]` 能正确序列化并存入数据库
- 更新 `config.yaml` 全局默认值为 `working_hours: []`,表示“全天开启”
2026-01-22 18:02:19 +08:00
..