Browse Source

代码bug修改

tags/v1.21.11.1
ychao_1983 4 years ago
parent
commit
1f9f202212
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/repo_statistic.go

+ 1
- 1
routers/repo/repo_statistic.go View File

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


Loading…
Cancel
Save