企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 论坛分类获取 ~~~[api] post:Doctor&m=Forum&a=forum_cate <<< success { "code": 1, "message": "分类获取成功!", "info": [ { "id": //分类ID, "title": //分类名称, "lower": [ //下级分类 { "id": //分类ID "title": //分类名称, } ] } ] } <<< error { "code": 2, "message": "暂无数据", } ~~~ ## 论坛分类获取 ~~~[api] post:Doctor&m=Forum&a=forum_list p#第几页 limit#截取几条 setting_id#分类 <<< success { "code": 1, "message": "success", "info": [ { "id": //论坛id, "setting_id": //分类ID, "title": //论坛标题, "user_id": //用户ID, "item_thumb": //图片, "video": //视频, "audio": //音频, "content": //内容, "type"://类型 1:图文 2:视频 3:音频, "create_time": 发布时间, "head_img"://发布人头像, "user_name": //发布人名字, "praise_count": //点赞数量, "collection_count": //收藏数量, "share_count": //分享数量 } ] } <<< error { "code": 2, "message": "暂无数据", } ~~~ ## 论坛详情 ~~~[api] post:Doctor&m=Forum&a=forum_details id#论坛id <<< success { "code": 1, "message": "success", "info": { "id": //论坛id, "setting_id": //分类ID, "title": //论坛标题, "user_id": //用户ID, "item_thumb": //图片, "video": //视频, "audio": //音频, "content": //内容, "type"://论坛类型 1:图文 2:视频 3:音频 "create_time": 发布时间, "status"://状态,0-隐藏,1-显示 } } <<< error { "code": 2, "message": "暂无数据", }