文档
测试

获取书籍全部评论

POST
https://b.mysread.com/api6.php?language=zh-Hant

请求参数

参数名
类型
描述
必填
ac
String
固定值【"getBookIndexComments"】
必填
bookId
String
书籍id
必填
page
int
页数
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
sql
string
示例:select a.id,a.uid,a.nicheng,a.bookId,a.content,a.insert_time,b.id uid,b.jf,b.nicheng,b.mobile,b.pic headerPic,b.titlePic from comment a left join hy b on a.uid=b.id where a.status=1 and a.pid=0 and a.bookId=31408 order by a.indextj desc,a.id desc limit 0,10
必填
data
array
数据列表
必填
id
string
示例:55070
必填
uid
string
示例:151583
必填
nicheng
string
示例:珊珊
必填
bookId
string
示例:31408
必填
content
string
示例:作者還有出新書嗎^_^你的書是我看過最好看的^_^
必填
insert_time
string
示例:2020-12-12 03:20:16
必填
jf
string
示例:40010
必填
mobile
string
示例:life.fubon0221@gmail
必填
headerPic
object
示例:null
必填
titlePic
object
示例:null
必填
vip
string
示例:3
必填
page
string
示例:1
必填
pages
int
示例:124
必填
msg
string
示例:成功了
必填
status
boolean
示例:true
必填

说明 / 示例

{ "code": "0", "sql": "select a.id,a.uid,a.nicheng,a.bookId,a.content,a.insert_time,b.id uid,b.jf,b.nicheng,b.mobile,b.pic headerPic,b.titlePic from comment a left join hy b on a.uid=b.id where a.status=1 and a.pid=0 and a.bookId=31408 order by a.indextj desc,a.id desc limit 0,10", "data": [ { "id": "55070", "uid": "151583", "nicheng": "珊珊", "bookId": "31408", "content": "作者還有出新書嗎^_^你的書是我看過最好看的^_^", "insert_time": "2020-12-12 03:20:16", "jf": "40010", "mobile": "life.fubon0221@gmail", "headerPic": null, "titlePic": null, "vip": "3" }, { "id": "51377", "uid": "80566", "nicheng": "xixihaha", "bookId": "31408", "content": "看了好多遍 还是很好看。值得", "insert_time": "2019-11-18 19:41:46", "jf": "15770", "mobile": null, "headerPic": "https://graph.facebook.com/v3.2/10205047971516387/picture?height=200&width=200&migration_overrides=%7Boctober_2012%3Atrue%7D", "titlePic": null, "vip": "2" }, { "id": "46554", "uid": "103275", "nicheng": "姆明。心", "bookId": "31408", "content": "非常非常喜歡的一本作品,令人愛不釋手。", "insert_time": "2019-06-18 20:58:42", "jf": "89235", "mobile": "91363723", "headerPic": null, "titlePic": null, "vip": "4" }, { "id": "44206", "uid": "138341", "nicheng": "Ali", "bookId": "31408", "content": "一看再看,還是百看不厭,有時間定會回來再重看。大愛!", "insert_time": "2019-05-25 23:02:41", "jf": "5922", "mobile": "201111377937", "headerPic": "https://b.mysread.com/upload/header/138341_20190530040109.jpg", "titlePic": null, "vip": "1" }, { "id": "31876", "uid": "103275", "nicheng": "姆明。心", "bookId": "31408", "content": "看了那麽多本,這本是最喜歡之一。。。一看再看,應該看了有三四遍吧! 超讚!", "insert_time": "2019-03-03 00:52:56", "jf": "89235", "mobile": "91363723", "headerPic": null, "titlePic": null, "vip": "4" }, { "id": "23852", "uid": "109302", "nicheng": "SamSam", "bookId": "31408", "content": "非常非常好看 不長篇 不拖拉 但結局用另一個手法表達而不是說是夢會好一點 ", "insert_time": "2019-01-06 18:53:09", "jf": "48607", "mobile": "", "headerPic": "https://graph.facebook.com/10156669287425030/picture", "titlePic": null, "vip": "3" }, { "id": "23529", "uid": "102468", "nicheng": "willow", "bookId": "31408", "content": "看女主角的每一次反擊真的很過癮^^到了最後,還用\"很長很長的夢\"的方式和老公 分享她最哀怨的過去~很喜歡這樣的故事", "insert_time": "2019-01-02 12:01:04", "jf": "11605", "mobile": "0918359704", "headerPic": null, "titlePic": null, "vip": "2" }, { "id": "56015", "uid": "101591", "nicheng": "weng", "bookId": "31408", "content": "好看", "insert_time": "2021-05-29 12:21:46", "jf": "16415", "mobile": "0928977863", "headerPic": null, "titlePic": null, "vip": "2" }, { "id": "56003", "uid": "101591", "nicheng": "weng", "bookId": "31408", "content": "好看", "insert_time": "2021-05-27 19:56:23", "jf": "16415", "mobile": "0928977863", "headerPic": null, "titlePic": null, "vip": "2" }, { "id": "55942", "uid": "95654", "nicheng": "酷兒", "bookId": "31408", "content": "推", "insert_time": "2021-05-16 00:03:53", "jf": "21022", "mobile": "0920134043", "headerPic": "https://graph.facebook.com/v3.2/2344230432258673/picture?height=200&width=200&migration_overrides=%7Boctober_2012%3Atrue%7D", "titlePic": null, "vip": "2" } ], "page": "1", "pages": 124, "msg": "成功了", "status": true }