shenjiachi 1 giorno fa
parent
commit
49d24c6bb0
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      app/task/svc/svc_team_assistance_count.go

+ 6
- 0
app/task/svc/svc_team_assistance_count.go Vedi File

@@ -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)


Caricamento…
Annulla
Salva