|
|
@@ -23,7 +23,7 @@ func RepoStatisticAuto() { |
|
|
|
func RepoStatisticDaily(date string) { |
|
|
|
log.Info("%s", date) |
|
|
|
log.Info("begin Repo Statistic") |
|
|
|
t, _ := time.Parse("2006-01-02", "date") |
|
|
|
t, _ := time.Parse("2006-01-02", date) |
|
|
|
if err := models.DeleteRepoStatDaily(date); err != nil { |
|
|
|
log.Error("DeleteRepoStatDaily failed: %v", err.Error()) |
|
|
|
return |
|
|
|