Wang Chen 4 vuotta sitten
vanhempi
commit
197c078444
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      app/Modules/Report/Services/ReportService.php

+ 2 - 2
app/Modules/Report/Services/ReportService.php

@@ -125,10 +125,10 @@ class ReportService
             ],
             'json'    => $data
         ]);
-        $status      = $result->getStatusCode();
+        $statusCode  = $result->getStatusCode();
         $contentJson = $result->getBody()->getContents();
         $contentArr  = json_decode($contentJson, true);
-        myLog('report')->info($uri, compact('url', 'data', 'status', 'contentArr'));
+        myLog('report')->info($uri, compact('data', 'statusCode', 'contentArr'));
 
         return $contentArr;
     }