改名
This commit is contained in:
@@ -135,6 +135,9 @@ class Curl extends ClientAbstracts
|
||||
*/
|
||||
private function execute($curl): Result|bool|array|string
|
||||
{
|
||||
defer(function () {
|
||||
$this->cleanData();
|
||||
});
|
||||
$output = curl_exec($curl);
|
||||
if ($output === false) {
|
||||
return $this->fail(400, curl_error($curl));
|
||||
|
||||
Reference in New Issue
Block a user