cqpCow 8 months ago
parent
commit
f0cbefb51f
1 changed files with 1 additions and 1 deletions
  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'){