修改后台主页

This commit is contained in:
2020-09-11 16:28:21 +08:00
parent 49c3511dbe
commit a9e6d9af8c
2 changed files with 13 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ class CategoryController extends Controller
{
if ($category->type == Category::TYPE_SHOW) {
if ($category->relations) {
return route('article.show', $category->relations);
return redirect(route('article.show', $category->relations));
}
}
$parent = getTopCate($category->id);