toArray(); else $cateInfo = []; array_unshift($cateInfo,['id'=>0,'title'=>'热门']); return app('json')->successful($cateInfo); } }