/**
  * 网址分类详细列表
  *
  * @return Response
  * @author yangyifan <*****@*****.**>
  */
 public function getInfo(Request $request, $cat_id)
 {
     return view('home.index.info', ['all_site' => IndexModel::getCategorySite((int) $cat_id), 'title' => '网址分类', 'keywords' => '网址分类', 'description' => '网址分类']);
 }
 /**
  * 获得搜索页面展示网站分类
  *
  * @author yangyifan <*****@*****.**>
  * @return mixed
  */
 public static function getSite()
 {
     return IndexModel::mergeData(DB::table('site_cat')->where('status', '=', '1')->where('is_show_search', '=', 1)->orderBy('sort', 'ASC')->paginate(config('config.page_limit')));
 }
 /**
  * 网址首页
  *
  * @return Response
  * @auther yangyifan <*****@*****.**>
  */
 public function getIndex()
 {
     return view('home.index.index', ['all_site' => IndexModel::getAllSite()]);
 }
 /**
  * 好友管理
  *
  * @return Response
  * @author yangyifan <*****@*****.**>
  */
 public function getIndex()
 {
     return view('user.user.index', ['all_site' => IndexModel::getAllSite(), 'title' => '会员-好友管理', 'keywords' => '会员-好友管理', 'description' => '会员-好友管理']);
 }