feat(C-02):工具热榜周榜+最近使用

新增ToolUsageRecord使用日志(tool+created_at索引);/tool/top/总榜按累计排序、周榜按近7天聚合(无日志回退总榜,兼容period旧参);/tool/recent/登录去重倒序;seed新增AI图片放大/代码运行两个工具。
This commit is contained in:
chunyu
2026-09-15 15:20:27 +08:00
parent 37cad3947d
commit 24874aae23
7 changed files with 300 additions and 2 deletions
+3 -1
View File
@@ -11,5 +11,7 @@ from .tool_manage_view import (
ToolDetailView,
ToolFavoriteToggleView,
ToolFavoriteListView,
ToolUsageIncrementView
ToolUsageIncrementView,
ToolTopView,
ToolRecentView,
)