mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-11 04:35:10 +00:00
Merge pull request #5243 from wucm667/feat/issue-5240-dashboard-username
fix(dashboard): show usernames in spending ranking
This commit is contained in:
6 files changed
+40
-22
No files matched your search
@@ -149,6 +149,7 @@ type UserUsageTrendPoint struct {
|
||||
type UserSpendingRankingItem struct {
|
||||
UserID int64 `json:"user_id"`
|
||||
Email string `json:"email"`
|
||||
Username string `json:"username"`
|
||||
ActualCost float64 `json:"actual_cost"` // 实际扣除
|
||||
Requests int64 `json:"requests"`
|
||||
Tokens int64 `json:"tokens"`
|
||||
|
||||
Reference in new issue
Block a user