소스 검색

版本大修改

cqp 2 달 전
부모
커밋
d550a6ddd6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/Http/Middleware/RequestLog.php

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

@@ -31,7 +31,9 @@ class RequestLog
             $ip = '0.0.0.0';
         }
         $params = $request->all();
-        Log::channel('request')->info('request', ['param'=>$params,'ip' => $ip,'uri'=>$request->path()]);
+        if($request->path() != 'api/reportRemainList'){
+            Log::channel('request')->info('request', ['param'=>$params,'ip' => $ip,'uri'=>$request->path()]);
+        }
 
         return $next($request);
     }