mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
chore: add api
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user