Browse Source

Merge branch 'master' of http://git.liuniu946.com/Kirin/mccs

zxhxx 2 years ago
parent
commit
5344a2a3af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/model/system/SystemMenus.php

+ 1 - 0
app/admin/model/system/SystemMenus.php

@@ -117,6 +117,7 @@ class SystemMenus extends BaseModel
     {
         $res = SystemRole::where('id', 'IN', $rules)->field('GROUP_CONCAT(rules) as ids')->find();
         $ruleList = self::where('id', 'IN', $res['ids'])->whereOr('pid', 0)->order('sort DESC')->select();
+        dump($ruleList->toArray());
         return self::tidyMenuTier(false, $ruleList);
     }