Merge branch 'develop' of git.pogorockgames.com:mango-games/server/game into develop

This commit is contained in:
sk 2024-05-14 11:45:46 +08:00
commit 3e229a4bc9
1 changed files with 3 additions and 3 deletions

View File

@ -1492,12 +1492,12 @@ func (this *Tournament) MakeMatchLog(platform string, tmId, sortId int32) *model
func (this *Tournament) saveMatchLog(matchLog *model.MatchLog) {
task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} {
return nil
}), task.CompleteNotifyWrapper(func(data interface{}, tt task.Task) {
err := model.InsertMatchLogs(matchLog)
if err != nil {
logger.Logger.Error("saveMatchLog error %v", err)
return
return err
}
return nil
}), task.CompleteNotifyWrapper(func(data interface{}, tt task.Task) {
})).StartByFixExecutor("saveMatchLogTask")
}