|
@@ -46,7 +46,7 @@ function http($url, $param, $isCheck = true, $method = 'post')
|
|
|
$client = new \GuzzleHttp\Client();
|
|
|
$response = $client->request($method, $url, $param);
|
|
|
$result = json_decode($response->getBody()->getContents(), true);
|
|
|
- \Illuminate\Support\Facades\Log::debug('response:'.json_encode($result));
|
|
|
+ \Illuminate\Support\Facades\Log::debug('url:'.$url.'param:'.json_encode($param).'response:'.json_encode($result));
|
|
|
if ($isCheck == true) {
|
|
|
if ($result['code'] == 0) {
|
|
|
return $result['data'];
|