feat: 分站用户调用日志页面

- 新增 DistUserGetLogs 后端接口,支持按模型/令牌筛选和分页
- 新增 dist-site Logs 页面,desktop 表格 + mobile 卡片布局
- 所有 7 个主题 Layout 添加日志导航项
- Dashboard 快捷入口替换为调用日志链接
- 添加中英文 i18n 翻译

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
abingyydsandClaude Opus 4.6 committed 2026-03-26 21:34:56 +09:00
1 parent 23920eb635
commit f087c0f978
53 files changed
+518 -284

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ const Tokens = lazy(() => import('./pages/Tokens'));
const Packages = lazy(() => import('./pages/Packages'));
const Pricing = lazy(() => import('./pages/Pricing'));
const Topup = lazy(() => import('./pages/Topup'));
const Logs = lazy(() => import('./pages/Logs'));
const Loading = () => (
<div className="flex items-center justify-center min-h-screen">
@@ -35,6 +36,7 @@ function ThemedRoutes() {
<Route element={<AuthGuard />}>
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/tokens" element={<Tokens />} />
<Route path="/logs" element={<Logs />} />
<Route path="/topup" element={<Topup />} />
</Route>
</Route>