|
|
536aa506f9
|
refactor: 后端代码优化 11 项(codestable/refactors/2026-04-25-backend-cleanup)
- 提取 getWKFromContext 辅助函数,消除 handler 中 5 处重复代码
- 提取 retryCode 函数,消除 Login/performStudy 中验证码重试重复
- 提取 removeSession 内部方法,消除 Del/ClearAll/ClearExpired 中 3 处重复
- 提取 WK.UserKey() 方法,消除 4 处 userKey 手动拼接
- SessionManager.Get() 改用 RLock 优化读性能
- GetRecords 递归分页改为迭代,避免栈溢出
- prepareRequestClient 添加配置缓存,仅在 debug 设置变化时重建
- 修正 schedule.go 时区为 Asia/Shanghai + cron "0 6 * * *"
- 修正 typo "以达到" → "已达到"
- 删除未使用的 QAList struct
- 修复 bufferHub.append 切片内存泄漏
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-26 13:07:45 +08:00 |
|
|
|
83ee4bb5ea
|
release: v0.1.3
|
2026-04-03 14:24:29 +08:00 |
|
|
|
9ec25b94f1
|
feat: add debug log stream support
|
2026-04-02 23:27:46 +08:00 |
|
|
|
b0db64bd7b
|
feat: 添加定时系统
- 实现定时任务
|
2026-03-26 22:59:58 +08:00 |
|
|
|
858c29a799
|
init: 第一次提交
- 以实现登录获取个人信息和课程
- 实现了获取视频记录
- 实现了学习接口
|
2026-03-25 22:39:44 +08:00 |
|