Add balance to user

This commit is contained in:
Yang Luo
2024-02-28 16:54:30 +08:00
parent cabe830f55
commit 59e07a35aa
2 changed files with 146 additions and 0 deletions

View File

@ -86,6 +86,8 @@ type User struct {
Score int `json:"score"`
Karma int `json:"karma"`
Ranking int `json:"ranking"`
Balance float64 `json:"balance"`
Currency string `xorm:"varchar(100)" json:"currency"`
IsDefaultAvatar bool `json:"isDefaultAvatar"`
IsOnline bool `json:"isOnline"`
IsAdmin bool `json:"isAdmin"`