cqp 2 주 전
부모
커밋
143caca01e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);