Commit Graph

4 Commits

Author SHA1 Message Date
OpenClaw Agent
b4b7f8ff1e feat: 优化补录逻辑和班次时间
修复:
- 修复 send_notification 函数中 now.strftime() 调用错误

新功能:
- 补录命令支持指定时间: 补录 日期 姓名 内容 [时间]
- 不指定时间则使用班次下班前2分钟
- 班次统一为 18:00-02:00(次日),默认补录时间 01:58

代码优化:
- 添加文件头注释
- 函数添加 docstring
- 移除调试代码
2026-02-07 18:09:16 +00:00
OpenClaw Agent
92c62b9da5 fix: 强制使用核心数据文件的绝对路径
- 避免从不同目录运行时读取错误的数据文件
- 确保所有操作都指向 contraband_manager/security_data_v2.json
2026-02-07 12:23:34 +00:00
OpenClaw Agent
b3d6b2338d refactor: Move configuration to external config.json file 2026-02-06 21:46:42 +00:00
OpenClaw Agent
f8cab7f1be feat: Initial commit for contraband ranking system 2026-02-06 20:40:41 +00:00