!83 提交两个hook

* 增加
This commit is contained in:
what_村长 2023-04-13 07:05:02 +00:00 committed by Edward Yang
parent 5c99565d69
commit 6e1b2a4347
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class PageCategoryController extends Controller
'active_page_categories' => PageCategoryRepo::getActiveList(),
'active_pages' => PageRepo::getCategoryPages(),
];
$data = hook_filter('page_categories.home.data', $data);
return view('page_categories/home', $data);
}
@ -45,7 +45,7 @@ class PageCategoryController extends Controller
'breadcrumb' => $breadCrumb,
'category_pages' => $pageCategory->pages()->paginate(12),
];
$data = hook_filter('page_categories.show.data', $data);
return view('page_categories/show', $data);
}
}