mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
update
This commit is contained in:
8
front.go
8
front.go
@@ -216,20 +216,22 @@ func HandleDisqus(c *gin.Context) {
|
|||||||
"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",
|
||||||
|
"parent": 0,
|
||||||
"url": "https://disqus.com/by/JerryQu/",
|
"url": "https://disqus.com/by/JerryQu/",
|
||||||
"avatar": "//a.disquscdn.com/uploads/users/1668/8837/avatar92.jpg?1472281172",
|
"avatar": "//a.disquscdn.com/uploads/users/1668/8837/avatar92.jpg?1472281172",
|
||||||
"createdAt": "2015-11-16T05:01:05",
|
"createdAt": "2015-11-16T05:01:05",
|
||||||
@@ -238,8 +240,6 @@ func HandleDisqus(c *gin.Context) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
c.JSON(http.StatusOK, ss)
|
c.JSON(http.StatusOK, ss)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user