diff --git a/front.go b/front.go index ea58ac6..c3edc9d 100644 --- a/front.go +++ b/front.go @@ -215,28 +215,28 @@ func HandleDisqus(c *gin.Context) { "errno": 0, "errmsg": "", "data": map[string]interface{}{ - "next": "", - "commentNum": 2, + "next": "", + "total": 3, "comments": []map[string]interface{}{ map[string]interface{}{ "id": "2361914870", "name": "Rekey Luo", + "parent": 0, "url": "https://disqus.com/by/rekeyluo/", "avatar": "//a.disquscdn.com/uploads/users/15860/7550/avatar92.jpg?1438917750", "createdAt": "2015-11-16T05:00:02", "createdAtStr": "9 months ago", "message": "你最近对 http2 ssl 相关关注好多啊。", - "children": []map[string]interface{}{ - map[string]interface{}{ - "id": "2361915528", - "name": "Jerry Qu", - "url": "https://disqus.com/by/JerryQu/", - "avatar": "//a.disquscdn.com/uploads/users/1668/8837/avatar92.jpg?1472281172", - "createdAt": "2015-11-16T05:01:05", - "createdAtStr": "9 months ago", - "message": "嗯,最近对 web 性能优化这一块研究得比较多。", - }, - }, + }, + map[string]interface{}{ + "id": "2361915528", + "name": "Jerry Qu", + "parent": 0, + "url": "https://disqus.com/by/JerryQu/", + "avatar": "//a.disquscdn.com/uploads/users/1668/8837/avatar92.jpg?1472281172", + "createdAt": "2015-11-16T05:01:05", + "createdAtStr": "9 months ago", + "message": "嗯,最近对 web 性能优化这一块研究得比较多。", }, }, },