add clear

This commit is contained in:
as2252258@163.com
2019-09-19 19:04:43 +08:00
parent d605600657
commit f2dc33fca4
3 changed files with 30 additions and 4 deletions
+11
View File
@@ -91,4 +91,15 @@ class Wx
{
return Notify::getInstance($this->config);
}
/**
* @return WxClient
*/
public function getClient()
{
$client = WxClient::getInstance();
$client->setAgent($this->config->getAgent());
return $client;
}
}