cqpCow 8 tháng trước cách đây
mục cha
commit
f0cbefb51f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'){