/** * 网址分类 * * @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.app.index', ['all_app' => AppModel::getAllApp(), 'all_category' => AppModel::getAllCategory(), 'title' => '应用', 'keywords' => '应用', 'description' => '应用']); }