~~~
public function getCateList()
{
set_time_limit(0);
$limit = I('limit', 10, 'intval');
$lastid = I('lastid', 0, 'intval');
if($lastid>0){
$map['id'] = array('lt', $lastid);
}
$list = M('weiba_category')->where($map)->order('id desc')->field('id, name,logo,token,isshow')->limit($limit)->select();
foreach ($list as &$vo) {
//$vo['name'] = true;
//$vo['logo'] = '';
//$vo['img'] = get_cover_url($vo['img']);
//$vo['cTime'] = time_format($vo['cTime']);
}
~~~
- 示例
- 互动社区
- DuoguanUser/Api/getShareInfo.html
- getCateList.html请求板块列表
- getPostList
- postInfo.html
- checkManage.html
- bbsPost.html
- imgUpload.html
- replyAdd.html
- replyList.html
- postXihuan.html
- postReport.html
- postDel.html
- getGongGaoId.html
- editUserInfo.html
- DuoguganUser/Api/getUserInfo.html
- DuoguanUser/Api/getUserMenuList.html
- home/weixin/slogin
- 互动社区前台与后台交互api
- 常用函数
- 每日遗留问题
- 更新日志