add clear
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ class WxClient
|
|||||||
|
|
||||||
$client = $this->getClient($this->getHostPort(), $url, $data);
|
$client = $this->getClient($this->getHostPort(), $url, $data);
|
||||||
if ($client->statusCode < 0) {
|
if ($client->statusCode < 0) {
|
||||||
throw new \Exception('连接错误!');
|
throw new \Exception($client->errMsg);
|
||||||
}
|
}
|
||||||
$body = $client->body;
|
$body = $client->body;
|
||||||
$client->close();
|
$client->close();
|
||||||
|
|||||||
Reference in New Issue
Block a user