作者 lyh

gx

@@ -69,6 +69,7 @@ class LoginAuthMiddleware @@ -69,6 +69,7 @@ class LoginAuthMiddleware
69 $menu_id = $menuModel->read(['route_name'=>$action],['id']); 69 $menu_id = $menuModel->read(['route_name'=>$action],['id']);
70 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id, true) . PHP_EOL, FILE_APPEND); 70 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id, true) . PHP_EOL, FILE_APPEND);
71 if($menu_id !== false){ 71 if($menu_id !== false){
  72 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('ceshi', true) . PHP_EOL, FILE_APPEND);
72 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($groupInfo['rights'], true) . PHP_EOL, FILE_APPEND); 73 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($groupInfo['rights'], true) . PHP_EOL, FILE_APPEND);
73 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id['id'], true) . PHP_EOL, FILE_APPEND); 74 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id['id'], true) . PHP_EOL, FILE_APPEND);
74 if(strpos(','.$groupInfo['rights'].',', ','.$menu_id['id'].',') === false){ 75 if(strpos(','.$groupInfo['rights'].',', ','.$menu_id['id'].',') === false){