add clear

This commit is contained in:
as2252258@163.com
2019-07-17 17:27:31 +08:00
parent 9c6b01fc94
commit 2c711e5480
6 changed files with 57 additions and 35 deletions
+3 -3
View File
@@ -171,11 +171,11 @@ class WxClient
}
switch (strtolower($this->method)) {
case self::POST:
$client->post($url, $data);
case self::GET:
$client->get($url);
break;
default:
$client->get($url);
$client->post($url, $data);
}
return $client;
}