add clear

This commit is contained in:
as2252258@163.com
2020-03-09 16:01:10 +08:00
parent 347a67ffc5
commit ef89db4c65
+3
View File
@@ -578,6 +578,9 @@ class HttpClient
$this->setHeaders([]); $this->setHeaders([]);
if ($this->callback !== NULL) { if ($this->callback !== NULL) {
var_dump($_data);exit;
$result = call_user_func($this->callback, $body, $_data, $header); $result = call_user_func($this->callback, $body, $_data, $header);
$this->setCallback(null); $this->setCallback(null);