|
...
|
...
|
@@ -146,9 +146,10 @@ class CNoticeController extends BaseController |
|
|
|
CURLOPT_FOLLOWLOCATION => true,
|
|
|
|
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
|
|
|
CURLOPT_CUSTOMREQUEST => 'GET',
|
|
|
|
CURLOPT_HTTPHEADER => ["charset=utf-8"]
|
|
|
|
CURLOPT_HTTPHEADER => []
|
|
|
|
));
|
|
|
|
$response = curl_exec($curl);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($response, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
curl_close($curl);
|
|
|
|
return $response;
|
|
|
|
}
|
...
|
...
|
|