mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-04-19 03:37:27 +00:00
fix(dashboard): prefer username in user usage trend
This commit is contained in:
@@ -96,6 +96,7 @@ type UserUsageTrendPoint struct {
|
||||
Date string `json:"date"`
|
||||
UserID int64 `json:"user_id"`
|
||||
Email string `json:"email"`
|
||||
Username string `json:"username"`
|
||||
Requests int64 `json:"requests"`
|
||||
Tokens int64 `json:"tokens"`
|
||||
Cost float64 `json:"cost"` // 标准计费
|
||||
|
||||
Reference in New Issue
Block a user