Kirin 1 rok pred
rodič
commit
fb7678b37a

+ 2 - 0
app/services/system/SystemMenusServices.php

@@ -84,6 +84,8 @@ class SystemMenusServices extends BaseServices
             $rulesStr = Arr::unique($rules);
         }
         $menusList = $this->dao->getMenusRoule(['type' => $type, 'route' => $level ? $rulesStr : '']);
+        var_dump($menusList);
+        var_dump($this->getMenusData($menusList, $type));
         $unique = $this->dao->getMenusUnique(['type' => $type, 'unique' => $level ? $rulesStr : '']);
         return [Arr::getMenuIviewList($this->getMenusData($menusList, $type)), $unique];
     }