跳转到内容

论坛的内容调取与修改发布点赞接口

下面这个是贴子列表的调取接口

gethttps://x1.php168.com/index.php/bbs/wxapp.index.html 调试

typestringstar 代表只取推荐的,hot 按浏览量排序 new按提交日期排序 reply 按最新回复排序
fidstring可以指定栏目,会把子栏目的内容也一起取出来。不设置,则所有栏目
rowsstring默认是10,代表每页取10条
nofidstring排序哪些栏目的内容,多个用半角逗号隔开,比如 1,5,9
midstring指定哪个模型的数据,默认是模型1,如果指定了具体栏目 fid 的话,这个设置就不生效了。可以不设置
ext_sysstring指定关联频道,比如只获取关联圈子的数据,可以是频道id也可以是频道目录名
ext_idstring指定关联频道的主题id,比如只获取关联具体某个圈子的数据,即圈子的id

successerror


下面这个是某个贴子内容调取接口

gethttps://x1.php168.com/index.php/bbs/wxapp.show.html 调试

idstringrequired主题ID

successerror


下面这个是某个贴子点赞接口

gethttps://x1.php168.com/index.php/bbs/wxapp.post/agree.html 调试

idstringrequired贴子ID

successerror


下面这个是对删除内容主题的接口

gethttps://x1.php168.com/index.php/bbs/wxapp.post/delete.html 调试

idstringrequired主题id

successerror


下面这个是对修改内容主题的接口

gethttps://x1.php168.com/index.php/bbs/wxapp.post/edit.html 调试

idstringrequired主题id
titlestring标题
contentstring内容
picurlstring封面图
mvurlstring视频地址

successerror


下面这个是新发布贴子主题的接口

gethttps://x1.php168.com/index.php/bbs/wxapp.post/edit.html 调试

titlestringrequired标题
contentstringrequired内容
picurlstring封面图
mvurlstring视频地址

successerror