 rootandClaude
|
b284fb9d1b
|
修复定时任务日志500错误
问题原因:
- SQL查询中使用AS别名在SQLite Row对象转换时可能失败
修复方案:
- 改为查询所有字段后在Python中进行字段映射
- 添加字段映射:execute_time → created_at
- 添加字段映射:success_accounts → success_count
- 添加字段映射:failed_accounts → failed_count
- 添加字段映射:duration_seconds → duration
位置: database.py 第1661-1683行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 16:24:10 +08:00 |
|
 rootandClaude
|
726e0d01bf
|
修复定时任务日志和增强功能
1. 修复定时任务日志字段映射问题
- 修正execute_time → created_at
- 修正success_accounts → success_count
- 修正failed_accounts → failed_count
- 修正duration_seconds → duration
- 位置: database.py 第1661-1686行
2. 添加定时任务调试日志
- 显示当前检查时间和任务匹配情况
- 帮助诊断定时任务不执行问题
- 位置: app.py 第2869-2875行
3. 新增VIP权限对比表格
- 在VIP信息弹窗中添加权限对比
- 对比普通用户和VIP用户的6项权限
- 位置: templates/index.html 第549-593行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 16:16:45 +08:00 |
|
 rootandClaude
|
c6fce67320
|
清理项目多余文件
删除以下文件:
- 8个修复脚本(fix_*.py)
- 5个app.py备份文件
- 7个templates备份文件
- 1个重复的admin.html文件
共删除21个临时文件和备份文件,保持项目整洁。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 15:57:39 +08:00 |
|
 rootandClaude
|
4e5aa70359
|
修复三个关键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>
|
2025-12-10 15:53:53 +08:00 |
|