1
This commit is contained in:
parent
79beeda8c8
commit
f94b4126bc
@ -12,6 +12,7 @@ type User struct {
|
||||
HourlyEarnings string `json:"hourly_earnings"`
|
||||
Dice int32 `json:"dice"`
|
||||
SpecDice int32 `json:"spec_dice"`
|
||||
CurrGrid int32 `json:"curr_grid"`
|
||||
}
|
||||
|
||||
func (this *User) FromModel(m *model.User) {
|
||||
@ -22,4 +23,5 @@ func (this *User) FromModel(m *model.User) {
|
||||
this.HourlyEarnings = "0"
|
||||
this.Dice = m.Dice
|
||||
this.SpecDice = m.SpecDice
|
||||
this.CurrGrid = 0
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user