This commit is contained in:
aozhiwei 2024-11-05 17:58:18 +08:00
parent 55f53c1d82
commit 629cc33ca8

View File

@ -10,7 +10,7 @@ type User struct {
Avatar string `json:"avatar"`
Score string `json:"score"`
HourlyEarnings string `json:"hourly_earnings"`
Dice int32 `gorm:"json:dice"`
Dice int32 `json:"dice"`
}
func (this *User) FromModel(m *model.User) {