🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] get:/user/comments *string:object_id=默认值#内容ID *string:user_id=默认值#用户_id *string:type=默认值#1评论2同问 page#分页查询 [可选]如:2,3 <<< success { "code": 1, "msg": "评论获取成功!", "data":{ "datas":[ { "id": 34, "user_id": 9, "object_id": 37, "content": "真的吗吧哈哈哈", "create_time": "1天前", "user_nickname": "深讯全栈🍎", "avatar": "http:\/\/wx.qlogo.cn\/mmopen\/vi_32\/Q0j4TwGTfTLEicNmOLoDZia2AuxLWXz9ZMK5CZEkFlAPa9rq2MOyu86G01QZTVtHDrsE3GLODsiaQjkr9dDVgGpgg\/0", "floor": 2, "support_count": 1, "is_support": 0, "child_item": [ { "id": 40, "user_id": 1, "object_id": 37, "content": "122222222222222222222222", "create_time": "2017-10-14 11:12:07", "user_nickname": "admin", "avatar": "" } ] } ] } } <<< error { "code":0, "msg":"", "data":"" } ~~~