diff --git a/application/admin/controller/Item.php b/application/admin/controller/Item.php index f841937..16c47e2 100644 --- a/application/admin/controller/Item.php +++ b/application/admin/controller/Item.php @@ -93,7 +93,7 @@ class Item extends Backend if (false === $this->request->isPost()) { // 必须将结果集转换为数组 $ruleList = \think\Db::name("item") - ->where('pid',0) +// ->where('pid',0) ->field('id,pid,level,title,key_word') ->order('sort DESC,id ASC')->select(); @@ -187,7 +187,7 @@ class Item extends Backend if (false === $this->request->isPost()) { // 必须将结果集转换为数组 $ruleList = \think\Db::name("item") - ->where('pid',0) +// ->where('pid',0) ->field('id,pid,level,title,key_word') ->order('sort DESC,id ASC')->select();