Kirin 2 éve
szülő
commit
92c0eb630b
1 módosított fájl, 0 hozzáadás és 3 törlés
  1. 0 3
      application/common/model/Category.php

+ 0 - 3
application/common/model/Category.php

@@ -2,7 +2,6 @@
 
 namespace app\common\model;
 
-use fast\Tree;
 use think\Model;
 
 /**
@@ -96,8 +95,6 @@ class Category extends Model
                 $query->where('cid', '=', 0);
             })->order('weigh', 'desc')->select())->toArray();
         }
-
-        $list = Tree::instance()->init($list, 'pid')->getTreeList(Tree::instance()->getTreeArray(0), 'name');
         return $list;
     }
 }