💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/article/comments` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |num|否|string|每页显示的条数|10| |p|否|string|当前页码|-| |article_id|是|string|文章id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "total": 4, "current": 1, "pagesize": "2", "totalpage": 2, "list": [ { "id": 1, "model": "article", "user_id": "1033145770571779510", "nickname": "只是一支兰州", "face": "http://k12.12xue.com/Common/images/face/big/online_parent_1.jpg", "article_id": 6, "pid": 0, "pids": null, "content": "感动", "client_ip": null, "create_time": 1470622103, "update_time": 1470622103, "status": 1 }, { "id": 8, "model": "article", "user_id": "1033145152871732820", "nickname": "jljz001", "face": "http://cloud-ftp.12xue.com/avatar/1033145152871732820/big.jpg", "article_id": 6, "pid": 0, "pids": null, "content": "母爱最伟大", "client_ip": null, "create_time": 1470619063, "update_time": 1470619063, "status": 1 } ] } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-17 15:07:26 * * * * *