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)