修复三个关键Bug

1. 修复定时任务设置时间不执行问题
   - 将定时任务检查频率从60秒提升到5秒
   - 确保定时任务在设定时间准时执行
   - 位置: app.py 第3010-3011行

2. 修复账号管理卡片设置按钮无法点击问题
   - 修正JavaScript引号转义错误
   - 位置: templates/index.html 第886行

3. 修复用户反馈和后台反馈进度不同步问题
   - 前端改为检查status字段而非reply字段
   - 新增closed状态支持
   - 正确显示待处理/已回复/已关闭三种状态
   - 位置: templates/index.html 第249-251行, 第1550-1567行

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-10 15:53:53 +08:00
parent b5344cd55e
commit f9aa511806
2 changed files with 16 additions and 6 deletions

4
app.py
View File

@@ -3007,8 +3007,8 @@ def scheduled_task_worker():
# 执行待执行的任务
schedule.run_pending()
# 每60秒重新检查一次配置
if time.time() - last_check > 60:
# 每5秒重新检查一次配置(提高检查频率以确保定时任务准时执行)
if time.time() - last_check > 5:
check_and_schedule()
check_user_schedules() # 检查用户定时任务
last_check = time.time()