|
|
@@ -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);
|