## 示例 接口名称:最新回答 接口地址:域名/index.php?m=api&c=user&a=getAnswers 请求方式:GET 数据类型:JSON 响应类型:JSON 请求参数: | 参数名称 | 是否必须 | 类型 | 默认值 | 描述 | | --- | --- | --- | --- | --- | | uid | 是 | int | | 用户id | | page_size | 是 | int | | 每页数量 | | current_page | 是 | int | | 当前页码 | 响应数据: | 参数名称 | 是否必须 | 类型 | 默认值 | 描述 | | --- | --- | --- | --- | --- | | message | 是 | string | | 返回信息 | | code | 是 | int | | 状态码 | | data | 是 | array | | 返回插入成功的id或false | | --pagination | 是 | array | | 分页数据 | | ---- total | 是 | int | | 总数量 | | ---- page_count | 是 | int | | 分页数量 | | ---- page_size | 是 | int | | 每页数量 | | ---- current_page | 是 | int | | 当前页码 | | --list | 是 | array | | 查询数据列表 | 成功响应示列: ~~~ { "code": 1001, "message": "响应成功", "data": { "list": [ { "id": "272", "uid": "390", "puid": "390", "reply_text": "123123", "create_time": "1517728098", "top": "0", "thumb_cnt": "0", "reid": "216", "change_time": null, "title": "666" }, { "id": "271", "uid": "390", "puid": "-1", "reply_text": "12312", "create_time": "1517728093", "top": "0", "thumb_cnt": "0", "reid": "216", "change_time": null, "title": "666" } ], "pagination": { "total": 2, "page_count": 1, "current_page": "1", "page_size": "10" } } } ~~~ 失败响应示列: ~~~ { "code": 2001, "message": "响应错误", "data": { "list": 0, "pagination": { "total": "0", "page_count": 0, "current_page": "1", "page_size": "4" } } } ~~~