1
This commit is contained in:
parent
d8f430f88d
commit
4079b885e9
@ -46,6 +46,10 @@ func (this *UserApi) Login(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
}
|
||||
if int32(q5.GetDaySeconds(nowTime, 0)) > user.LastPresentDiceTime {
|
||||
user.Dice = mt.Table.Global.GetDailyDiceNum()
|
||||
user.LastPresentDiceTime = q5.ToInt32(nowTime)
|
||||
}
|
||||
rspObj.UserInfo.FromModel(user)
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user