fix:统计游戏组数据

This commit is contained in:
sk 2024-12-17 14:12:52 +08:00
parent 0c65af22ea
commit f4964a57a2
1 changed files with 6 additions and 0 deletions

View File

@ -653,6 +653,12 @@ func (this *Player) ReportGameEvent(param *ReportGameEventParam) *ReportGameEven
gameTimes = dataGame.Statics.GameTimes
}
dataGameDif, ok := this.GDatas[common.GetGameDifKey(this.scene.GetDBGameFree().GetGameDif())]
if ok {
gamedifFirstTime = dataGameDif.FirstTime
gamedifTimes = dataGameDif.Statics.GameTimes
}
isNew := int32(0)
tCreateDay := now.New(this.CreateTime.Local()).BeginningOfDay()
if now.BeginningOfDay().Equal(tCreateDay) {