add clear

This commit is contained in:
as2252258@163.com
2019-08-21 12:13:02 +08:00
parent 5202270073
commit 8e27dc41e5
+2 -1
View File
@@ -141,7 +141,8 @@ class WxClient
*/
private function getHostIp()
{
return array_shift(\Co::getAddrInfo($this->host));
$host = \Co::getAddrInfo($this->host);
return array_shift($host);
}
/**