This commit is contained in:
deepzz0
2016-10-02 22:42:03 +08:00
parent 575582e391
commit abda7b511e
+4 -4
View File
@@ -216,20 +216,22 @@ func HandleDisqus(c *gin.Context) {
"errmsg": "",
"data": map[string]interface{}{
"next": "",
"commentNum": 2,
"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",
"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",
@@ -238,8 +240,6 @@ func HandleDisqus(c *gin.Context) {
},
},
},
},
},
}
c.JSON(http.StatusOK, ss)
}