|
|
@@ -19,8 +19,9 @@ func TimeingCountData() { |
|
|
|
wikiPath := models.WikiPath(repoRecord.OwnerName, repoRecord.Name) |
|
|
|
wikiRepo, commit, err := FindWikiRepoCommitByWikiPath(wikiPath) |
|
|
|
if err != nil { |
|
|
|
log.Error("query error.") |
|
|
|
log.Error("wiki not exist. wikiPath=" + wikiPath) |
|
|
|
} else { |
|
|
|
log.Info("wiki exist, wikiPath=" + wikiPath) |
|
|
|
entries, err := commit.ListEntries() |
|
|
|
if err != nil { |
|
|
|
if wikiRepo != nil { |
|
|
@@ -50,7 +51,7 @@ func TimeingCountData() { |
|
|
|
} else { |
|
|
|
log.Info("json=" + string(jsonObj)) |
|
|
|
} |
|
|
|
|
|
|
|
log.Info("wikiName=" + wikiName + " SubURL=" + wiki_service.NameToSubURL(wikiName)) |
|
|
|
pages = append(pages, PageMeta{ |
|
|
|
Name: wikiName, |
|
|
|
SubURL: wiki_service.NameToSubURL(wikiName), |
|
|
|