refactor: 统一项目时区处理,调整官网agent默认展示状态并优化日志配置
- 新增 `app/infrastructure/time.py` 封装中国时区当前时间工具函数,替换全项目手动处理UTC时区的代码 - 新增数据库迁移脚本将 `official_site_agent_display` 表的 `display_status` 默认值设为 `disable` - 更新对应模型、Schema、业务服务的默认展示状态配置 - 调整第三方库日志级别至WARNING,减少apscheduler、httpx等库的冗余日志输出 - 优化企业微信同步模块的日志格式和消息过滤逻辑,统一时区处理
Showing
9 changed files
with
233 additions
and
431 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment