Browse Source

分类列表获取子栏目bug修复

Home 4 years ago
parent
commit
937ec22020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Category.php

+ 1 - 1
app/admin/controller/Category.php

@@ -17,7 +17,7 @@ class Category extends AdminBase
      */
     public function index()
     {
-        $pid = input('param.id', 0, 'intval');
+        $pid = input('param.pid', 0, 'intval');
         $data = [
             "pid" => $pid
         ];