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