作者 lyh

gx

@@ -36,6 +36,8 @@ class Group extends Base @@ -36,6 +36,8 @@ class Group extends Base
36 return []; 36 return [];
37 } 37 }
38 $routes = Menu::where(['status' => Menu::STATUS_NORMAL])->whereIn('id', $group->rights)->pluck('route_name')->toArray(); 38 $routes = Menu::where(['status' => Menu::STATUS_NORMAL])->whereIn('id', $group->rights)->pluck('route_name')->toArray();
  39 + var_dump($routes);
  40 + die();
39 return array_filter($routes); 41 return array_filter($routes);
40 } 42 }
41 43