This commit is contained in:
deepzz0
2016-10-02 22:42:03 +08:00
parent 575582e391
commit abda7b511e

View File

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