mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Backend: - Add AccountStatsCost field to AdminUsageLog DTO - Map AccountStatsCost in UsageLogFromServiceAdmin mapper - Replace println with slog.Warn in api_key_auth_cache_impl.go Frontend: - Add account_stats_cost to AdminUsageLog TypeScript interface - Usage tooltip and table: prefer account_stats_cost when available, fallback to total_cost * multiplier (mirrors SQL COALESCE logic) - Excel export: same COALESCE fallback