mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
fix: disqus list posts
This commit is contained in:
@@ -135,7 +135,7 @@ func PostsList(article *model.Article, cursor string) (*PostsListResp, error) {
|
|||||||
vals := url.Values{}
|
vals := url.Values{}
|
||||||
vals.Set("api_key", disqusAPIKey)
|
vals.Set("api_key", disqusAPIKey)
|
||||||
vals.Set("forum", config.Conf.EiBlogApp.Disqus.ShortName)
|
vals.Set("forum", config.Conf.EiBlogApp.Disqus.ShortName)
|
||||||
vals.Set("thread", article.Thread)
|
vals.Set("thread:ident", "post-"+article.Slug)
|
||||||
vals.Set("cursor", cursor)
|
vals.Set("cursor", cursor)
|
||||||
vals.Set("order", "popular")
|
vals.Set("order", "popular")
|
||||||
vals.Set("limit", "50")
|
vals.Set("limit", "50")
|
||||||
|
|||||||
Reference in New Issue
Block a user