Browse Source

Merge pull request '代码bug修改' (#629) from fix-473 into V20211101

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/629
Reviewed-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1
zouap 3 years ago
parent
commit
40a0365131
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