cqpCow 8 месяцев назад
Родитель
Сommit
f0cbefb51f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Middleware/RequestLog.php

+ 1 - 1
app/Http/Middleware/RequestLog.php

@@ -33,7 +33,7 @@ class RequestLog
         }
         $params = $request->all();
         $uri = $request->path();
-        Log::channel('request')->info('request', ['param'=>json_encode($params),'ip' => $ip,'uri'=>$uri]);
+        Log::channel('request')->info('request', ['param'=>$params,'ip' => $ip,'uri'=>$uri]);
 
         $map = config("routemap.map");
         if($uri == 'api/login'){