add clear

This commit is contained in:
as2252258@163.com
2019-08-21 13:20:56 +08:00
parent 8e27dc41e5
commit cf52645c42
+1 -1
View File
@@ -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();