企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**1.接口地址**:http://api.zishahui.vip/user-resources/focus-list **2.支持格式**:json **3.请求方式**:post **4.请求参数**: | 参数 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | user_id |是 | int | 用户ID| | page |否 | int | 页码| | limit |否 | int | 获取多少条| ***5.返回字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |code|int|返回码| |msg|string|返回提示信息| |data|string|返回数据| ***5.data字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |nick_name|int|用户名称| |icon_path|string|头像| |id|string|文章或动态ID| |title|string|标题| |role|int|1代表普通用户,2代表认证用户| |content|string|文章内容| |visit_count|string|浏览量| |resources_type|int|1为动态,2为文章,3视屏,4资讯| |create_time|string|创建时间| |status|int|-1代表有关注的用户但是还未发布动态,-2代表尚未关注用户| *******成功示列******* { "code": 1, "msg": "返回成功", "data": [ { "id": "33", "user_id": "68", "title": null, "status": "1", "role": "2", "content": "紫砂", "images": [ "http://api.zishahui.vip/upload/dynamic/20180719/147a27073eea46cbfdc80704bbdd6621.png" ], "visit_count": "7", "comment_count": "0", "praise_count": "0", "resources_type": "1", "create_time": 1531979944, "nick_name": "Uui嘻嘻嘻", "icon_path": "http://api.zishahui.vip/upload/userHead/68/ed60a47847eda6d7c40ca10d3474bf82.png" }, { "id": "31", "user_id": "8", "title": "猪猪", "status": "0", "content": "紫砂", "role": "1", "images": null, "visit_count": "7", "comment_count": "0", "praise_count": "0", "resources_type": "2", "create_time": 1531979200, "nick_name": "沐辰", "icon_path": "http://api.zishahui.vip/upload/userHead/8/c17dfec83b8f55e5f01335a79eb6d436.png" } ], "has_next": false } { "code": 1, "msg": "返回成功", "data": [], "status": -1 } { "code": 1, "msg": "返回成功", "data": [], "status": -2 } *******获取失败******* { "code": -1, "msg": "发布失败!", "data": [] } { "code": -1, "msg": "缺少参数!", "data": [] }