fix disqus bug

This commit is contained in:
deepzz0
2017-06-12 00:19:17 +08:00
parent 309339492c
commit b64cf5985a
5 changed files with 12 additions and 2 deletions
+2
View File
@@ -17,6 +17,7 @@ import (
type result struct {
Code int
Response []struct {
Id string
Posts int
Identifiers []string
}
@@ -66,6 +67,7 @@ func PostsCount() {
artc := Ei.MapArticles[v.Identifiers[0][i+1:]]
if artc != nil {
artc.Count = v.Posts
artc.Thread = v.Id
}
}
}