作者 lyh

gx

... ... @@ -67,6 +67,7 @@ class LoginAuthMiddleware
public function viewOperateAuth($groupInfo,$action){
$menuModel = new Menu();
$menu_id = $menuModel->read(['route_name'=>$action],['id']);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id, true) . PHP_EOL, FILE_APPEND);
if($menu_id !== false){
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($groupInfo['rights'], true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($menu_id['id'], true) . PHP_EOL, FILE_APPEND);
... ...