From 49d24c6bb0750effe181af45b3a6cccf69ffdfba Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 24 Dec 2024 11:14:27 +0800 Subject: [PATCH] update --- app/task/svc/svc_team_assistance_count.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/task/svc/svc_team_assistance_count.go b/app/task/svc/svc_team_assistance_count.go index 0d542cb..56b442e 100644 --- a/app/task/svc/svc_team_assistance_count.go +++ b/app/task/svc/svc_team_assistance_count.go @@ -63,6 +63,12 @@ func AutoCountTeamAssistance() { } assistedUserDetails[i] = m } + _, err = db.Db.Insert(&assistedUserDetails) + if err != nil { + fmt.Println(err) + return + } + // 保存助力信息到 redis cacheKey := fmt.Sprintf("EggEnergyTeamAssistance:%d", signIn.Uid) targetTime, err1 := time.Parse("2006-01-02 15:04:05", signIn.EndTime)