瀏覽代碼

更改默认文章分类

linwu 2 年之前
父節點
當前提交
53bf2194d3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/Web/Content/ArticleController.php

+ 1 - 1
app/Http/Controllers/Web/Content/ArticleController.php

@@ -32,7 +32,7 @@ class ArticleController extends WebBaseController
         $this->navigationService      = $navigationService;
     }
 
-    public function index(Request $request, $id = '1', $num = '8', $focus = '3', $recommend = '4', $other_num = '5')
+    public function index(Request $request, $id = '59', $num = '8', $focus = '3', $recommend = '4', $other_num = '5')
     {
         $key       = $request->input('key');
         $categorys = $this->articleCategoryService->getChildCategorys($id, $num);