💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ 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']); } ~~~