企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~ 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']); } ~~~