cqp hai 2 semanas
pai
achega
143caca01e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Service/TestService.php

+ 1 - 1
app/Service/TestService.php

@@ -480,7 +480,7 @@ class TestService extends Service
 
     //-----------------------------------朗峰u8-----
     public function post_helper($url, $data, $header = [], $timeout = 20, $title = ""){
-        Log::channel('apiLog')->info($title . 'POST', ["api" => $url , "param" => $data ,"header" => $header]);
+        Log::channel('apiLog')->info($title . 'POST', ["api" => $url , "param" => json_decode($data,true) ,"header" => $header]);
 
         $ch = curl_init();
         curl_setopt($ch, CURLOPT_URL, $url);