Commit Graph

8 Commits

Author SHA1 Message Date
9a5e8cb58f refactor: introduce repositories and expose study api client 2026-02-27 11:19:13 +08:00
eb88494c5a feat: add study session APIs and per-user review isolation 2026-02-27 11:14:25 +08:00
60ce70f532 feat: add auth flow and login guard for api/web 2026-02-27 11:07:25 +08:00
f2a1e2d6fe docs: add redesigned requirements and project structure scaffold 2026-02-27 11:02:50 +08:00
cf0685d102 refactor(main): 重构主应用结构以提高模块化
- 将main.go中的初始化逻辑提取到新的app包中
- 创建bootstrap包来处理配置加载和数据库初始化
- 添加middleware包来管理CORS中间件
- 创建router包来处理路由配置
- 简化main函数,只保留应用启动逻辑
- 使用依赖注入模式组织服务和处理器
2026-02-26 16:19:13 +08:00
c7003c1210 refactor(model): 重构数据模型结构
- 将 Word 和 MemoryRecord 结构体拆分为独立文件
- 创建 request 包用于存放请求结构体
- 创建 response 包用于存放响应结构体
- 将 YoudaoResponse 移至独立模型文件
- 更新服务层接口参数类型为新的请求响应结构体
- 修改处理器层导入路径以使用新包结构
2026-02-26 14:44:40 +08:00
e5a245155a feat(word): show/play UK-US audio and add example sentence 2026-02-26 13:22:03 +08:00
52f691f02e refactor(web): restructure Vue3 app layout 2026-02-26 12:20:19 +08:00