多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
r**1.接口地址**:http://api.zishahui.vip/resource-comment/comment-list **2.支持格式**:json **3.请求方式**:post **4.请求参数**: |名称|类型|说明| |---|:---:|--:|--:| |resource_id|int|资源ID| |page|int|页码| |limit|int|每页显示条数(默认10)| ***5.返回字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |code|int|返回码| |msg|string|返回提示信息| |data|string|返回数据| |type|int|1代表首次回复| *******成功示列******* { "code": 1, "msg": "返回成功", "data": [ { "id": "295", "reply_id": "0", "received_uid": "2", "user_id": "8", "resource_id": "1", "content": "好有道理的样子!!棒棒的!嗷嗷", "status": "1", "create_time": 1536995192, "update_time": null, "u_icon_path": "http://api.zishahui.vip/upload/userHead/8/69218ce43ce2d846676c081e13956980.png", "u_nick_name": "沐辰", "reply": [ { "id": "296", "reply_id": "295", "received_uid": "8", "user_id": "59", "resource_id": "1", "content": "哈哈哈", "status": "1", "create_time": "2018-09-15 15:10:01", "update_time": null, "u_nick_name": "图KKK哦里咯啦咯", "received_nick_name": "沐辰", "type": 1 } ] }, { "id": "294", "reply_id": "0", "received_uid": "2", "user_id": "8", "resource_id": "1", "content": "好有道理的样子!!棒棒的!", "status": "1", "create_time": 1536995037, "update_time": null, "u_icon_path": "http://api.zishahui.vip/upload/userHead/8/69218ce43ce2d846676c081e13956980.png", "u_nick_name": "沐辰" } ], "has_next": false } *******失败******* { "code": -1, "msg": "缺少参数!", "data": [] }