chore: add api

This commit is contained in:
deepzz0 committed 2021-04-27 23:46:43 +08:00
1 parent a39e3aac3b
commit 4749b1e681
7 files changed
+469 -74

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ func handleAdminPost(c *gin.Context) {
params["Domain"] = config.Conf.BlogApp.Host
params["Series"] = cache.Ei.Series
var tags []T
for tag, _ := range cache.Ei.TagArticles {
for tag := range cache.Ei.TagArticles {
tags = append(tags, T{tag, tag})
}
str, _ := json.Marshal(tags)