ZxcZxc123 2 years ago
parent
commit
4d95a74c0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/system/controller/EducationController.php

+ 1 - 1
app/system/controller/EducationController.php

@@ -23,7 +23,7 @@ class EducationController
             ->order('sort', 'asc')
             ->column('id,pid,name,sort', 'id');
 
-        $tree = array(); //格式化好的树
+        $tree = []; //格式化好的树
         foreach ($items as $key => $item) {
             $items[$key]['oriName'] = $item['name'];
             if (isset($items[$item['pid']])) {