Commit 37abde4
Release v0.5.0: 重构为服务层架构
- 提取 LibraryService 处理媒体文件扫描和路径解析
- 提取 FavoriteService 管理收藏功能
- 提取 RecommendService 处理加权随机推荐算法
- 提取 ThumbnailService 处理缩略图生成
- 简化 app.py,专注于路由和视图逻辑
- 优化模板代码
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c76c985 commit 37abde4
9 files changed
Lines changed: 847 additions & 1081 deletions
File tree
- tiklocal
- services
- static
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments