This commit is contained in:
aozhiwei 2024-11-20 16:10:54 +08:00
parent 5906db750d
commit 42b38baf94

View File

@ -35,6 +35,7 @@ func (this *UserApi) Login(c *gin.Context) {
user.Score = 0
user.Dice = mt.Table.Global.GetDailyDiceNum()
user.LastPresentDiceTime = q5.ToInt32(nowTime)
user.CurrGrid = 1
user.CreateTime = q5.ToInt32(nowTime)
user.ModifyTime = q5.ToInt32(nowTime)
if user.Create() != nil {