|
...
|
...
|
@@ -49,6 +49,7 @@ class CNoticeController extends BaseController |
|
|
|
$this->updateMinorLanguages();
|
|
|
|
}
|
|
|
|
$urlStr = $this->getString($this->param['type'],$this->param['page']);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($urlStr, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->curlGet($urlStr);
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
...
|
...
|
@@ -146,7 +147,7 @@ class CNoticeController extends BaseController |
|
|
|
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
|
|
|
CURLOPT_CUSTOMREQUEST => 'GET',
|
|
|
|
));
|
|
|
|
$response = curl_exec($curl);
|
|
|
|
curl_exec($curl);
|
|
|
|
curl_close($curl);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|