/** * 网址分类 * * @return Response * @author yangyifan <*****@*****.**> */ public function getCategory(Request $request) { return view('home.index.category', ['all_site_category' => IndexModel::getAllCategory(), 'all_app_category' => AppModel::getAllCategory(), 'app_query_category' => QueryModel::getAllCategory(), 'title' => '网址分类', 'keywords' => '网址分类', 'description' => '网址分类']); }
/** * 网址首页 * * @return Response * @author yangyifan <*****@*****.**> */ public function getIndex() { return view('home.query.index', ['all_query' => QueryModel::getAll(), 'title' => '查询工具', 'keywords' => '查询工具', 'description' => '查询工具']); }